summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-29 21:06:09 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-29 22:34:52 -0800
commita9396c31d51a4752a2bdc54fa73019825d2bdcc6 (patch)
treeed7c5edff0624d542b028fb91620e41f346b848f
parentdev-libs/jsoncpp: Revert "Remove old" (diff)
downloadgentoo-a9396c31d51a4752a2bdc54fa73019825d2bdcc6.tar.gz
gentoo-a9396c31d51a4752a2bdc54fa73019825d2bdcc6.tar.bz2
gentoo-a9396c31d51a4752a2bdc54fa73019825d2bdcc6.zip
eclass/cargo.eclass: switch (b)depend to virtual/rust
Bug: https://bugs.gentoo.org/695698 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--eclass/cargo.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 86715b83b88c..f2a726d51672 100644
--- 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