diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2016-11-25 12:33:03 -0600 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2016-11-30 11:17:51 -0600 |
commit | 3e97513674b556a1deba9b9fb45928d1d129acf8 (patch) | |
tree | 801db58661000a8e3e65e361446369b79b719085 /eclass | |
parent | eclass/cargo: support cargo dependency vendoring (diff) | |
download | gentoo-3e97513674b556a1deba9b9fb45928d1d129acf8.tar.gz gentoo-3e97513674b556a1deba9b9fb45928d1d129acf8.tar.bz2 gentoo-3e97513674b556a1deba9b9fb45928d1d129acf8.zip |
eclass/cargo: ensure people have a good cargo depend
We need at least Cargo 0.13.0 to use the new bits in this eclass.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cargo.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index f2b2b12149d1..8089227a159f 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -21,6 +21,8 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install IUSE="${IUSE} debug" +[[ ${CATEGORY}/${PN} != dev-util/cargo ]] && DEPEND=">=dev-util/cargo-0.13.0" + ECARGO_HOME="${WORKDIR}/cargo_home" ECARGO_VENDOR="${ECARGO_HOME}/gentoo" |