commit: f6bec6c8995b8932f50356a2853d92343cd7313c
Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 00:04:20 2016 +0000
Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 00:05:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6bec6c8
dev-lang/rust: PDEPEND on dev-util/cargo
A number of people have pointed out to me that on most distros
installing Rust results in a fully working environment (e.g. includes
Cargo) so we should really provide the same.
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>
dev-lang/rust/rust-1.12.1.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-lang/rust/rust-1.12.1.ebuild b/dev-lang/rust/rust-1.12.1.ebuild
index e608fbd..54e3fd4 100644
--- a/dev-lang/rust/rust-1.12.1.ebuild
+++ b/dev-lang/rust/rust-1.12.1.ebuild
@@ -23,6 +23,7 @@ else
KEYWORDS="~amd64 ~x86"
fi
+CARGO_VERSION="0.$(($(get_version_component_range 2) + 1)).0"
STAGE0_VERSION="1.$(($(get_version_component_range 2) - 1)).0"
RUST_STAGE0_amd64="rustc-${STAGE0_VERSION}-x86_64-unknown-linux-gnu"
RUST_STAGE0_x86="rustc-${STAGE0_VERSION}-i686-unknown-linux-gnu"
@@ -51,7 +52,8 @@ DEPEND="${RDEPEND}
clang? ( sys-devel/clang )
"
-PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
+PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
+ >=dev-util/cargo-${CARGO_VERSION}"
S="${WORKDIR}/${MY_P}"