From 5e6585e1ddd9beacc66c02b41014e984b7d05a59 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Wed, 17 Jan 2024 12:28:58 -0500 Subject: [PATCH] dua-cli: update to 2.27.0 --- ...yData-size-test-passes-on-32-bit-197.patch | 33 ------------------- srcpkgs/dua-cli/template | 4 +-- 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/dua-cli/patches/0001-fix-EntryData-size-test-passes-on-32-bit-197.patch diff --git a/srcpkgs/dua-cli/patches/0001-fix-EntryData-size-test-passes-on-32-bit-197.patch b/srcpkgs/dua-cli/patches/0001-fix-EntryData-size-test-passes-on-32-bit-197.patch deleted file mode 100644 index 9a7154e097522..0000000000000 --- a/srcpkgs/dua-cli/patches/0001-fix-EntryData-size-test-passes-on-32-bit-197.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 392e808ebae97faecdaadf044c7ebd112b82cc94 Mon Sep 17 00:00:00 2001 -From: cinerea0 -Date: Mon, 11 Dec 2023 14:51:53 -0500 -Subject: [PATCH] fix: EntryData size test passes on 32-bit (#197) - -EntryData doesn't need to be exactly 80 to test memory consumption, just -less than it. ---- - src/traverse.rs | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/traverse.rs b/src/traverse.rs -index 157ce2c..b2c8724 100644 ---- a/src/traverse.rs -+++ b/src/traverse.rs -@@ -312,10 +312,10 @@ mod tests { - - #[test] - fn size_of_entry_data() { -- assert_eq!( -- std::mem::size_of::(), -- 80, -- "the size of this should not change unexpectedly as it affects overall memory consumption" -+ assert!( -+ std::mem::size_of::() <= 80, -+ "the size of this ({}) should not exceed 80 as it affects overall memory consumption", -+ std::mem::size_of::() - ); - } - } --- -2.43.0 - diff --git a/srcpkgs/dua-cli/template b/srcpkgs/dua-cli/template index 1be4fd8325d4c..ec4ebab3fe54a 100644 --- a/srcpkgs/dua-cli/template +++ b/srcpkgs/dua-cli/template @@ -1,6 +1,6 @@ # Template file for 'dua-cli' pkgname=dua-cli -version=2.23.0 +version=2.27.0 revision=1 build_style=cargo short_desc="Tool to conveniently learn about the disk usage of directories" @@ -9,7 +9,7 @@ license="MIT" homepage="https://github.com/Byron/dua-cli" changelog="https://raw.githubusercontent.com/Byron/dua-cli/main/CHANGELOG.md" distfiles="https://github.com/Byron/dua-cli/archive/refs/tags/v${version}.tar.gz" -checksum=61f6fd0c13949d23224d9776c2fd444956d73dd363501e867cf11df6ca89ddfa +checksum=505f41f9628a5a305d9f713da4adbe972fdf40fb810b327a6fb5dcd3998c7bd5 post_install() { vlicense LICENSE