1 |
jauhien 14/07/31 09:52:41 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: rust-0.11.0.ebuild |
5 |
Log: |
6 |
version bump, closing bug #516466 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-lang/rust/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rust/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 18 May 2014 23:46:09 -0000 1.1 |
24 |
+++ metadata.xml 31 Jul 2014 09:52:41 -0000 1.2 |
25 |
@@ -6,7 +6,9 @@ |
26 |
<name>Jauhien Piatlicki</name> |
27 |
</maintainer> |
28 |
<use> |
29 |
- <flag name="clang">Use sys-devel/clang for building</flag> |
30 |
<flag name="binary-bootstrap">Download precompiled rust for compilator bootstrap</flag> |
31 |
+ <flag name="clang">Use <pkg>sys-devel/clang</pkg> for building</flag> |
32 |
+ <flag name="libcxx">Use <pkg>sys-libs/libcxx</pkg> as standard |
33 |
+ library when building with <pkg>sys-devel/clang</pkg></flag> |
34 |
</use> |
35 |
</pkgmetadata> |
36 |
|
37 |
|
38 |
|
39 |
1.2 dev-lang/rust/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/ChangeLog?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/ChangeLog?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/ChangeLog?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- ChangeLog 18 May 2014 23:46:09 -0000 1.1 |
52 |
+++ ChangeLog 31 Jul 2014 09:52:41 -0000 1.2 |
53 |
@@ -1,6 +1,12 @@ |
54 |
# ChangeLog for dev-lang/rust |
55 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.1 2014/05/18 23:46:09 jauhien Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.2 2014/07/31 09:52:41 jauhien Exp $ |
58 |
+ |
59 |
+*rust-0.11.0 (31 Jul 2014) |
60 |
+ |
61 |
+ 31 Jul 2014; Jauhien Piatlicki <jauhien@g.o> |
62 |
+ +files/rust-0.11.0-stage0.patch, +rust-0.11.0.ebuild, metadata.xml: |
63 |
+ version bump, closing bug #516466 |
64 |
|
65 |
*rust-0.10 (18 May 2014) |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
1.1 dev-lang/rust/rust-0.11.0.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/rust-0.11.0.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/rust-0.11.0.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: rust-0.11.0.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2014 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-0.11.0.ebuild,v 1.1 2014/07/31 09:52:41 jauhien Exp $ |
80 |
|
81 |
EAPI="5" |
82 |
|
83 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
84 |
|
85 |
inherit elisp-common eutils python-any-r1 |
86 |
|
87 |
DESCRIPTION="Systems programming language from Mozilla" |
88 |
HOMEPAGE="http://www.rust-lang.org/" |
89 |
|
90 |
ARCH_SRC_URI="amd64? ( http://static.rust-lang.org/dist/${P}-x86_64-unknown-linux-gnu.tar.gz ) |
91 |
x86? ( http://static.rust-lang.org/dist/${P}-i686-unknown-linux-gnu.tar.gz )" |
92 |
|
93 |
SRC_URI="http://static.rust-lang.org/dist/${P}.tar.gz ${ARCH_SRC_URI}" |
94 |
|
95 |
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~x86" |
98 |
|
99 |
IUSE="clang debug emacs libcxx vim-syntax zsh-completion" |
100 |
REQUIRED_USE="libcxx? ( clang )" |
101 |
|
102 |
RDEPEND="vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
103 |
zsh-completion? ( app-shells/zsh )" |
104 |
DEPEND="${RDEPEND} |
105 |
${PYTHON_DEPS} |
106 |
>=dev-lang/perl-5.0 |
107 |
clang? ( sys-devel/clang ) |
108 |
emacs? ( virtual/emacs ) |
109 |
libcxx? ( sys-libs/libcxx )" |
110 |
|
111 |
SITEFILE="50${PN}-mode-gentoo.el" |
112 |
|
113 |
src_prepare() { |
114 |
epatch "${FILESDIR}/${P}-stage0.patch" |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
use amd64 && ARCH_POSTFIX="x86_64" |
119 |
use x86 && ARCH_POSTFIX="i686" |
120 |
LOCAL_RUST_PATH="${WORKDIR}/${P}-${ARCH_POSTFIX}-unknown-linux-gnu" |
121 |
|
122 |
"${ECONF_SOURCE:-.}"/configure \ |
123 |
--prefix="${EPREFIX}/usr/" \ |
124 |
$(use_enable clang) \ |
125 |
$(use_enable debug) \ |
126 |
$(use_enable debug llvm-assertions) \ |
127 |
$(use_enable !debug optimize) \ |
128 |
$(use_enable !debug optimize-cxx) \ |
129 |
$(use_enable !debug optimize-llvm) \ |
130 |
$(use_enable !debug optimize-tests) \ |
131 |
$(use_enable libcxx libcpp) \ |
132 |
--enable-local-rust \ |
133 |
--local-rust-root="${LOCAL_RUST_PATH}" \ |
134 |
--disable-manage-submodules \ |
135 |
|| die |
136 |
} |
137 |
|
138 |
src_compile() { |
139 |
default |
140 |
|
141 |
if use emacs; then |
142 |
cd src/etc/emacs || die |
143 |
elisp-compile *.el |
144 |
elisp-make-autoload-file "${PN}-mode-autoloads.el" . |
145 |
fi |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
default |
150 |
|
151 |
if use emacs; then |
152 |
elisp-install ${PN}-mode src/etc/emacs/*.el src/etc/emacs/*.elc |
153 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
154 |
fi |
155 |
|
156 |
if use vim-syntax; then |
157 |
insinto /usr/share/vim/vimfiles |
158 |
doins -r src/etc/vim/* |
159 |
fi |
160 |
|
161 |
if use zsh-completion; then |
162 |
insinto "/usr/share/zsh/site-functions" |
163 |
doins src/etc/zsh/_rust |
164 |
fi |
165 |
} |
166 |
|
167 |
pkg_postinst() { |
168 |
use emacs && elisp-site-regen |
169 |
} |
170 |
|
171 |
pkg_postrm() { |
172 |
use emacs && elisp-site-regen |
173 |
} |