bump(dev-lang/rust): sync with upstream

This commit is contained in:
Alex Crawford 2015-06-05 16:10:41 -07:00
parent bb2226077f
commit 73dcce7834
6 changed files with 302 additions and 18 deletions

View File

@ -0,0 +1,108 @@
# 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 $
*rust-1.0.0 (04 Jun 2015)
04 Jun 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-1.0.0.ebuild,
-rust-1.0.0_beta2.ebuild, -rust-1.0.0_beta3.ebuild:
version bump (bug 550878), fix bug 549220
*rust-1.0.0_beta3 (03 May 2015)
03 May 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-1.0.0_beta3.ebuild,
-rust-1.0.0_alpha2.ebuild, -rust-1.0.0_beta.ebuild, metadata.xml:
version bump, close bug #548128
*rust-1.0.0_beta2 (20 Apr 2015)
20 Apr 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-1.0.0_beta2.ebuild:
version bump
*rust-1.0.0_beta (11 Apr 2015)
11 Apr 2015; <jauhien@gentoo.org> +rust-1.0.0_beta.ebuild,
rust-1.0.0_alpha2.ebuild:
version bump, sync with overlay, close bug #546012
08 Apr 2015; Michał Górny <mgorny@gentoo.org> rust-1.0.0_alpha2.ebuild:
Drop old Python implementations
31 Mar 2015; Ulrich Müller <ulm@gentoo.org> rust-1.0.0_alpha2.ebuild:
Update dependency after package move of eselect modules to app-eselect.
*rust-1.0.0_alpha2 (24 Feb 2015)
24 Feb 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-1.0.0_alpha2.ebuild,
-files/rust-0.13.0-no-ldconfig.patch, -rust-1.0.0_alpha.ebuild:
version bump, sync with rust overlay
*rust-1.0.0_alpha (10 Feb 2015)
10 Feb 2015; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-0.13.0-no-ldconfig.patch, +rust-1.0.0_alpha.ebuild,
-files/50rust-mode-gentoo.el, -files/rust-0.11.0-libdir.patch,
-files/rust-0.11.0-stage0.patch, -files/rust-0.12.0-libdir.patch,
-files/rust-0.12.0-no-ldconfig.patch, -files/rust-0.12.0-stage0.patch,
-rust-0.11.0-r2.ebuild, -rust-0.12.0.ebuild, -rust-999-r1.ebuild,
-rust-9999-r3.ebuild:
version bump, remove old versions, move all live stuff to the rust overlay
12 Jan 2015; William Hubbs <williamh@gentoo.org> metadata.xml:
add myself as a maintainer
30 Nov 2014; Jauhien Piatlicki <jauhien@gentoo.org> rust-999-r1.ebuild,
rust-9999-r3.ebuild:
support for rust-lldb symlink
22 Nov 2014; Jauhien Piatlicki <jauhien@gentoo.org> rust-999-r1.ebuild:
remove rust-0.12.0-libdir.patch from nightly
21 Nov 2014; Jauhien Piatlicki <jauhien@gentoo.org> metadata.xml,
rust-999-r1.ebuild, rust-9999-r3.ebuild:
add system-llvm USE and make it default; remove rust-0.12.0-libdir.patch from
git, as it was merged into upstream
*rust-0.12.0 (18 Oct 2014)
*rust-999-r1 (18 Oct 2014)
*rust-9999-r3 (18 Oct 2014)
*rust-0.11.0-r2 (18 Oct 2014)
18 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-0.12.0-libdir.patch, +files/rust-0.12.0-stage0.patch,
+rust-0.11.0-r2.ebuild, +rust-0.12.0.ebuild, +rust-999-r1.ebuild,
+rust-9999-r3.ebuild, -files/rust-9999-libdir.patch, -rust-0.11.0-r1.ebuild,
-rust-999.ebuild, -rust-9999-r2.ebuild:
version bump, switch to new eselect version
*rust-0.11.0-r1 (29 Aug 2014)
*rust-999 (29 Aug 2014)
*rust-9999-r2 (29 Aug 2014)
29 Aug 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-0.11.0-libdir.patch, +files/rust-9999-libdir.patch,
+rust-0.11.0-r1.ebuild, +rust-999.ebuild, +rust-9999-r2.ebuild,
-rust-0.10.ebuild, -rust-0.11.0.ebuild, -rust-9999.ebuild,
files/50rust-mode-gentoo.el, files/rust-0.12.0-no-ldconfig.patch,
metadata.xml:
Add slotting to rust ebuilds Add these slots: (major.minor) rust release
(nightly) nightly version (git) git master branch Remove old unslotted
versions
*rust-9999 (31 Jul 2014)
31 Jul 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-0.12.0-no-ldconfig.patch, +rust-9999.ebuild:
add live version, thanks to Heather Cynede for patch
*rust-0.11.0 (31 Jul 2014)
31 Jul 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-0.11.0-stage0.patch, +rust-0.11.0.ebuild, metadata.xml:
version bump, closing bug #516466
*rust-0.10 (18 May 2014)
18 May 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/50rust-mode-gentoo.el, +metadata.xml, +rust-0.10.ebuild:
Initial import, based on the rust overlay work, thanks to Heather

