projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d813a37
)
cargo.eclass: require rust 1.37 or newer unconditionally
author
Georgy Yakovlev
<gyakovlev@gentoo.org>
Fri, 27 Dec 2019 02:07:05 +0000
(18:07 -0800)
committer
Georgy Yakovlev
<gyakovlev@gentoo.org>
Sat, 28 Dec 2019 04:59:09 +0000
(20:59 -0800)
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
eclass/cargo.eclass
patch
|
blob
|
history
diff --git
a/eclass/cargo.eclass
b/eclass/cargo.eclass
index fb759f95903f2144c454d2ad6dbccf61afe68ffa..2807bf8069d82a32607e786a1166fdc6b11e877b 100644
(file)
--- 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}";;