diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2016-10-24 19:04:20 -0500 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2016-10-24 19:05:29 -0500 |
commit | f6bec6c8995b8932f50356a2853d92343cd7313c (patch) | |
tree | 02c77ee4a015010465a914c08aa04fc6dd919371 /dev-lang | |
parent | x11-libs/xtrans: Drop old versions 1.3.3 and 1.3.4. (diff) | |
download | gentoo-f6bec6c8995b8932f50356a2853d92343cd7313c.tar.gz gentoo-f6bec6c8995b8932f50356a2853d92343cd7313c.tar.bz2 gentoo-f6bec6c8995b8932f50356a2853d92343cd7313c.zip |
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-1.12.1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.12.1.ebuild b/dev-lang/rust/rust-1.12.1.ebuild index e608fbde2b38..54e3fd4e6ece 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}" |