From: Georgy Yakovlev Date: Fri, 27 Dec 2019 02:07:05 +0000 (-0800) Subject: cargo.eclass: require rust 1.37 or newer unconditionally X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=402e64c0e8195e62ba8662a2473806bfe7e7a0cc;p=gentoo.git cargo.eclass: require rust 1.37 or newer unconditionally Signed-off-by: Georgy Yakovlev --- 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}";;