View File

@ -0,0 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST rust-stage0-2015-03-27-5520801-linux-i386-1ef82402ed16f5a6d2f87a9a62eaa83170e249ec.tar.bz2 18104375 SHA256 f948477a43dc14436b218a24a81097d0460ca2e2177bebabba24fae89fc62b4b SHA512 86b28b03e8ef730620e593d00786b14736e05fdf5f312ab194175340fad1f24e169f69e381e73c1eb102f059f47a926dabd93bfaad46c50caa3717ee10412a5c WHIRLPOOL 086875d15228ebc68334eb4d663207917e1876044e12296426a00a0fec88a1325fe6a5e620e51b58eb08a58c27896df5fbb6d6ca992e0d754a98697f1bc9ed17
DIST rust-stage0-2015-03-27-5520801-linux-x86_64-ef2154372e97a3cb687897d027fd51c8f2c5f349.tar.bz2 17935368 SHA256 b62eed6bdb3cb356c90d587e9d9ee7fb5aedad917ff872c04e67e20b4c8f1c91 SHA512 0a978be4865f9e77c5ab552d423e21f1edefc767bc8a8d2936b45b0a9194648c5fb3c32cec0eaea438ad1339802faa1504b511956c2d71f73f2eb0439a4d7b99 WHIRLPOOL 89b0b8c51fd072c33afe8e98bc9aaea301ffa810a166b612d10dd89bbc491c3350f591f57bc3494066d71402910519b07cffa95d2802bdd6334aaad0c2f79334
DIST rustc-1.0.0-src.tar.gz 22121878 SHA256 c304cbd4f7b25d116b73c249f66bdb5c9da8645855ce195a41bda5077b995eba SHA512 dd34857b3c484d869eb6ab1a1e11e62647ac3e124858a4e39e10d749a6e43ce02e77a386d71fe9c97dce80e464cc115d5364892391c2ebc8ed4501b2206474a8 WHIRLPOOL ce74cbd03f1a806e09f6847ce6fffa30cc0c35361e10e3bafbda5409e63a051f88a08c6abd8e722cabf14799975dc3ee7f69886f14c551630e604af27e4daede
EBUILD rust-1.0.0.ebuild 4015 SHA256 d9bd5217946ba45184705a1673708e540b3dc253e128baf5b2dd1ee81e6bc029 SHA512 23cc5e92a78154eb3bfd519f6fc8da9dbd2f00c6acf089622e60eece0b686aa7aec119a3c8ece3dd02f5ad7b782d6b660d14d270336583b436eafdfd1c9aa037 WHIRLPOOL 41e5ac1ca0db8cc2a8cd2758cc0c8a1ba3d3d52680c848af06276b19fd92c3bd286b292edcacda233ba10b3725669e5c4d9f6204255c390498111abd751adb63
MISC ChangeLog 4153 SHA256 5ae89832612b192865b9aeff8f21e7e99b1037c7d8a5ea930b395727421570df SHA512 f0ae66d58f7ccacdf9fde416106d42abe935df79ae7a57deec4fee019848c78d7f92b455b56a6eb874fa06ec3496d9f8f3f879c4e2e0dbeefc31b0e64abe7a22 WHIRLPOOL 45b8ddf55afec6912c8b3b9f38d3e8910ccb4891a035cc46fcf8c888dfb9d440fd75237f46510553942358cc8c859989187a0c9e3a9d906821eb3ca4b14445c2
MISC metadata.xml 740 SHA256 97a02ffcc66d0502cfa844c9e81cf0bab08399518d8efd1c288d153d1d599ec6 SHA512 33bdcc855fa2f84ff8258beb057478828b6874f70ce5909035b4f2a9c8df32b0d757a9f3ccf483222935e3d20e8b0e78740010de08359d7d9402ed336fb0db3b WHIRLPOOL 64f63d05aa25c7d4fa58cdaa5e3a931f08172fefe8eec6bee82d485d37bcbc860654bd7ae9d284a4d0860dcea6cef3e81a3cebaed13869cef47eb3f3f38c0195
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVcCzlAAoJELvuk32y76HUN68QAIX/W++sAMESR0pNFDh+twur
FZzDnq6qNom3SnZwaOEc2HtbDeEsnT9dR/rjw4coB1EQxNibEXWSZLPe+ovWMaf1
YnXfTwTynHh0EqHe01fASqb0DLVhxj4PP/QQ1ntMbcrDFqxNb4nQF/5KolFeg0NO
s6TcZRi1R25JsBttlicQ81IntQmGg2H8FA5H+3/v47cu4a822+HYq552grGhA4rU
mC2b8oXdiaa7cAmmHn3cCZfGhv3OQ3knAucXB488f50sYsd/30Jk6ncY+Ac+zVmb
KWbkoCBF++fPHbEYsMTag2gB8Xb/rgOLC4ezBH2/J6YgNFXTqBEBN3kS34Z67hfg
Y9L2rDLCrgFTWkrb9eK0LNm6bUS86TmTXd4gNTuMnc0Bd9Xc9KSiQoedglQnkba8
wKgVpkyA+YwCzoL6DFFQ6M+aQFOGvv3OaTZ8anASaBFRoqXiOLKXRhcpTgoj6IQ0
j2I4N2mGfDwYdDOMZau48AbeH9Wm2BaktnbHpOF0IePGnW+QtNButm6wy0Pk6Iu0
3K0NtZg9Halgc0r6LMFGW2Cfi7sV3d3G+8ajWVQR65LfivkX5Sv5fbSrpxCB72Kd
0Q3JACXFeJ6ugnQZn8WlPnq0etUcQAlRhgZpUVek9JUnL0L7sdpT/HQX0Q9Xim/A
d32i/gQpzQZBfT2pO2Os
=ts/j
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>jauhien@gentoo.org</email>
<name>Jauhien Piatlicki</name>
</maintainer>
<maintainer>
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<maintainer>
<email>cynede@gentoo.org</email>
</maintainer>
<use>
<flag name="clang">Use <pkg>sys-devel/clang</pkg> for building</flag>
<flag name="libcxx">Use <pkg>sys-libs/libcxx</pkg> as standard
library when building with <pkg>sys-devel/clang</pkg></flag>
<flag name="system-llvm">Use system <pkg>sys-devel/llvm</pkg> in
place of the bundled one</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,142 @@
# 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 $
EAPI=5
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}"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-i386-1ef82402ed16f5a6d2f87a9a62eaa83170e249ec.tar.bz2 )
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"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug doc libcxx +system-llvm"
REQUIRED_USE="libcxx? ( clang )"
CDEPEND="libcxx? ( sys-libs/libcxx )
>=app-eselect/eselect-rust-0.3_pre20150425
!dev-lang/rust:0
"
DEPEND="${CDEPEND}
${PYTHON_DEPS}
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
"
RDEPEND="${CDEPEND}
"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack "${MY_P}-src.tar.gz" || die
mkdir "${MY_P}/dl" || die
cp "${DISTDIR}/rust-stage0"* "${MY_P}/dl/" || die
}
src_prepare() {
local postfix="gentoo-${SLOT}"
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
}
src_configure() {
export CFG_DISABLE_LDCONFIG="notempty"
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
--release-channel=${RUST_CHANNEL} \
--disable-manage-submodules \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \
$(use_enable !debug optimize-llvm) \
$(use_enable !debug optimize-tests) \
$(use_enable doc docs) \
$(use_enable libcxx libcpp) \
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|| die
}
src_compile() {
emake VERBOSE=1
}
src_install() {
unset SUDO_USER
default
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
# le kludge that fixes https://github.com/Heather/gentoo-rust/issues/41
mv "${D}/usr/lib/rust-${PV}/rust-${PV}/rustlib"/* "${D}/usr/lib/rust-${PV}/rustlib/" || die
rmdir "${D}/usr/lib/rust-${PV}/rust-${PV}/rustlib" || die
mv "${D}/usr/lib/rust-${PV}/rust-${PV}/"/* "${D}/usr/lib/rust-${PV}/" || die
rmdir "${D}/usr/lib/rust-${PV}/rust-${PV}/" || die
dodir "/usr/share/doc/rust-${PV}/"
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
rmdir "${D}/usr/share/doc/rust/" || die
cat <<-EOF > "${T}"/50${P}
LDPATH="/usr/lib/${P}"
MANPATH="/usr/share/${P}/man"
EOF
doenvd "${T}"/50${P}
cat <<-EOF > "${T}/provider-${P}"
/usr/bin/rustdoc
/usr/bin/rust-gdb
EOF
dodir /etc/env.d/rust
insinto /etc/env.d/rust
doins "${T}/provider-${P}"
}
pkg_postinst() {
eselect rust update --if-unset
elog "Rust installs a helper script for calling GDB now,"
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
elog "install app-emacs/rust-mode to get emacs support for rust."
fi
if has_version app-editors/gvim || has_version app-editors/vim; then
elog "install app-vim/rust-mode to get vim support for rust."
fi
if has_version 'app-shells/zsh'; then
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
fi
}
pkg_postrm() {
eselect rust unset --if-invalid
}

View File

@ -1,14 +1,14 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.2_pre20150206 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.3_pre20150425 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug doc libcxx +system-llvm
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.2_pre20150206 !dev-lang/rust:0
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.3_pre20150425 !dev-lang/rust:0
REQUIRED_USE=libcxx? ( clang )
SLOT=1.0
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-beta.2-src.tar.gz x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-i386-1ef82402ed16f5a6d2f87a9a62eaa83170e249ec.tar.bz2 ) amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-x86_64-ef2154372e97a3cb687897d027fd51c8f2c5f349.tar.bz2 )
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-src.tar.gz x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-i386-1ef82402ed16f5a6d2f87a9a62eaa83170e249ec.tar.bz2 ) amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-x86_64-ef2154372e97a3cb687897d027fd51c8f2c5f349.tar.bz2 )
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=6135b0bc245f54b6f060000cfc1a9606
_md5_=7260a1f0cac220afc5d35b284f3e9620

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
DEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.3_pre20150428 !dev-lang/rust:0 || ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/perl-5.0 clang? ( sys-devel/clang ) system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)] )
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
IUSE=clang debug doc libcxx +system-llvm
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=libcxx? ( sys-libs/libcxx ) >=app-eselect/eselect-rust-0.3_pre20150428 !dev-lang/rust:0
REQUIRED_USE=libcxx? ( clang )
SLOT=1.0
SRC_URI=http://static.rust-lang.org/dist/rustc-1.0.0-beta.3-src.tar.gz x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-i386-1ef82402ed16f5a6d2f87a9a62eaa83170e249ec.tar.bz2 ) amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-03-27-5520801-linux-x86_64-ef2154372e97a3cb687897d027fd51c8f2c5f349.tar.bz2 )
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 096f8247eae93026af13ab88cf4305cd toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=c6aceb9975709e3ae0ceecffb9dec304