From 3e97513674b556a1deba9b9fb45928d1d129acf8 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 25 Nov 2016 12:33:03 -0600 Subject: [PATCH] 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 --- eclass/cargo.eclass | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.26.2