aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeorhi Valakhanovich <valahanovich@tut.by>2015-01-14 17:10:45 +0300
committerHeorhi Valakhanovich <valahanovich@tut.by>2015-01-14 17:10:45 +0300
commita4e50f639b767e4d426634e73d7f52233fdc7f78 (patch)
tree3ed46d71830a8bc7e44bcd5cd9e70514601dbe54
parentrust-1.0.0_alpha prevent fetch during build (diff)
downloadrust-a4e50f639b767e4d426634e73d7f52233fdc7f78.tar.gz
rust-a4e50f639b767e4d426634e73d7f52233fdc7f78.tar.bz2
rust-a4e50f639b767e4d426634e73d7f52233fdc7f78.zip
dependencies for rust-1.0.0_alpha
system_llvm useflag was removed because there is no llvm in portage that can build rust. Also rust-mode and rust-zshcomp for rust-1.0.0_alpha was added.
-rw-r--r--app-emacs/rust-mode/Manifest1
-rw-r--r--app-emacs/rust-mode/rust-mode-1.0.0_alpha.ebuild27
-rw-r--r--app-shells/rust-zshcomp/Manifest1
-rw-r--r--app-shells/rust-zshcomp/rust-zshcomp-1.0.0_alpha.ebuild37
-rw-r--r--app-vim/rust-mode/Manifest1
-rw-r--r--app-vim/rust-mode/rust-mode-1.0.0_alpha.ebuild24
-rw-r--r--dev-lang/rust/rust-1.0.0_alpha.ebuild5
7 files changed, 91 insertions, 5 deletions
diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest
index ad5b77f..6aa85eb 100644
--- a/app-emacs/rust-mode/Manifest
+++ b/app-emacs/rust-mode/Manifest
@@ -1,2 +1,3 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
+DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75
diff --git a/app-emacs/rust-mode/rust-mode-1.0.0_alpha.ebuild b/app-emacs/rust-mode/rust-mode-1.0.0_alpha.ebuild
new file mode 100644
index 0000000..732c388
--- /dev/null
+++ b/app-emacs/rust-mode/rust-mode-1.0.0_alpha.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit elisp
+
+MY_PV="rustc-1.0.0-alpha"
+
+DESCRIPTION="A major emacs mode for editing Rust source code"
+HOMEPAGE="http://www.rust-lang.org/"
+SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
+ !<=dev-lang/rust-0.11.0-r1:0.11
+ !<=dev-lang/rust-999:nightly
+ !<=dev-lang/rust-9999-r2:git
+"
+
+S="${WORKDIR}/${MY_PV}/src/etc/emacs"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-shells/rust-zshcomp/Manifest b/app-shells/rust-zshcomp/Manifest
index ad5b77f..6aa85eb 100644
--- a/app-shells/rust-zshcomp/Manifest
+++ b/app-shells/rust-zshcomp/Manifest
@@ -1,2 +1,3 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
+DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75
diff --git a/app-shells/rust-zshcomp/rust-zshcomp-1.0.0_alpha.ebuild b/app-shells/rust-zshcomp/rust-zshcomp-1.0.0_alpha.ebuild
new file mode 100644
index 0000000..a8dfec3
--- /dev/null
+++ b/app-shells/rust-zshcomp/rust-zshcomp-1.0.0_alpha.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+MY_PV="rustc-1.0.0-alpha"
+DESCRIPTION="Rust zsh completions"
+HOMEPAGE="http://www.rust-lang.org/"
+SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-shells/zsh
+ !!<=app-admin/eselect-rust-0.1_pre20140820
+ !<=dev-lang/rust-0.11.0-r1:0.11
+ !<=dev-lang/rust-999:nightly
+ !<=dev-lang/rust-9999-r2:git
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PV}"
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins src/etc/zsh/_rust
+}
diff --git a/app-vim/rust-mode/Manifest b/app-vim/rust-mode/Manifest
index ad5b77f..6aa85eb 100644
--- a/app-vim/rust-mode/Manifest
+++ b/app-vim/rust-mode/Manifest
@@ -1,2 +1,3 @@
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
+DIST rustc-1.0.0-alpha-src.tar.gz 21344613 SHA256 3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c SHA512 7285f1a90e75b31d4455a025a93fbdc590203e0875e3c1845df99e20d92a880573dff8ccb9d0ab4e85f64208a4eb46f5f71dd0c7def8e3d589021b90714d7b06 WHIRLPOOL 827b18b363ccde654499b616937df76daaf8b43bf76af2ac438006c3f0d71540df41d1cd109f58822627c9aea1be9f106ced3ff82630e965fce62f82bbceae75
diff --git a/app-vim/rust-mode/rust-mode-1.0.0_alpha.ebuild b/app-vim/rust-mode/rust-mode-1.0.0_alpha.ebuild
new file mode 100644
index 0000000..e78354a
--- /dev/null
+++ b/app-vim/rust-mode/rust-mode-1.0.0_alpha.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit vim-plugin
+
+MY_PV="rustc-1.0.0-alpha"
+DESCRIPTION="Rust mode for vim"
+HOMEPAGE="http://www.rust-lang.org/"
+SRC_URI="http://static.rust-lang.org/dist/${MY_PV}-src.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
+ !<=dev-lang/rust-0.11.0-r1:0.11
+ !<=dev-lang/rust-999:nightly
+ !<=dev-lang/rust-9999-r2:git
+"
+
+S="${WORKDIR}/${MY_PV}/src/etc/vim"
diff --git a/dev-lang/rust/rust-1.0.0_alpha.ebuild b/dev-lang/rust/rust-1.0.0_alpha.ebuild
index 16c92d6..d79fb75 100644
--- a/dev-lang/rust/rust-1.0.0_alpha.ebuild
+++ b/dev-lang/rust/rust-1.0.0_alpha.ebuild
@@ -32,7 +32,6 @@ DEPEND="${CDEPEND}
>=dev-lang/perl-5.0
net-misc/wget
clang? ( sys-devel/clang )
- system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
"
RDEPEND="${CDEPEND}
emacs? ( >=app-emacs/rust-mode-${PV} )
@@ -60,9 +59,6 @@ src_configure() {
use x86 && ARCH_POSTFIX="i686"
LOCAL_RUST_PATH="${WORKDIR}/rust-1.0.0-alpha-${ARCH_POSTFIX}-unknown-linux-gnu/bin"
- local system_llvm
- use system-llvm && system_llvm="--llvm-root=${EPREFIX}/usr"
-
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
@@ -75,7 +71,6 @@ src_configure() {
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable libcxx libcpp) \
- ${system_llvm} \
--disable-manage-submodules \
--disable-verify-install \
--disable-docs \