summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2015-06-06 15:39:57 +0000
committerJauhien Piatlicki <jauhien@gentoo.org>2015-06-06 15:39:57 +0000
commit35b43a900d2682c88e42f6e862b5f8708756dea6 (patch)
treecfcea82b5cf60dfe98937f5828096e8e7ada4b5f /dev-lang
parentAdd github to remote-id in metadata.xml (diff)
downloadgentoo-2-35b43a900d2682c88e42f6e862b5f8708756dea6.tar.gz
gentoo-2-35b43a900d2682c88e42f6e862b5f8708756dea6.tar.bz2
gentoo-2-35b43a900d2682c88e42f6e862b5f8708756dea6.zip
move to new SLOTs schema
(Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key B2EFA1D4)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/ChangeLog5
-rw-r--r--dev-lang/rust/rust-1.0.0.ebuild17
2 files changed, 9 insertions, 13 deletions
diff --git a/dev-lang/rust/ChangeLog b/dev-lang/rust/ChangeLog
index f5718723e2bb..8c9bfd601d03 100644
--- a/dev-lang/rust/ChangeLog
+++ b/dev-lang/rust/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/rust
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.19 2015/06/04 10:47:28 jauhien Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.20 2015/06/06 15:39:57 jauhien Exp $
+
+ 06 Jun 2015; Jauhien Piatlicki <jauhien@gentoo.org> rust-1.0.0.ebuild:
+ move to new SLOTs schema
*rust-1.0.0 (04 Jun 2015)
diff --git a/dev-lang/rust/rust-1.0.0.ebuild b/dev-lang/rust/rust-1.0.0.ebuild
index 47eeb730cb65..8431643599fa 100644
--- a/dev-lang/rust/rust-1.0.0.ebuild
+++ b/dev-lang/rust/rust-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-1.0.0.ebuild,v 1.1 2015/06/04 10:47:28 jauhien Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-1.0.0.ebuild,v 1.2 2015/06/06 15:39:57 jauhien Exp $
EAPI=5
@@ -8,13 +8,7 @@ PYTHON_COMPAT=( python2_7 )
inherit eutils python-any-r1
-RUST_CHANNEL="stable"
-
-BETA_NUM="${PV##*beta}"
-MY_PV="${PV/_/-}"
-# beta => beta BUT beta2 => beta.2
-[ -n "${BETA_NUM}" ] && MY_PV="${MY_PV/beta/beta.}"
-MY_P="rustc-${MY_PV}"
+MY_P="rustc-${PV}"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
@@ -24,7 +18,7 @@ SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-x86_64-ef2154372e97a3cb687897d027fd51c8f2c5f349.tar.bz2 )"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
-SLOT="1.0"
+SLOT="stable"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug doc libcxx +system-llvm"
@@ -40,8 +34,7 @@ DEPEND="${CDEPEND}
clang? ( sys-devel/clang )
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
"
-RDEPEND="${CDEPEND}
-"
+RDEPEND="${CDEPEND}"
S=${WORKDIR}/${MY_P}
@@ -63,7 +56,7 @@ src_configure() {
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
- --release-channel=${RUST_CHANNEL} \
+ --release-channel=${SLOT} \
--disable-manage-submodules \
$(use_enable clang) \
$(use_enable debug) \