From 5e0ef88cc946beff3e49d30cf4cfb9819da460d2 Mon Sep 17 00:00:00 2001 From: Jauhien Piatlicki Date: Tue, 18 Aug 2015 00:09:05 +0200 Subject: dev-lang/rust-bin: version bump Package-Manager: portage-2.2.18 --- dev-lang/rust-bin/Manifest | 4 +- dev-lang/rust-bin/rust-bin-1.1.0.ebuild | 93 --------------------------------- dev-lang/rust-bin/rust-bin-1.2.0.ebuild | 93 +++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 dev-lang/rust-bin/rust-bin-1.1.0.ebuild create mode 100644 dev-lang/rust-bin/rust-bin-1.2.0.ebuild diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index de469a5a3e61..fa8ef05e1a33 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -1,2 +1,2 @@ -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 +DIST rustc-1.2.0-i686-unknown-linux-gnu.tar.gz 89840371 SHA256 f4c1692479314d63ee67914ec2065778c39ca4912f191a7894caf5264802b4fa SHA512 c89e6fac05c79755db7c15a275ac2a11d781fda10f6851ff13f0dce314f9a373bd5b79d0e1da0780071ce959693d4f08c33e3d18abbabe802922679d1e25a6b6 WHIRLPOOL 56c0636ecdc745fcdb41b77037486ba04c11b6a08568a0ada962687ead31bbd2c8f360894e629428fde4e5e3204d355e402d4a3651c4b13d0422e16beaec9f60 +DIST rustc-1.2.0-x86_64-unknown-linux-gnu.tar.gz 88888977 SHA256 32fb262ba9da26a6d5ad9b2ca420fb56d97af8f86acb5cda2e85b7e7c33f6dcc SHA512 ea87a2c0e05d3f7e7c738320fd08b53055f76703526846b87b885e7abbd320b2f393b9328daa1ca04e9cb545e906c5750b6dcede2ede23323aeab8a8b096ccfd WHIRLPOOL e82ed578218ce19b4a7ca5b9d4c842c5546b5daa6aa3be162393fc0ca7148cf245bb7a79719b10ea7bf43952f8908a6355eea9070f027fcd5f1d70caa37c9931 diff --git a/dev-lang/rust-bin/rust-bin-1.1.0.ebuild b/dev-lang/rust-bin/rust-bin-1.1.0.ebuild deleted file mode 100644 index 409a1b9f9253..000000000000 --- a/dev-lang/rust-bin/rust-bin-1.1.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 -} diff --git a/dev-lang/rust-bin/rust-bin-1.2.0.ebuild b/dev-lang/rust-bin/rust-bin-1.2.0.ebuild new file mode 100644 index 000000000000..409a1b9f9253 --- /dev/null +++ b/dev-lang/rust-bin/rust-bin-1.2.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} -- cgit v1.2.3-65-gdbad