From bd18ffe50893a1eaa2177bf6a760a4563e00e8ae Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 7 Jun 2024 14:56:02 +0100 Subject: sci-calculators/xsv: EAPI 8, silence LDFLAGS warning We know it isn't respected with Cargo. Closes: https://bugs.gentoo.org/797493 Signed-off-by: James Le Cuirot --- sci-calculators/xsv/xsv-0.13.0-r1.ebuild | 78 ++++++++++++++++++++++++++++++++ sci-calculators/xsv/xsv-0.13.0.ebuild | 76 ------------------------------- 2 files changed, 78 insertions(+), 76 deletions(-) create mode 100644 sci-calculators/xsv/xsv-0.13.0-r1.ebuild delete mode 100644 sci-calculators/xsv/xsv-0.13.0.ebuild (limited to 'sci-calculators') diff --git a/sci-calculators/xsv/xsv-0.13.0-r1.ebuild b/sci-calculators/xsv/xsv-0.13.0-r1.ebuild new file mode 100644 index 000000000000..f13e2444516d --- /dev/null +++ b/sci-calculators/xsv/xsv-0.13.0-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +aho-corasick-0.7.18 +autocfg-1.0.1 +bstr-0.2.16 +byteorder-1.4.3 +cfg-if-0.1.10 +cfg-if-1.0.0 +chan-0.1.23 +csv-1.1.6 +csv-core-0.1.10 +csv-index-0.1.6 +docopt-1.1.1 +filetime-0.1.15 +fuchsia-cprng-0.1.1 +hermit-abi-0.1.18 +itoa-0.4.7 +lazy_static-1.4.0 +libc-0.2.97 +log-0.4.14 +memchr-2.4.0 +num-traits-0.2.14 +num_cpus-1.13.0 +proc-macro2-1.0.27 +quickcheck-0.6.2 +quote-1.0.9 +rand-0.3.23 +rand-0.4.6 +rand_core-0.3.1 +rand_core-0.4.2 +rdrand-0.4.0 +redox_syscall-0.1.57 +regex-1.5.4 +regex-automata-0.1.10 +regex-syntax-0.6.25 +ryu-1.0.5 +serde-1.0.126 +serde_derive-1.0.126 +streaming-stats-0.2.3 +strsim-0.10.0 +syn-1.0.73 +tabwriter-1.2.1 +threadpool-1.8.1 +unicode-width-0.1.8 +unicode-xid-0.2.2 +winapi-0.3.9 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo + +DESCRIPTION="A fast CSV command line toolkit written in Rust" +HOMEPAGE="https://github.com/BurntSushi/xsv" +SRC_URI="${CARGO_CRATE_URIS} + https://github.com/BurntSushi/xsv/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( MIT Unlicense ) Apache-2.0 Boost-1.0 MIT Unlicense" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +BDEPEND="${RUST_DEPEND}" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_prepare() { + rm Cargo.lock || die "Failed to remove stale Cargo.lock" + default +} + +src_install() { + cargo_src_install + dodoc BENCHMARKS.md README.md +} diff --git a/sci-calculators/xsv/xsv-0.13.0.ebuild b/sci-calculators/xsv/xsv-0.13.0.ebuild deleted file mode 100644 index 39510584561d..000000000000 --- a/sci-calculators/xsv/xsv-0.13.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CRATES=" -aho-corasick-0.7.18 -autocfg-1.0.1 -bstr-0.2.16 -byteorder-1.4.3 -cfg-if-0.1.10 -cfg-if-1.0.0 -chan-0.1.23 -csv-1.1.6 -csv-core-0.1.10 -csv-index-0.1.6 -docopt-1.1.1 -filetime-0.1.15 -fuchsia-cprng-0.1.1 -hermit-abi-0.1.18 -itoa-0.4.7 -lazy_static-1.4.0 -libc-0.2.97 -log-0.4.14 -memchr-2.4.0 -num-traits-0.2.14 -num_cpus-1.13.0 -proc-macro2-1.0.27 -quickcheck-0.6.2 -quote-1.0.9 -rand-0.3.23 -rand-0.4.6 -rand_core-0.3.1 -rand_core-0.4.2 -rdrand-0.4.0 -redox_syscall-0.1.57 -regex-1.5.4 -regex-automata-0.1.10 -regex-syntax-0.6.25 -ryu-1.0.5 -serde-1.0.126 -serde_derive-1.0.126 -streaming-stats-0.2.3 -strsim-0.10.0 -syn-1.0.73 -tabwriter-1.2.1 -threadpool-1.8.1 -unicode-width-0.1.8 -unicode-xid-0.2.2 -winapi-0.3.9 -winapi-i686-pc-windows-gnu-0.4.0 -winapi-x86_64-pc-windows-gnu-0.4.0 -" - -inherit cargo - -DESCRIPTION="A fast CSV command line toolkit written in Rust" -HOMEPAGE="https://github.com/BurntSushi/xsv" -SRC_URI="$(cargo_crate_uris ${CRATES}) - https://github.com/BurntSushi/xsv/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="|| ( MIT Unlicense ) Apache-2.0 Boost-1.0 MIT Unlicense" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -BDEPEND="${RUST_DEPEND}" - -src_prepare() { - rm Cargo.lock || die "Failed to remove stale Cargo.lock" - default -} - -src_install() { - cargo_src_install - dodoc BENCHMARKS.md README.md -} -- cgit v1.2.3-65-gdbad