From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D77B01395E4 for ; Sat, 19 Nov 2016 20:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33125E0A84; Sat, 19 Nov 2016 20:39:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06ECAE0A84 for ; Sat, 19 Nov 2016 20:39:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E1F8340988 for ; Sat, 19 Nov 2016 20:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E779D4A0 for ; Sat, 19 Nov 2016 20:39:37 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1479587845.0ac4dd91404e1fe250e202bd1310a21634612f05.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/Manifest dev-lang/rust/rust-1.13.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 0ac4dd91404e1fe250e202bd1310a21634612f05 X-VCS-Branch: master Date: Sat, 19 Nov 2016 20:39:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22594124-1ae1-4514-aa84-e738417872cb X-Archives-Hash: dfbf7a500de8884e876418ea8212025a commit: 0ac4dd91404e1fe250e202bd1310a21634612f05 Author: Dirkjan Ochtman gentoo org> AuthorDate: Sat Nov 19 20:37:25 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sat Nov 19 20:37:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac4dd91 dev-lang/rust: version bump to 1.13.0 Package-Manager: portage-2.3.0 dev-lang/rust/Manifest | 3 + dev-lang/rust/rust-1.13.0.ebuild | 153 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+) diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index 9703908..e765bfc 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -4,4 +4,7 @@ DIST rustc-1.11.0-i686-unknown-linux-gnu.tar.gz 45977053 SHA256 16273afc0540b435 DIST rustc-1.11.0-src.tar.gz 26126471 SHA256 3685034a78e70637bdfa3117619f759f2481002fd9abbc78cc0f737c9974de6a SHA512 6ad050a02e3a3b48f205f5d5ed9393fd2a1a2237e5c78b3e51af8162f410b93a831ebe5980ce78c4d38c5a692395c7fec8442956497a5d21e9f7157404c6b5aa WHIRLPOOL f57ea2f42c97256427964f3a553207a2b587b1e4f1c2636c66d9c47f92a9de508a64ba8288ab3a80444d9dba1c59d545be876448a1f80f283c69a4cc3356da25 DIST rustc-1.11.0-x86_64-unknown-linux-gnu.tar.gz 45436770 SHA256 e9d27a72900da33c1bbd0e59dd42fd6414c6bcdfa33593fb7c7360068406394a SHA512 a7565f00761cd4b2bd1e873bc9a75f52f3ba12379b4e1055e8aaf7c1818fb6357a4270630365fc8d7fb73816aa6f5520e6ac6e667105a4e0459d3755852d8d51 WHIRLPOOL fc708585b5ab6e1c62052b77ab08ebd560f8f1861a004653fb3636feb0f4fd33d01e1c793dc428d7172d2005050809f24321820c4d48503eea59a686e172f2d6 DIST rustc-1.12.0-src.tar.gz 27501444 SHA256 ac5907d6fa96c19bd5901d8d99383fb8755127571ead3d4070cce9c1fb5f337a SHA512 0bd98c3a8c37420877e8e71b80e376d3b34c35a7bea9a986b7f332ab1885d76d456dbcbae6bf52e1155231bbf93284699ddc0d5297cc19b74d97bdfd8b804adc WHIRLPOOL 17cb131bd60bc8bb8abf882006367b992fb563c2a7df9bc19821dfa93cb5d01c83c7c057fabb13534492a686e331ad913c5dc08d186ef1c68c9161f81f2680a4 +DIST rustc-1.12.1-i686-unknown-linux-gnu.tar.gz 49384200 SHA256 6c1f62db6f9c317aa656774b5193ce3d0783de4c73f2424d98ff4c9f1f962d25 SHA512 e6ae7c6a8070322dc32e19f119df5ed6c66f2024c6f22e4ed9fdc6cd057942d859078b371087da654bf04e4c92fb6bf130130bd3e6c593801a96aee8ed2d5638 WHIRLPOOL d4c1d677db805fa1c771a4135378fbba48079981948885d8d61efb0072b2f87d1b9dbd24aa76febab3c3da68b80512acf6b2470eb0d97331c6cc2fbb04d402d7 DIST rustc-1.12.1-src.tar.gz 27511443 SHA256 97913ae4cb255618aaacd1a534b11f343634b040b32656250d09d8d9ec02d3dc SHA512 1923e9efb9f7ca4d691a8d368fd327c80892a019a85716876e21b794584422a2050362388511c7e0763975c6ffad20cc06ce6f86b3ea5fe36f64dbd59aabc821 WHIRLPOOL 74a9d2b9f4e3be96ef30a037cb1eec6fa70f7bf266f6aff8324bf8314457177edf1a8bef839843c72a1a06910e024f7a80f9c84f6151edcbc5f2548ffbd7dcaa +DIST rustc-1.12.1-x86_64-unknown-linux-gnu.tar.gz 47642897 SHA256 a753e3b6cfa8417978e4bfc0d3282f22be4abc5e106af39f4cb54dc775f64546 SHA512 4b0d769b453885b5129d7707cc36c5265a32e78482958c501a91d82d52bc0b0d594ab4f64ce3453c5e83976340e018611abdd66b587330499b93c4405f93545f WHIRLPOOL 7b3f19141796e8ff8c6a26d695f8270ec6a89b249b7e3b1673c943a787ac949e98484468962c22e23d00151cfdb2489c988c69ee29cd0bea58bb025a5cdea275 +DIST rustc-1.13.0-src.tar.gz 27483805 SHA256 ecb84775ca977a5efec14d0cad19621a155bfcbbf46e8050d18721bb1e3e5084 SHA512 6d2983c28834165139b06b9f1bdc909c35814b32500072f5265a53360f7ca54f3a34a1e463a1c0ce58ffd0d3d7c3cb5b1b4ddcb24a374e2279fbbdc30b03d992 WHIRLPOOL 51f9563fcc2cb352cf0f814002da5d35bf83e22c448b965a4eb041de636671ddb982e766582c2577c6c17eec45014c05d89b1c11cd7b7180a18c44939cced435 diff --git a/dev-lang/rust/rust-1.13.0.ebuild b/dev-lang/rust/rust-1.13.0.ebuild new file mode 100644 index 00000000..a26c7a8 --- /dev/null +++ b/dev-lang/rust/rust-1.13.0.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-any-r1 versionator toolchain-funcs + +if [[ ${PV} = *beta* ]]; then + betaver=${PV//*beta} + BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}" + MY_P="rustc-beta" + SLOT="beta/${PV}" + SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz" + KEYWORDS="" +else + ABI_VER="$(get_version_component_range 1-2)" + SLOT="stable/${ABI_VER}" + MY_P="rustc-${PV}" + SRC="${MY_P}-src.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +CARGO_VERSION="0.$(($(get_version_component_range 2) + 1)).0" +STAGE0_VERSION="1.$(($(get_version_component_range 2) - 1)).1" +RUST_STAGE0_amd64="rustc-${STAGE0_VERSION}-x86_64-unknown-linux-gnu" +RUST_STAGE0_x86="rustc-${STAGE0_VERSION}-i686-unknown-linux-gnu" + +DESCRIPTION="Systems programming language from Mozilla" +HOMEPAGE="http://www.rust-lang.org/" + +SRC_URI="https://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz + amd64? ( https://static.rust-lang.org/dist/${RUST_STAGE0_amd64}.tar.gz ) + x86? ( https://static.rust-lang.org/dist/${RUST_STAGE0_x86}.tar.gz ) +" + +LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" + +IUSE="clang debug doc libcxx +system-llvm" +REQUIRED_USE="libcxx? ( clang )" + +RDEPEND="libcxx? ( sys-libs/libcxx ) + system-llvm? ( >=sys-devel/llvm-3.8.1-r2 + "${T}"/50${P} + LDPATH="/usr/$(get_libdir)/${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-vim 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 +}