summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-02 21:43:34 +0100
committerSam James <sam@gentoo.org>2023-04-02 21:43:45 +0100
commit3ab4177dc72cc2ddb9108f10b83b612bffd7604b (patch)
treef165b6764c44cf76f55a5fa8b7cb4661cd314c47 /sys-apps/uutils-findutils
parentsys-apps/uutils-coreutils: add 0.0.18 (diff)
downloadgentoo-3ab4177dc72cc2ddb9108f10b83b612bffd7604b.tar.gz
gentoo-3ab4177dc72cc2ddb9108f10b83b612bffd7604b.tar.bz2
gentoo-3ab4177dc72cc2ddb9108f10b83b612bffd7604b.zip
sys-apps/uutils-findutils: add 0.4.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/uutils-findutils')
-rw-r--r--sys-apps/uutils-findutils/Manifest3
-rw-r--r--sys-apps/uutils-findutils/uutils-findutils-0.4.0.ebuild214
-rw-r--r--sys-apps/uutils-findutils/uutils-findutils-9999.ebuild2
3 files changed, 219 insertions, 0 deletions
diff --git a/sys-apps/uutils-findutils/Manifest b/sys-apps/uutils-findutils/Manifest
index 0db2de0eeced..3ee9b4bb6dd3 100644
--- a/sys-apps/uutils-findutils/Manifest
+++ b/sys-apps/uutils-findutils/Manifest
@@ -1,6 +1,7 @@
DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f SHA512 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e SHA512 b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
DIST ansi_term-0.12.1.crate 24838 BLAKE2B f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791 SHA512 b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+DIST anstyle-0.3.5.crate 14272 BLAKE2B 15bb1487dd8c3d7864611d85f0ed277c9226f5f046ed6508ce1f933cfd38bba870af15fe3d238a0aaf104272be28dbb9d2f3a96e53bf28dddd14d0b4de173d52 SHA512 3075963236b4b7b94b98672481a82ad1ab9d219e583dc5646bc7ebfef35a7bbdcb38c9e12c770a51809fdc4fcc510e781875507446b36bc87a69e4a10e562709
DIST assert_cmd-2.0.8.crate 24347 BLAKE2B b69beb301a11e893ee1c7b59a08ac7860c16a598dc404d7bfd38b2554790898cfb82d1e602750e9b720b4122154e4da140c7b077645786f0a788796d5dafe272 SHA512 886d789af9fe7f8155d393e2742c7982d5c0bb8d44a09f66e5552faed2effcedd000d567f9f00e08ad6d7c17fac9374d7a234ba001f38c9cf444ee41dbe07428
DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f
@@ -70,6 +71,7 @@ DIST pin-project-lite-0.2.9.crate 27713 BLAKE2B d6985b5add432fb6287d1b0c9fb0cc91
DIST pin-utils-0.1.0.crate 7580 BLAKE2B 457e1287202f16d1873b24bf4f1de1828300128c4ba3131758e64f9784d36d47365f22d85493c3a85d854f0d8dbb4c6cef3a0f5b064014dc03943e58b7ba9178 SHA512 828422b8440cc82ac6b0743e0112fa7540d437aed457564999092b1462cd7672cd6b1f0201b67075431aeedd3d9c5127468a3dd028744109944f7f023c82fd70
DIST pkg-config-0.3.24.crate 16489 BLAKE2B d0bd099bcc39928b6758c22b14291f2dc4f4452c0837aeed8c3ff6086cdcf29518806e4f3f379804c998d752b717a26d5c0054c071c5f4c224a3e03cc6a3ee51 SHA512 be22c609b3d5a9a38bab1d30792cff397cc908f1c53fb2da68a9a7d1258e53ef64c1c5b26d840b0ed1d35b307c98ffb499c82e5796e88be0a6ecc0c6f3b5dbfb
DIST predicates-2.1.5.crate 24165 BLAKE2B a0eb1aa0f26d51140155b8b5e7141a253e298ac2197e59c7023ecc693d68cba01d645792c57467741ee074891438fba2f1439c79a4cef27f3d02eaec8f1d0b10 SHA512 d4b555d7f57ccec5788a957d4a3e130f5549a9333a47654baaef098bb284c64bd5c662677ba7e659b4563b3d0146914f1235e0caa2274af8787d9777141f4dd4
+DIST predicates-3.0.2.crate 22741 BLAKE2B b6b4835620e26f129d08f8a9158a7e29eaf835699e68c1bc47b43f70fcdd96b2eb1fddea9d5c59669ab465bc00c968a04b983acd1b7bdc89dd724210af7ed5aa SHA512 ab2d05d6596bba9cdb1e9723e591371cf1bc6d5f88fa7b6ee78ae847a678238130b2f0a4fb772434e7f88bde11da34f3b89afbd406bd684c737eb16fc94f6800
DIST predicates-core-1.0.1.crate 8186 BLAKE2B cef5cbdc252e3f953fb9417bd5a439f226f627b2ca6a9c537834ee8ee59cf3a252ad92ef5ee40f4e544e388757e5dba6b07b6807e95dd89eb35bf45f612d09b8 SHA512 3addfc4f6e3f549125eddc9f1aa11072e17f48909f53ce8e476ce783cc690c0b52a1fe6416d87816d8b558350fb8b4666adc6b79cff880956bf258f646459da0
DIST predicates-tree-1.0.1.crate 6355 BLAKE2B b79f756d9f1822a037c05a65f90cf01592ec6ba83bde2c44aa6fc8a3d476f9e4e3d0ac13afdcd3936b0d43244e8e7ab1eeaf0223cecc3f7941af96e44c45366f SHA512 f97f6e05b3edc1faf82931ab47541b3e459066e0f5181f77a4ab885e10bdce43f71021bf2c848993125a4feef13c3290a312a74ad1d2b4a2cb55fe7d24492a19
DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a
@@ -102,6 +104,7 @@ DIST unicode-width-0.1.9.crate 16745 BLAKE2B 38d4b92e47a284d6881a8073089be59a73d
DIST unicode-xid-0.2.1.crate 14392 BLAKE2B 7f8f91b9c4df55f2137b754208d4f2997a290acfc9393ee2dcda8195eda25cb342e56ad123f56bb298d93db5248a749c18a982423c9a0e85ce93f7a1eb55d289 SHA512 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
DIST uucore-0.0.12.crate 53735 BLAKE2B a534d8a5a1a1ad47d75d00ee120eefa765ba79e5e15650360aa3791d4bc8519cb43244c2435e43037d4df365eb48412e8b393901ff1cde96dba100ff45250cb9 SHA512 f3babbf88a3eda5b59986f57de5647b7181392ab567526b266c79ff96cdbd787d45e2d7035bbec1b3746b1a342c6061548c0e8806ceb2b53cafef572b7a00f5e
DIST uutils-findutils-0.3.0_p20230215.tar.gz 63963 BLAKE2B d8176b8bd154bce8d25fe665929cfd93760c2c11109f5ed79de334fee6e3b104bc6a8ffa6ebc0fb3ae7adfb5604cae4c0a6398a6ffc56b5e8e2c3d97ae0b7627 SHA512 05aa507ac6913e739fec51a792a2468a46e2cc1b84308b82e8c1dcc460fdcc133f69c49f72deb7f21d0742e74fd2247156fe970bfedc18a79fb9782f276351a8
+DIST uutils-findutils-0.4.0.tar.gz 64429 BLAKE2B a10d0114fa56312e2c2286ad6189b9a3f6b0eb601839debe71fa0b48885fd8ead2a27c643ff0b96fdc010439989460577ec0de29d2255b7f0cb26d866af3738c SHA512 38a26fa41834ee0b55e0bcfb2919a0243dc068fbb3c672ec33599f9c4f64aba939e6bc4f221616ee20ffb4252859a37229927fed9a5f5a6a73eb11c6e3c8b1f3
DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc8e1ef4e847648e2de08dece8c4debe92889edeccb8d393645fd0b62436b49d236ded7ad181c4a51239a9539 SHA512 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
DIST wait-timeout-0.2.0.crate 12441 BLAKE2B a99d3f57bc6e784ac06167f98b2dc2841f730dfab4fb9772b15e67707f756d6ba7daeb3e992d32291bed3daa85eaa8a8ddde64db5e1acf1cc4031fc9bdc82212 SHA512 db3b7aa2acfd44e64451042b8ba98eecab77a82aa5c58ed08dadb119ab36dee4e26d62baad7978ed56d5ad03019c96be5021455362290f56043981137bac8066
DIST walkdir-2.3.2.crate 23516 BLAKE2B 473f2b51aafd6ac17e5c3da8d545d179b31486b3a65ab39fbd8bd7fbb2ebcc24bebf01781200a26a68f0b1cb464f5763a919aead3b03eba5a7e1be6efec5500b SHA512 6c44071354faf37720ec4117ded34c8d530489542ee107ac26a7a56ef4a882b9003e22e84f1d61f6078643521343e35aa1f7b57c838779e78e5937a667bf82da
diff --git a/sys-apps/uutils-findutils/uutils-findutils-0.4.0.ebuild b/sys-apps/uutils-findutils/uutils-findutils-0.4.0.ebuild
new file mode 100644
index 000000000000..fddc99bae988
--- /dev/null
+++ b/sys-apps/uutils-findutils/uutils-findutils-0.4.0.ebuild
@@ -0,0 +1,214 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.6.2
+
+EAPI=8
+
+CRATES="
+ aho-corasick-0.7.18
+ android_system_properties-0.1.5
+ ansi_term-0.12.1
+ anstyle-0.3.5
+ assert_cmd-2.0.8
+ atty-0.2.14
+ autocfg-1.1.0
+ bindgen-0.59.2
+ bitflags-1.3.2
+ bstr-1.0.1
+ bumpalo-3.12.0
+ byteorder-1.4.2
+ cc-1.0.72
+ cexpr-0.6.0
+ cfg-if-1.0.0
+ chrono-0.4.23
+ clang-sys-1.3.0
+ clap-2.34.0
+ core-foundation-sys-0.8.3
+ dashmap-5.3.4
+ difflib-0.4.0
+ doc-comment-0.3.3
+ dunce-1.0.2
+ either-1.6.1
+ env_logger-0.9.0
+ faccess-0.2.4
+ fastrand-1.7.0
+ filetime-0.2.19
+ float-cmp-0.9.0
+ futures-0.3.21
+ futures-channel-0.3.21
+ futures-core-0.3.21
+ futures-executor-0.3.21
+ futures-io-0.3.21
+ futures-sink-0.3.21
+ futures-task-0.3.21
+ futures-util-0.3.21
+ glob-0.3.0
+ hashbrown-0.12.3
+ hermit-abi-0.1.19
+ humantime-2.1.0
+ iana-time-zone-0.1.47
+ instant-0.1.9
+ itertools-0.10.1
+ js-sys-0.3.59
+ lazy_static-1.4.0
+ lazycell-1.3.0
+ libc-0.2.137
+ libloading-0.7.2
+ lock_api-0.4.7
+ log-0.4.14
+ memchr-2.4.0
+ memoffset-0.6.5
+ memoffset-0.7.1
+ minimal-lexical-0.2.1
+ nix-0.23.1
+ nix-0.26.2
+ nom-7.1.1
+ normalize-line-endings-0.3.0
+ num-integer-0.1.44
+ num-traits-0.2.14
+ numtoa-0.1.0
+ once_cell-1.17.1
+ onig-6.4.0
+ onig_sys-69.8.1
+ os_display-0.1.2
+ parking_lot-0.12.1
+ parking_lot_core-0.9.3
+ peeking_take_while-0.1.2
+ pin-project-lite-0.2.9
+ pin-utils-0.1.0
+ pkg-config-0.3.24
+ predicates-2.1.5
+ predicates-3.0.2
+ predicates-core-1.0.1
+ predicates-tree-1.0.1
+ proc-macro2-1.0.36
+ quote-1.0.8
+ redox_syscall-0.2.10
+ redox_termios-0.1.2
+ regex-1.7.1
+ regex-automata-0.1.9
+ regex-syntax-0.6.27
+ remove_dir_all-0.5.3
+ rustc-hash-1.1.0
+ same-file-1.0.4
+ scopeguard-1.1.0
+ serde-1.0.147
+ serial_test-1.0.0
+ serial_test_derive-1.0.0
+ shlex-1.1.0
+ slab-0.4.6
+ smallvec-1.8.0
+ static_assertions-1.1.0
+ strsim-0.8.0
+ syn-1.0.94
+ tempfile-3.3.0
+ termcolor-1.0.5
+ termion-1.5.6
+ textwrap-0.11.0
+ time-0.1.43
+ treeline-0.1.0
+ unicode-width-0.1.9
+ unicode-xid-0.2.1
+ uucore-0.0.12
+ vec_map-0.8.2
+ wait-timeout-0.2.0
+ walkdir-2.3.2
+ wasm-bindgen-0.2.82
+ wasm-bindgen-backend-0.2.82
+ wasm-bindgen-macro-0.2.82
+ wasm-bindgen-macro-support-0.2.82
+ wasm-bindgen-shared-0.2.82
+ which-4.2.5
+ wild-2.0.4
+ winapi-0.3.9
+ winapi-i686-pc-windows-gnu-0.4.0
+ winapi-util-0.1.5
+ winapi-x86_64-pc-windows-gnu-0.4.0
+ wincolor-1.0.3
+ windows-sys-0.36.1
+ windows-sys-0.42.0
+ windows_aarch64_gnullvm-0.42.0
+ windows_aarch64_msvc-0.36.1
+ windows_aarch64_msvc-0.42.0
+ windows_i686_gnu-0.36.1
+ windows_i686_gnu-0.42.0
+ windows_i686_msvc-0.36.1
+ windows_i686_msvc-0.42.0
+ windows_x86_64_gnu-0.36.1
+ windows_x86_64_gnu-0.42.0
+ windows_x86_64_gnullvm-0.42.0
+ windows_x86_64_msvc-0.36.1
+ windows_x86_64_msvc-0.42.0
+"
+
+LLVM_MAX_SLOT=15
+inherit cargo llvm
+
+DESCRIPTION="GNU findutils rewritten in Rust"
+# https://uutils.github.io/user/ doesn't yet mention findutils
+HOMEPAGE="https://github.com/uutils/findutils"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/uutils/findutils"
+ inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+ FINDUTILS_COMMIT="59301c788aa610bd9b35d8715af72d87528d07dc"
+ SRC_URI="https://github.com/uutils/findutils/archive/${FINDUTILS_COMMIT}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+="
+ $(cargo_crate_uris)
+ "
+ S="${WORKDIR}"/findutils-${FINDUTILS_COMMIT}
+else
+ SRC_URI="https://github.com/uutils/findutils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+="
+ $(cargo_crate_uris)
+ "
+ S="${WORKDIR}"/findutils-${PV}
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD CC0-1.0 ISC MIT"
+SLOT="0"
+if [[ ${PV} != 9999 ]] ; then
+ KEYWORDS="~amd64"
+fi
+
+# Building onig-sys fails w/ Clang 16 right now
+# https://github.com/rust-onig/rust-onig/issues/173
+RDEPEND="dev-libs/oniguruma:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+ <sys-devel/clang-$((LLVM_MAX_SLOT + 1))
+ >=virtual/rust-1.56.0
+"
+
+QA_FLAGS_IGNORED=".*"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_configure() {
+ export RUSTONIG_SYSTEM_LIBONIG=1
+ export PKG_CONFIG_ALLOW_CROSS=1
+
+ cargo_src_configure
+}
+
+src_install() {
+ cargo_src_install
+
+ rm "${ED}"/usr/bin/testing-commandline || die
+
+ local binary
+ for binary in find xargs ; do
+ mv "${ED}"/usr/bin/${binary} "${ED}"/usr/bin/uutils-${binary} || die
+ done
+}
diff --git a/sys-apps/uutils-findutils/uutils-findutils-9999.ebuild b/sys-apps/uutils-findutils/uutils-findutils-9999.ebuild
index fea72e51df34..fddc99bae988 100644
--- a/sys-apps/uutils-findutils/uutils-findutils-9999.ebuild
+++ b/sys-apps/uutils-findutils/uutils-findutils-9999.ebuild
@@ -9,6 +9,7 @@ CRATES="
aho-corasick-0.7.18
android_system_properties-0.1.5
ansi_term-0.12.1
+ anstyle-0.3.5
assert_cmd-2.0.8
atty-0.2.14
autocfg-1.1.0
@@ -78,6 +79,7 @@ CRATES="
pin-utils-0.1.0
pkg-config-0.3.24
predicates-2.1.5
+ predicates-3.0.2
predicates-core-1.0.1
predicates-tree-1.0.1
proc-macro2-1.0.36