commit:     a66f47ce35439604c06f297aee3fd467702a889f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 05:05:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 05:29:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a66f47ce

dev-util/wachy: modernise cargo.eclass usage

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/wachy/wachy-0.1.0_alpha6-r1.ebuild | 194 ++++++++++++++--------------
 1 file changed, 96 insertions(+), 98 deletions(-)

diff --git a/dev-util/wachy/wachy-0.1.0_alpha6-r1.ebuild 
b/dev-util/wachy/wachy-0.1.0_alpha6-r1.ebuild
index dd3a2f680892..fba545be9ca7 100644
--- a/dev-util/wachy/wachy-0.1.0_alpha6-r1.ebuild
+++ b/dev-util/wachy/wachy-0.1.0_alpha6-r1.ebuild
@@ -6,118 +6,116 @@
 EAPI=8
 
 CRATES="
-       addr2line-0.17.0
-       adler-1.0.2
-       ahash-0.6.3
-       array-macro-1.0.5
-       autocfg-1.0.1
-       backtrace-0.3.63
-       bitflags-1.3.2
-       cc-1.0.72
-       cfg-if-1.0.0
-       chrono-0.4.19
-       clap-2.33.3
-       cmake-0.1.46
-       cplus_demangle-0.1.1
-       cpp_demangle-0.3.3
-       crc32fast-1.2.1
-       crossbeam-channel-0.5.1
-       crossbeam-utils-0.8.5
-       cursive-0.16.3
-       cursive_core-0.2.2
-       cursive_table_view-0.13.3
-       darling-0.10.2
-       darling_core-0.10.2
-       darling_macro-0.10.2
-       either-1.6.1
-       enum-map-0.6.4
-       enum-map-derive-0.4.6
-       fallible-iterator-0.2.0
-       flate2-1.0.22
-       flexi_logger-0.20.0
-       fnv-1.0.7
-       fuzzy-matcher-0.3.7
-       getrandom-0.2.3
-       gimli-0.26.1
-       glob-0.3.0
-       hashbrown-0.11.2
-       ident_case-1.0.1
-       indexmap-1.7.0
-       itertools-0.10.1
-       itoa-0.4.8
-       lazy_static-1.4.0
-       libc-0.2.107
-       log-0.4.14
-       maplit-1.0.2
-       memchr-2.4.1
-       memmap2-0.5.0
-       miniz_oxide-0.4.4
-       ncurses-5.101.0
-       num-0.3.1
-       num-complex-0.3.1
-       num-integer-0.1.44
-       num-iter-0.1.42
-       num-rational-0.3.2
-       num-traits-0.2.14
-       object-0.27.1
-       once_cell-1.8.0
-       owning_ref-0.4.1
-       pkg-config-0.3.22
-       proc-macro2-1.0.32
-       quote-1.0.10
-       rustc-demangle-0.1.21
-       rustversion-1.0.5
-       ryu-1.0.5
-       serde-1.0.130
-       serde_derive-1.0.130
-       serde_json-1.0.70
-       signal-hook-0.3.10
-       signal-hook-registry-1.4.0
-       smallvec-1.7.0
-       stable_deref_trait-1.2.0
-       strsim-0.9.3
-       syn-1.0.81
-       term_size-0.3.2
-       textwrap-0.11.0
-       thiserror-1.0.30
-       thiserror-impl-1.0.30
-       thread_local-1.1.3
-       time-0.1.43
-       time-0.3.5
-       time-macros-0.2.3
-       unicode-segmentation-1.8.0
-       unicode-width-0.1.9
-       unicode-xid-0.2.2
-       unwrap-1.2.1
-       version_check-0.9.3
-       wasi-0.10.2+wasi-snapshot-preview1
-       wasmer_enumset-1.0.1
-       wasmer_enumset_derive-0.5.0
-       winapi-0.3.9
-       winapi-i686-pc-windows-gnu-0.4.0
-       winapi-x86_64-pc-windows-gnu-0.4.0
-       xi-unicode-0.3.0
-       zydis-3.1.2
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
 "
 
 inherit cargo
 
 DESCRIPTION="A dynamic tracing profiler for Linux"
-# Double check the homepage as the cargo_metadata crate
-# does not provide this value so instead repository is used
 HOMEPAGE="
        https://rubrikinc.github.io/wachy/
        https://github.com/rubrikinc/wachy
 "
 SRC_URI="
        
https://github.com/rubrikinc/${PN}/archive/refs/tags/${PV/_alpha/-alpha.}.tar.gz
 -> ${P}.tar.gz
-       $(cargo_crate_uris ${CRATES})
+       ${CARGO_CRATE_URIS}
 "
 S=${WORKDIR}/${PN}-${PV/_alpha/-alpha.}
 
-# License set may be more restrictive as OR is not respected
-# use cargo-license for a more accurate license picture
-LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT 
Unlicense ZLIB"
+LICENSE="|| ( Apache-2.0 MIT )"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 RESTRICT="mirror"

Reply via email to