commit:     402e64c0e8195e62ba8662a2473806bfe7e7a0cc
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 02:07:05 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 04:59:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402e64c0

cargo.eclass: require rust 1.37 or newer unconditionally

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 eclass/cargo.eclass | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index fb759f95903..2807bf8069d 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}";;

Reply via email to