projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23db367
)
eclass/cargo.eclass: switch (b)depend to virtual/rust
author
Georgy Yakovlev
<gyakovlev@gentoo.org>
Mon, 30 Dec 2019 05:06:09 +0000
(21:06 -0800)
committer
Georgy Yakovlev
<gyakovlev@gentoo.org>
Mon, 30 Dec 2019 06:34:52 +0000
(22:34 -0800)
Bug: https://bugs.gentoo.org/695698
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 86715b83b88c0a09415833fa78f7cfa9002b4282..f2a726d51672da052e47f0e99a37740239a0f250 100644
(file)
--- a/
eclass/cargo.eclass
+++ b/
eclass/cargo.eclass
@@
-13,11
+13,11
@@
if [[ -z ${_CARGO_ECLASS} ]]; then
_CARGO_ECLASS=1
# we need this for 'cargo vendor' subcommand and net.offline config knob
-
CARGO_DEPEND=">=virtual/cargo
-1.37.0"
+
RUST_DEPEND=">=virtual/rust
-1.37.0"
case ${EAPI} in
- 6) DEPEND="${
CARGO
_DEPEND}";;
- 7) BDEPEND="${
CARGO
_DEPEND}";;
+ 6) DEPEND="${
RUST
_DEPEND}";;
+ 7) BDEPEND="${
RUST
_DEPEND}";;
*) die "EAPI=${EAPI:-0} is not supported" ;;
esac