diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-06-07 17:57:37 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-06-12 14:18:00 +0100 |
commit | e274b7b2ebe1261cb204064880be78c13300d13d (patch) | |
tree | 59d5a42aac91437d37eeb58972c86f788287e6e1 /eclass | |
parent | dev-util/wasmer: EAPI 8 (diff) | |
download | gentoo-e274b7b2ebe1261cb204064880be78c13300d13d.tar.gz gentoo-e274b7b2ebe1261cb204064880be78c13300d13d.tar.bz2 gentoo-e274b7b2ebe1261cb204064880be78c13300d13d.zip |
cargo.eclass: Drop EAPI 7 support
It is going to inherit rust-toolchain, which is EAPI 8 only.
Closes: https://bugs.gentoo.org/715890
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cargo.eclass | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index a685cd99fb38..72c740cda906 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -7,11 +7,11 @@ # @AUTHOR: # Doug Goldstein <cardoe@gentoo.org> # Georgy Yakovlev <gyakovlev@gentoo.org> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 8 # @BLURB: common functions and variables for cargo builds case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -23,10 +23,6 @@ _CARGO_ECLASS=1 RUST_DEPEND="virtual/rust" case ${EAPI} in - 7) - # 1.37 added 'cargo vendor' subcommand and net.offline config knob - RUST_DEPEND=">=virtual/rust-1.37.0" - ;; 8) # 1.39 added --workspace # 1.46 added --target dir @@ -556,17 +552,6 @@ cargo_src_install() { rm -f "${ED}/usr/.crates.toml" || die rm -f "${ED}/usr/.crates2.json" || die - - # it turned out to be non-standard dir, so get rid of it future EAPI - # and only run for EAPI=7 - # https://bugs.gentoo.org/715890 - case ${EAPI:-0} in - 7) - if [ -d "${S}/man" ]; then - doman "${S}/man" || return 0 - fi - ;; - esac } # @FUNCTION: cargo_src_test |