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 3BA4D1382F6 for ; Fri, 8 Jul 2016 10:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E660BE099D; Fri, 8 Jul 2016 10:10:26 +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 44975E099D for ; Fri, 8 Jul 2016 10:10:26 +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 C7AFA340A98 for ; Fri, 8 Jul 2016 10:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AC4F2435 for ; Fri, 8 Jul 2016 10:10:22 +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: <1467972606.25c8791cbb9cd281b0a62cf4fc04a58ed4a5bac2.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.10.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 25c8791cbb9cd281b0a62cf4fc04a58ed4a5bac2 X-VCS-Branch: master Date: Fri, 8 Jul 2016 10:10:22 +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: 7b927501-ad84-462f-87d9-0131aa5af5c2 X-Archives-Hash: 4f87de0c4c96e70833bdaa54e093d085 commit: 25c8791cbb9cd281b0a62cf4fc04a58ed4a5bac2 Author: Dirkjan Ochtman gentoo org> AuthorDate: Fri Jul 8 10:08:31 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Fri Jul 8 10:10:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c8791c dev-lang/rust: version bump to 1.10.0 Package-Manager: portage-2.2.28 dev-lang/rust/Manifest | 3 + dev-lang/rust/rust-1.10.0.ebuild | 154 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index d2cebbb..7d66bc2 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -10,9 +10,12 @@ DIST rust-stage0-2016-02-17-4d3eebf-linux-i386-5f194aa7628c0703f0fd48adc4ec7f3cc DIST rust-stage0-2016-02-17-4d3eebf-linux-x86_64-d29b7607d13d64078b6324aec82926fb493f59ba.tar.bz2 18113844 SHA256 8deb8b687cb7d89ea943745c16c1061225fcbb5c64c0c121cdd1cb68673e683e SHA512 bc27a7a8cea328c2ad677dbdb261563fba0354313b53f600924cdb147c3b9a5ad7ef8354114e43e0803016c7cc0dad6af274502259edecbde385383a2160b398 WHIRLPOOL d217ea287a377a691335ec4206b515bfb7904a6393e412c5376e5a6ae99870bf9a31065e8815e3cf1348535dabf60b97dcbf4934a66c8ef2264b08eedd3815be DIST rust-stage0-2016-03-18-235d774-linux-i386-0e0e4448b80d0a12b75485795244bb3857a0a7ef.tar.bz2 18489693 SHA256 36958fcd55387d7b1b86618111fa8660c1d488fe191e85ad9659c6470874322b SHA512 3e729e7c9340060c5eaa13b0420cc3b10eb968312bfceb4d072e5e16673a393c1b51b34b2c43f91953a2b44f0b0fe549215e5c284695d5a3626a3dc703693fd6 WHIRLPOOL 9a7064933b4387de6c6158c5a9645be1b3cd05d1cbd66c8e30a5efb63d08fd8aed8c5695e850fb3e3f92577b59fd2243b467d9ed509b913f652abddd206f68db DIST rust-stage0-2016-03-18-235d774-linux-x86_64-1273b6b6aed421c9e40c59f366d0df6092ec0397.tar.bz2 17950752 SHA256 a8ca657d78162a9f0a69a1ec8b0460e97259cdf2e6353ee256ae206876c9637e SHA512 77694229b9aca58eab866acf6d52f381d9b4faa8c7698c17b2de90fa396eba17f3e12411b2cc4639607f7418d1382365e15039fb4ed247158a7d5542ce3b8b59 WHIRLPOOL a58f3d9e8e319b4852513e4c172dc733f5080032eb6f2c33ddd9b336891586318761db0e6dcc3ff54113cc32ee256fd356a672cb50ae316ca4d1a7be3d5591d6 +DIST rustc-1.10.0-src.tar.gz 25967780 SHA256 a4015aacf4f6d8a8239253c4da46e7abaa8584f8214d1828d2ff0a8f56176869 SHA512 fdef0a4c458ce687ab2921fb879cf6f68ae7ec4d780e407fea80cb751d70d80e621fc37756358d8336383c24646d9e2869215b3591b2240904206df2e58a7e45 WHIRLPOOL daa9775e515f6466c7344518e2afff96d01f62bb15cb01e6d4889ec338189b9584f7f9b5d6d340e00aa995490a09eecad1c4db0d98e068e4256081724c668644 DIST rustc-1.2.0-src.tar.gz 23863924 SHA256 ea6eb983daf2a073df57186a58f0d4ce0e85c711bec13c627a8c85d51b6a6d78 SHA512 2596c0dddff0276916edbb7d68ae610209c75d53d89f1f15dc56ad7408e235dbedfcd1bba9c446dd1e32a8d274cedebb7b32b328223280c28ab546bbd06f1c76 WHIRLPOOL 741118f7e265129bfd0f0d66487e12dc8f95018d8479e8f3cde555160abdb29ade9c69607a2daa088ae3dbe74c1120c16141248cd771a6e56759ce10cfc45a62 DIST rustc-1.3.0-src.tar.gz 24308223 SHA256 ea02d7bc9e7de5b8be3fe6b37ea9b2bd823f9a532c8e4c47d02f37f24ffa3126 SHA512 d9a4851d958e6a62f0997af5451c1c1ba2bd3ace595cf9f1dbc5977a6efb0ba802d108d4aa6fc29540c41b36d7f5a04e518700b5c1426fe18d1627d5fa779d58 WHIRLPOOL 21d9216bfa31b71e04ad35b4d72fd2b7b466b89cf62be2f9b0d734af21d1cba2050171bf3b9757c14a675fae11b869fcda30abc528e07ddcdc9d1a2bf0e3b7dc DIST rustc-1.5.0-src.tar.gz 24586539 SHA256 641037af7b7b6cad0b231cc20671f8a314fbf2f40fc0901d0b877c39fc8da5a0 SHA512 c56f02f39093e5ce1f9a29b295ea1a6d69192d554a64c1b49b6bb5328884e9bbfb1681ea4362166e3fa91ff4b4e17c9a9de6720a70d22a852060bd6b9de6a30b WHIRLPOOL a6138754168065dca7d5a68afd99dc9a2eb0abcbf2eb8d3908646c2e3e6fd84b344dd96ba7d2fe6db4ae703baa0ab60a3594471705b5173ba3e45a959b0a97c1 DIST rustc-1.7.0-src.tar.gz 25097611 SHA256 6df96059d87b718676d9cd879672e4e22418b6093396b4ccb5b5b66df37bf13a SHA512 ef49bba9e8324c5b24a257131a31df4902f13ee4e0b763a2260df6ac8abbb150a6b9e5b36f52c6dc6c3f63fd3b1a9fb303a072973b054851f5d03a0d32df7317 WHIRLPOOL f39953c678f42fa44da4b27eddb87627cd9b10a9002457c895cbae119d778a7496aebb1776cf0cfb4cd48f54513faf3d1b3b1afb7ee879d93978351443eb5963 DIST rustc-1.8.0-src.tar.gz 25641320 SHA256 af4466147e8d4db4de2a46e07494d2dc2d96313c5b37da34237f511c905f7449 SHA512 96e1ef3644053849354f84737f0a9ae09786f6a1a16ca5f10cba261b2bc5f2e82e8d369ed7430116d0b9bf8a52c2b16bd581d042be86862a9095fd161f3283bd WHIRLPOOL b70ff752d9cc8efd910c9889372fd6303a40b0cce3e4ef0d566e8ec9274cf80b1739955089cd6b73300c675e89d1edba2765e2f7e9f793b036286813ed55626d +DIST rustc-1.9.0-i686-unknown-linux-gnu.tar.gz 45887218 SHA256 2951dec835827974d03c7aafbf2c969f39bb530e1c200fd46f90bc01772fae39 SHA512 6d799a464f93aecb24ded4e9af634d7852f9930968814700e90353888657f9f556dda156455cb8cabca0e5f42c8d0f7864d43294687c8ce57518e21bebad99f7 WHIRLPOOL da145280c6558cd36d40450203fc61081282a64a2145b75998806964be731e91378e571a9c9b6b7fe1b488c6dd303105a9f47c0b1c6c77a6426ed1aaa0756df4 DIST rustc-1.9.0-src.tar.gz 25859714 SHA256 b19b21193d7d36039debeaaa1f61cbf98787e0ce94bd85c5cbe2a59462d7cfcd SHA512 bb23d529daaea17cd6358057ad7c219b1bf2206331a9813520f9e3a519698f6d274a6c25f579dab9e8e48fe0c6e51e7eb473885cb1fb65128e715e06778b62f7 WHIRLPOOL 23393e5842d2af5bffaca34909be5293198a2ceedb3d6db55920e375e3860411cf51f5148264d9e172ec088f26706529f24ed05d97ca09387f0d25f90c23ed85 +DIST rustc-1.9.0-x86_64-unknown-linux-gnu.tar.gz 45246956 SHA256 d0704d10237c66c3efafa6f7e5570c59a1d3fe5c6d99487540f90ebb37cd84c4 SHA512 37a4c62f09e2b49cf7a898eeefd3843ef17f3dc433a4f55cb5c3d5c315effb9e0750c275bb0fc91e5ada6c42924af5c7f890874c5917d41a4723c60b209d1c0d WHIRLPOOL f3aeaaf9c93a177c2a944eaae994b5d3c6d2c31923d468bda16cce845e3ae87ac3747c2f025ec1e78054cc001d3c3abf629534f7b6b454e394192ead8e614d3d diff --git a/dev-lang/rust/rust-1.10.0.ebuild b/dev-lang/rust/rust-1.10.0.ebuild new file mode 100644 index 0000000..f54624b --- /dev/null +++ b/dev-lang/rust/rust-1.10.0.ebuild @@ -0,0 +1,154 @@ +# 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 + +STAGE0_VERSION="1.$(($(get_version_component_range 2) - 1)).0" +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.7.1-r1:=[multitarget] + "${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-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 +}