Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 30 Dec 2019 06:42:38
Message-Id: 1577687692.a9396c31d51a4752a2bdc54fa73019825d2bdcc6.gyakovlev@gentoo
1 commit: a9396c31d51a4752a2bdc54fa73019825d2bdcc6
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 05:06:09 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 06:34:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9396c31
7
8 eclass/cargo.eclass: switch (b)depend to virtual/rust
9
10 Bug: https://bugs.gentoo.org/695698
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 eclass/cargo.eclass | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
17 index 86715b83b88..f2a726d5167 100644
18 --- a/eclass/cargo.eclass
19 +++ b/eclass/cargo.eclass
20 @@ -13,11 +13,11 @@ if [[ -z ${_CARGO_ECLASS} ]]; then
21 _CARGO_ECLASS=1
22
23 # we need this for 'cargo vendor' subcommand and net.offline config knob
24 -CARGO_DEPEND=">=virtual/cargo-1.37.0"
25 +RUST_DEPEND=">=virtual/rust-1.37.0"
26
27 case ${EAPI} in
28 - 6) DEPEND="${CARGO_DEPEND}";;
29 - 7) BDEPEND="${CARGO_DEPEND}";;
30 + 6) DEPEND="${RUST_DEPEND}";;
31 + 7) BDEPEND="${RUST_DEPEND}";;
32 *) die "EAPI=${EAPI:-0} is not supported" ;;
33 esac