Skip to content

Commit

Permalink
eclass/cargo.eclass: switch (b)depend to virtual/rust
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/695698
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Dec 30, 2019
1 parent 23db367 commit a9396c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/cargo.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a9396c3

Please sign in to comment.