diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-26 18:07:05 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-27 20:59:09 -0800 |
commit | 402e64c0e8195e62ba8662a2473806bfe7e7a0cc (patch) | |
tree | e9e869c9652f5810b082a4d2cb5971f7a6e0e490 /eclass | |
parent | profile: Fix use.stable.mask for b-man (diff) | |
download | gentoo-402e64c0e8195e62ba8662a2473806bfe7e7a0cc.tar.gz gentoo-402e64c0e8195e62ba8662a2473806bfe7e7a0cc.tar.bz2 gentoo-402e64c0e8195e62ba8662a2473806bfe7e7a0cc.zip |
cargo.eclass: require rust 1.37 or newer unconditionally
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cargo.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index fb759f95903f..2807bf8069d8 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -12,12 +12,8 @@ if [[ -z ${_CARGO_ECLASS} ]]; then _CARGO_ECLASS=1 -if [[ ${PV} == *9999* ]]; then - # we need at least this for cargo vendor subommand - CARGO_DEPEND=">=virtual/cargo-1.37.0" -else - CARGO_DEPEND="virtual/cargo" -fi +# we need this for 'cargo vendor' subcommand and net.offline config knob +CARGO_DEPEND=">=virtual/cargo-1.37.0" case ${EAPI} in 6) DEPEND="${CARGO_DEPEND}";; |