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

This commit is contained in:
Alex Crawford 2015-07-06 18:21:47 -07:00
parent 9d50045378
commit 75836ac1d2
5 changed files with 198 additions and 0 deletions

View File

@ -0,0 +1,60 @@
# ChangeLog for dev-lang/rust-bin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/ChangeLog,v 1.10 2015/07/04 15:05:18 jauhien Exp $
*rust-bin-1.1.0 (04 Jul 2015)
04 Jul 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-bin-1.1.0.ebuild,
-rust-bin-1.0.0.ebuild:
version bump
06 Jun 2015; Jauhien Piatlicki <jauhien@gentoo.org> rust-bin-1.0.0.ebuild:
move to new SLOTs schema
*rust-bin-1.0.0 (04 Jun 2015)
04 Jun 2015; Jauhien Piatlicki <jauhien@gentoo.org> +rust-bin-1.0.0.ebuild,
-rust-bin-1.0.0_beta2.ebuild, -rust-bin-1.0.0_beta3.ebuild, metadata.xml:
version bump
*rust-bin-1.0.0_beta3 (03 May 2015)
03 May 2015; Jauhien Piatlicki <jauhien@gentoo.org>
+rust-bin-1.0.0_beta3.ebuild, -rust-bin-1.0.0_beta.ebuild:
version bump
*rust-bin-1.0.0_beta2 (20 Apr 2015)
20 Apr 2015; Jauhien Piatlicki <jauhien@gentoo.org>
+rust-bin-1.0.0_beta2.ebuild:
version bump
*rust-bin-1.0.0_beta (11 Apr 2015)
11 Apr 2015; <jauhien@gentoo.org> +rust-bin-1.0.0_beta.ebuild,
-rust-bin-1.0.0_alpha2.ebuild, metadata.xml:
version bump, sync with overlay, cargo support, close bug#541298
31 Mar 2015; Ulrich Müller <ulm@gentoo.org> rust-bin-1.0.0_alpha2.ebuild:
Update dependency after package move of eselect modules to app-eselect.
*rust-bin-1.0.0_alpha2 (24 Feb 2015)
24 Feb 2015; Jauhien Piatlicki <jauhien@gentoo.org>
+rust-bin-1.0.0_alpha2.ebuild, -rust-bin-1.0.0_alpha.ebuild:
version bump
*rust-bin-1.0.0_alpha (10 Feb 2015)
10 Feb 2015; Jauhien Piatlicki <jauhien@gentoo.org>
+rust-bin-1.0.0_alpha.ebuild, -files/rust-bin-0.12.0-no-ldconfig.patch,
-rust-bin-0.12.0.ebuild, -rust-bin-999.ebuild:
version bump, move live ebuild to rust overlay
*rust-bin-999 (18 Oct 2014)
*rust-bin-0.12.0 (18 Oct 2014)
18 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+files/rust-bin-0.12.0-no-ldconfig.patch, +metadata.xml,
+rust-bin-0.12.0.ebuild, +rust-bin-999.ebuild:
initila import from the rust overlay

View File

