aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewis Cook <lcook@FreeBSD.org>2021-07-14 23:01:12 +0000
committerLewis Cook <lcook@FreeBSD.org>2021-07-14 23:01:12 +0000
commita10410d03030ce3ec8487ca1510cfb2028d65f4a (patch)
tree8a0b6acf180f21a8d213aa1f9191399ac164fc5a
parent844ff65d25f5a9ebd016114a3b7e60eef9390d66 (diff)
downloadports-a10410d03030ce3ec8487ca1510cfb2028d65f4a.tar.gz
ports-a10410d03030ce3ec8487ca1510cfb2028d65f4a.zip
sysutils/dua-cli: Update to 2.14.2
-rw-r--r--sysutils/dua-cli/Makefile17
-rw-r--r--sysutils/dua-cli/distinfo34
-rw-r--r--sysutils/dua-cli/files/patch-Cargo.toml19
-rw-r--r--sysutils/dua-cli/files/patch-src_interactive_app_handlers.rs18
-rw-r--r--sysutils/dua-cli/files/patch-src_interactive_widgets_help.rs10
-rw-r--r--sysutils/dua-cli/files/patch-src_interactive_widgets_mark.rs34
6 files changed, 26 insertions, 106 deletions
diff --git a/sysutils/dua-cli/Makefile b/sysutils/dua-cli/Makefile
index 00558bdeda48..25810b25083f 100644
--- a/sysutils/dua-cli/Makefile
+++ b/sysutils/dua-cli/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dua-cli
DISTVERSIONPREFIX= v
-DISTVERSION= 2.14.1
+DISTVERSION= 2.14.2
CATEGORIES= sysutils
MAINTAINER= lcook@FreeBSD.org
@@ -14,7 +14,7 @@ USE_GITHUB= yes
GH_ACCOUNT= Byron
CARGO_CRATES= ansi_term-0.12.1 \
- anyhow-1.0.41 \
+ anyhow-1.0.42 \
atty-0.2.14 \
autocfg-1.0.1 \
bitflags-1.2.1 \
@@ -41,7 +41,7 @@ CARGO_CRATES= ansi_term-0.12.1 \
doc-comment-0.3.3 \
either-1.6.1 \
filesize-0.2.0 \
- fixedbitset-0.2.0 \
+ fixedbitset-0.4.0 \
form_urlencoded-1.0.1 \
glob-0.3.0 \
hashbrown-0.11.2 \
@@ -49,11 +49,11 @@ CARGO_CRATES= ansi_term-0.12.1 \
hermit-abi-0.1.19 \
idna-0.2.3 \
indexmap-1.7.0 \
- instant-0.1.9 \
+ instant-0.1.10 \
itertools-0.10.1 \
jwalk-0.6.0 \
lazy_static-1.4.0 \
- libc-0.2.97 \
+ libc-0.2.98 \
lock_api-0.4.4 \
log-0.4.14 \
malloc_buf-0.0.6 \
@@ -74,7 +74,7 @@ CARGO_CRATES= ansi_term-0.12.1 \
parking_lot-0.11.1 \
parking_lot_core-0.8.3 \
percent-encoding-2.1.0 \
- petgraph-0.5.1 \
+ petgraph-0.6.0 \
pretty_assertions-0.7.2 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
@@ -90,7 +90,7 @@ CARGO_CRATES= ansi_term-0.12.1 \
smallvec-1.6.1 \
strsim-0.10.0 \
syn-1.0.73 \
- sysinfo-0.19.0 \
+ sysinfo-0.19.1 \
termcolor-1.1.2 \
termion-1.5.6 \
textwrap-0.12.1 \
@@ -102,7 +102,7 @@ CARGO_CRATES= ansi_term-0.12.1 \
tui-react-0.15.0 \
unicode-bidi-0.3.5 \
unicode-normalization-0.1.19 \
- unicode-segmentation-1.7.1 \
+ unicode-segmentation-1.8.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.2 \
url-2.2.2 \
@@ -119,6 +119,7 @@ CARGO_CRATES= ansi_term-0.12.1 \
windows-0.8.0 \
windows_gen-0.8.0 \
windows_macros-0.8.0
+CARGO_FEATURES= --no-default-features tui-crossplatform
PLIST_FILES= bin/dua
PORTDOCS= README.md
diff --git a/sysutils/dua-cli/distinfo b/sysutils/dua-cli/distinfo
index 55b75dfdd62c..2a53a72a04e8 100644
--- a/sysutils/dua-cli/distinfo
+++ b/sysutils/dua-cli/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1626166227
+TIMESTAMP = 1626303253
SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2
SIZE (rust/crates/ansi_term-0.12.1.crate) = 24838
-SHA256 (rust/crates/anyhow-1.0.41.crate) = 15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61
-SIZE (rust/crates/anyhow-1.0.41.crate) = 34561
+SHA256 (rust/crates/anyhow-1.0.42.crate) = 595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486
+SIZE (rust/crates/anyhow-1.0.42.crate) = 34827
SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
SIZE (rust/crates/atty-0.2.14.crate) = 5470
SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
@@ -55,8 +55,8 @@ SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227
SIZE (rust/crates/either-1.6.1.crate) = 13641
SHA256 (rust/crates/filesize-0.2.0.crate) = 12d741e2415d4e2e5bd1c1d00409d1a8865a57892c2d689b504365655d237d43
SIZE (rust/crates/filesize-0.2.0.crate) = 5066
-SHA256 (rust/crates/fixedbitset-0.2.0.crate) = 37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d
-SIZE (rust/crates/fixedbitset-0.2.0.crate) = 13597
+SHA256 (rust/crates/fixedbitset-0.4.0.crate) = 398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e
+SIZE (rust/crates/fixedbitset-0.4.0.crate) = 15479
SHA256 (rust/crates/form_urlencoded-1.0.1.crate) = 5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191
SIZE (rust/crates/form_urlencoded-1.0.1.crate) = 8773
SHA256 (rust/crates/glob-0.3.0.crate) = 9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574
@@ -71,16 +71,16 @@ SHA256 (rust/crates/idna-0.2.3.crate) = 418a0a6fab821475f634efe3ccc45c013f742efe
SIZE (rust/crates/idna-0.2.3.crate) = 271023
SHA256 (rust/crates/indexmap-1.7.0.crate) = bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5
SIZE (rust/crates/indexmap-1.7.0.crate) = 50363
-SHA256 (rust/crates/instant-0.1.9.crate) = 61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec
-SIZE (rust/crates/instant-0.1.9.crate) = 5213
+SHA256 (rust/crates/instant-0.1.10.crate) = bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d
+SIZE (rust/crates/instant-0.1.10.crate) = 5218
SHA256 (rust/crates/itertools-0.10.1.crate) = 69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf
SIZE (rust/crates/itertools-0.10.1.crate) = 116219
SHA256 (rust/crates/jwalk-0.6.0.crate) = 172752e853a067cbce46427de8470ddf308af7fd8ceaf9b682ef31a5021b6bb9
SIZE (rust/crates/jwalk-0.6.0.crate) = 27419
SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
-SHA256 (rust/crates/libc-0.2.97.crate) = 12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6
-SIZE (rust/crates/libc-0.2.97.crate) = 517712
+SHA256 (rust/crates/libc-0.2.98.crate) = 320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790
+SIZE (rust/crates/libc-0.2.98.crate) = 522087
SHA256 (rust/crates/lock_api-0.4.4.crate) = 0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb
SIZE (rust/crates/lock_api-0.4.4.crate) = 20356
SHA256 (rust/crates/log-0.4.14.crate) = 51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710
@@ -121,8 +121,8 @@ SHA256 (rust/crates/parking_lot_core-0.8.3.crate) = fa7a782938e745763fe6907fc6ba
SIZE (rust/crates/parking_lot_core-0.8.3.crate) = 32147
SHA256 (rust/crates/percent-encoding-2.1.0.crate) = d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e
SIZE (rust/crates/percent-encoding-2.1.0.crate) = 9748
-SHA256 (rust/crates/petgraph-0.5.1.crate) = 467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7
-SIZE (rust/crates/petgraph-0.5.1.crate) = 147173
+SHA256 (rust/crates/petgraph-0.6.0.crate) = 4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f
+SIZE (rust/crates/petgraph-0.6.0.crate) = 182063
SHA256 (rust/crates/pretty_assertions-0.7.2.crate) = 1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b
SIZE (rust/crates/pretty_assertions-0.7.2.crate) = 79200
SHA256 (rust/crates/proc-macro-error-1.0.4.crate) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c
@@ -153,8 +153,8 @@ SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f0
SIZE (rust/crates/strsim-0.10.0.crate) = 11355
SHA256 (rust/crates/syn-1.0.73.crate) = f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7
SIZE (rust/crates/syn-1.0.73.crate) = 232706
-SHA256 (rust/crates/sysinfo-0.19.0.crate) = 41c72bb3368a39bb153f226d8dd426ee33d54bc31f44037c078391b4a0b8dc04
-SIZE (rust/crates/sysinfo-0.19.0.crate) = 97586
+SHA256 (rust/crates/sysinfo-0.19.1.crate) = a68b8aff80646f09ec11e59b56091a5278ee527d5baeca938f1a5dbd9a15a859
+SIZE (rust/crates/sysinfo-0.19.1.crate) = 97785
SHA256 (rust/crates/termcolor-1.1.2.crate) = 2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4
SIZE (rust/crates/termcolor-1.1.2.crate) = 17287
SHA256 (rust/crates/termion-1.5.6.crate) = 077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e
@@ -177,8 +177,8 @@ SHA256 (rust/crates/unicode-bidi-0.3.5.crate) = eeb8be209bb1c96b7c177c7420d26e04
SIZE (rust/crates/unicode-bidi-0.3.5.crate) = 33423
SHA256 (rust/crates/unicode-normalization-0.1.19.crate) = d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9
SIZE (rust/crates/unicode-normalization-0.1.19.crate) = 107353
-SHA256 (rust/crates/unicode-segmentation-1.7.1.crate) = bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796
-SIZE (rust/crates/unicode-segmentation-1.7.1.crate) = 93066
+SHA256 (rust/crates/unicode-segmentation-1.8.0.crate) = 8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b
+SIZE (rust/crates/unicode-segmentation-1.8.0.crate) = 94011
SHA256 (rust/crates/unicode-width-0.1.8.crate) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3
SIZE (rust/crates/unicode-width-0.1.8.crate) = 16732
SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3
@@ -211,5 +211,5 @@ SHA256 (rust/crates/windows_gen-0.8.0.crate) = b41030a241566acc784e1883355aebf4f
SIZE (rust/crates/windows_gen-0.8.0.crate) = 5828435
SHA256 (rust/crates/windows_macros-0.8.0.crate) = 25eb153f12764a88cd8f6898ba9b4b03b57704b26289a15c66495923d23e4208
SIZE (rust/crates/windows_macros-0.8.0.crate) = 6502
-SHA256 (Byron-dua-cli-v2.14.1_GH0.tar.gz) = 4eee5384a543c8b33e88438e5364ce063a41ea22f695366fcebc747cb9fee3e2
-SIZE (Byron-dua-cli-v2.14.1_GH0.tar.gz) = 59498
+SHA256 (Byron-dua-cli-v2.14.2_GH0.tar.gz) = 05e7c67d986369a8fc53237522c6f696357fb9f0fe5c823da601653fb5c5a1fa
+SIZE (Byron-dua-cli-v2.14.2_GH0.tar.gz) = 59776
diff --git a/sysutils/dua-cli/files/patch-Cargo.toml b/sysutils/dua-cli/files/patch-Cargo.toml
deleted file mode 100644
index cdc70ab4429a..000000000000
--- a/sysutils/dua-cli/files/patch-Cargo.toml
+++ /dev/null
@@ -1,19 +0,0 @@
---- Cargo.toml.orig 2021-06-29 23:43:34 UTC
-+++ Cargo.toml
-@@ -15,6 +15,7 @@ tui-unix = ["crosstermion/tui-react-termion", "tui-sha
- tui-crossplatform = ["crosstermion/tui-react-crossterm", "tui-shared"]
-
- tui-shared = ["tui", "tui-react", "open", "unicode-segmentation"]
-+trash-move = ["trash"]
-
- [dependencies]
- clap = "3.0.0-beta.2"
-@@ -27,7 +28,7 @@ num_cpus = "1.10.0"
- filesize = "0.2.0"
- anyhow = "1.0.31"
- colored = "2.0.0"
--trash = "2.0.1"
-+trash = { version = "2.0.1", optional = true }
-
- # 'tui' related
- unicode-segmentation = { version = "1.3.0", optional = true }
diff --git a/sysutils/dua-cli/files/patch-src_interactive_app_handlers.rs b/sysutils/dua-cli/files/patch-src_interactive_app_handlers.rs
deleted file mode 100644
index b6258c2d15e4..000000000000
--- a/sysutils/dua-cli/files/patch-src_interactive_app_handlers.rs
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/interactive/app/handlers.rs.orig 2021-06-29 23:43:34 UTC
-+++ src/interactive/app/handlers.rs
-@@ -229,6 +229,7 @@ impl AppState {
- self.message = None;
- res
- }
-+ #[cfg(feature = "trash-move")]
- Some(MarkMode::Trash) => {
- self.message = Some("Trashing entries...".to_string());
- let mut entries_trashed = 0;
-@@ -272,6 +273,7 @@ impl AppState {
- Ok(entries_deleted)
- }
-
-+ #[cfg(feature = "trash-move")]
- pub fn trash_entry(
- &mut self,
- index: TreeIndex,
diff --git a/sysutils/dua-cli/files/patch-src_interactive_widgets_help.rs b/sysutils/dua-cli/files/patch-src_interactive_widgets_help.rs
deleted file mode 100644
index ea6364e9328c..000000000000
--- a/sysutils/dua-cli/files/patch-src_interactive_widgets_help.rs
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/interactive/widgets/help.rs.orig 2021-06-29 23:43:34 UTC
-+++ src/interactive/widgets/help.rs
-@@ -168,6 +168,7 @@ impl HelpPane {
- "Permanently delete all marked entries without prompt!",
- Some("This operation cannot be undone!"),
- );
-+ #[cfg(feature = "trash-move")]
- hotkey(
- "Ctrl + t",
- "Move all marked entries to the trash bin",
diff --git a/sysutils/dua-cli/files/patch-src_interactive_widgets_mark.rs b/sysutils/dua-cli/files/patch-src_interactive_widgets_mark.rs
deleted file mode 100644
index 9330a7bbcab6..000000000000
--- a/sysutils/dua-cli/files/patch-src_interactive_widgets_mark.rs
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/interactive/widgets/mark.rs.orig 2021-06-29 23:43:34 UTC
-+++ src/interactive/widgets/mark.rs
-@@ -28,6 +28,7 @@ use unicode_segmentation::UnicodeSegmentation;
-
- pub enum MarkMode {
- Delete,
-+ #[cfg(feature = "trash-move")]
- Trash,
- }
-
-@@ -110,6 +111,7 @@ impl MarkPane {
- let action = None;
- match key {
- Ctrl('r') => return Some(self.prepare_deletion(MarkMode::Delete)),
-+ #[cfg(feature = "trash-move")]
- Ctrl('t') => return Some(self.prepare_deletion(MarkMode::Trash)),
- Char('x') | Char('d') | Char(' ') => {
- return self.remove_selected().map(|s| (s, action))
-@@ -360,6 +362,7 @@ impl MarkPane {
- sub_modifier: Modifier::empty(),
- };
- Paragraph::new(Text::from(Spans::from(vec![
-+ #[cfg(feature = "trash-move")]
- Span::styled(
- " Ctrl + t",
- Style {
-@@ -368,6 +371,7 @@ impl MarkPane {
- ..default_style
- },
- ),
-+ #[cfg(feature = "trash-move")]
- Span::styled(" to trash or ", default_style),
- Span::styled(
- " Ctrl + r",