@ -0,0 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST rustc-1.1.0-i686-unknown-linux-gnu.tar.gz 87517937 SHA256 1a4e6845ed58a84fc8e2abe5b3a286c09fb2ac39d4848a6d511cdce336e4a207 SHA512 bdeb558b38d0df135973693c93fa41d5d30adcd222db273806ee2f49fcd1a571ad7f25208a64645540f22a0f9a6ed9142b9a20c3c3a043a0c783e9492e646b91 WHIRLPOOL 7b355e10d9c3aa0dbfba7138a18c45b31fe1f2614277718119ea5a28d20cc1032fa54730762efa07c604bb370730634b307a2d03b5bea16180030971972df6f1
DIST rustc-1.1.0-x86_64-unknown-linux-gnu.tar.gz 86176446 SHA256 87ead57db95f059fe0b1d901f5d8f3fa0f7cce5d056a42d9486626997f4a1df2 SHA512 0a6ff00aa3a475c72111d23e8cb605759734d562b036d554c8c9e3472d1d1be663cc1f0a2c25aea55b032d15aae5726edafa2bd719c48ee2696bbd28632787d3 WHIRLPOOL 224eb012a6a989c3078c0cac6442c3e3289fd9c061edca34c99a2b8ce8529b0f760cd5e2e67a5a6acf6666cf3e79c28d68aea3a1a5aac04e24f19359fa26e3bc
EBUILD rust-bin-1.1.0.ebuild 2531 SHA256 9e1ddf01c2472d9407f398ce3e31e5af0307c4ae4f6c1885a6b1ff803768777b SHA512 5eddc9ad68319d8c39df9f7a0263957fb6e4a509ff111008ed1e699b12920ae546c1423ecc3daec7189a6693f3da837acb24832e7bb24289837661db16cbd8d5 WHIRLPOOL 3ad625d3596e5d088bd2fe3c081d7e46ec765e55e56ef9672e28606f3a2813171d0c93d8394e4c0fa7a9e4d6acd4a01d2785a0ec959d2e9c5d149029083504f8
MISC ChangeLog 2038 SHA256 e4068a0c931902bcf38fb040938d9641d403223b6a21eb42db2baa82a097dcce SHA512 7fb709111dac852fbb2cb64d04f49280a27adb02e9fa701f513287a6f390888d796bb661563dd6c4616e15a820fcd63166828090adc0ce90f67db3e8e3a7591d WHIRLPOOL 877f5260ebcb89f7e51021e940248a071210a32fd92d0d759a5d9b64b0e3a5304391f82aae2e420e25edf794df503f7e65294a7924e0d2f6861bb06414c8b67c
MISC metadata.xml 243 SHA256 18abd81b04a3651cbf1290466163ecb9269199286408c133021daa0e74869f47 SHA512 4bdc4acc90c8a444f645f1f058d2eed96adddb53fc28554f8eca840c744c320158daf264e28b644d67dcda59299d921f84eddbdd471b780b2e5bcae78ddbaaae WHIRLPOOL 0643256f713a85f274a4d748f885edc6db04407fb28eaf3c73803b96c8a9d6c79c15ce162c13096958d0f10500f8edf8d1ac0833f2d256988686ad987811622a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVl/aVAAoJELvuk32y76HU0ewP/2hBBYtkrIxbs8BUQl9ihcMQ
WogbNyb2s/x8K9q4IKUZju+Dh7o7H8/RiOrbHkjL88xi/zqaP2ao7XLCUNbGrykj
o5/oXeWmpsj+wmorxXU0DQGsxDQ8UB6wj8X+DIiVR/TM+QkWw0MMUi+H2cz8ZLFf
vql8CND5OWTZbmHMOtRImHUtXA021aomLokDVvozQThSSMqO4bnBkJEUH1UrL7WL
DMMkHaJWq1vRGg/xLzT3Lng9JK+kcOL7t5Oo5sQ3OhXBqf+BQDUREnHkTMeYPqA6
nFLPHW8lccx73oeXKLC8cg7VCJIyeU5L1jAXAYgHSop7hjiQln+UW5QYWO3uVPsR
LsgpSKOJ1/xzOUaLeGsc52W6ZX/L5geaZmYLh2MOb585jbbudR4Fuyo1LPB96n7d
3h9mikFAfjTROhW38nXzp05B3Kg61gWxfy5cjR0S3J1dSB2P/CCguJDSByLvsIIS
ooYJQ/H+F+qNrrJTieZip4o3gt1v+XCcWVeFcfkwPw0itMPOyQDHw9sE47PjzKfd
3UQ4XjEk4cZ2L3MRXYn0w0iD7BQSYRpCLmzXNeFMekZXoXbrmvL4L3sLiQFZKBl5
eEfIITaG5y22CqWbRGYscVD7MrqDjL0ej9iHlGSLnqVa/ny6eY1qNZzWdW3RLi/3
zvy3GxlhwZXQ3CJcIcXE
=0VsH
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,8 @@
<?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>
</pkgmetadata>

View File

@ -0,0 +1,93 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-1.1.0.ebuild,v 1.1 2015/07/04 15:05:18 jauhien Exp $
EAPI=5
inherit eutils bash-completion-r1
MY_P="rustc-${PV}"
DESCRIPTION="Systems programming language from Mozilla"
HOMEPAGE="http://www.rust-lang.org/"
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="stable"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
!dev-lang/rust:0
"
RDEPEND="${DEPEND}"
src_unpack() {
default
local postfix
use amd64 && postfix=x86_64-unknown-linux-gnu
use x86 && postfix=i686-unknown-linux-gnu
mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
}
src_install() {
local components=rustc
./install.sh \
--components="${components}" \
--disable-verify \
--prefix="${D}/opt/${P}" \
--mandir="${D}/usr/share/${P}/man" \
--disable-ldconfig \
|| die
local rustc=rustc-bin-${PV}
local rustdoc=rustdoc-bin-${PV}
local rustgdb=rust-gdb-bin-${PV}
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
cat <<-EOF > "${T}"/50${P}
LDPATH="/opt/${P}/lib"
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-bin-${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

@ -0,0 +1,12 @@
DEFINED_PHASES=install postinst postrm unpack
DEPEND=>=app-eselect/eselect-rust-0.3_pre20150425 !dev-lang/rust:0
DESCRIPTION=Systems programming language from Mozilla
EAPI=5
HOMEPAGE=http://www.rust-lang.org/
KEYWORDS=~amd64 ~x86
LICENSE=|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA
RDEPEND=>=app-eselect/eselect-rust-0.3_pre20150425 !dev-lang/rust:0
SLOT=stable
SRC_URI=amd64? ( http://static.rust-lang.org/dist/rustc-1.1.0-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/rustc-1.1.0-i686-unknown-linux-gnu.tar.gz )
_eclasses_=bash-completion-r1 c8399c7c7ecbcf7ed6e5bd3abb3d4af3 eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
_md5_=6c2f4abb0691086b5a3800bf7b64e24f