diff options
author | Jauhien Piatlicki <jauhien@gentoo.org> | 2014-07-31 09:52:54 +0000 |
---|---|---|
committer | Jauhien Piatlicki <jauhien@gentoo.org> | 2014-07-31 09:52:54 +0000 |
commit | a3b6a86d8937886935ead78f5bdde1e4db30cc1a (patch) | |
tree | ab22411193eeff13d6e8c495ad94c05e80ea52b7 /dev-lang/rust | |
parent | Stable for HPPA (bug #516314). (diff) | |
download | historical-a3b6a86d8937886935ead78f5bdde1e4db30cc1a.tar.gz historical-a3b6a86d8937886935ead78f5bdde1e4db30cc1a.tar.bz2 historical-a3b6a86d8937886935ead78f5bdde1e4db30cc1a.zip |
version bump, closing bug #516466
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB2EFA1D4
Diffstat (limited to 'dev-lang/rust')
-rw-r--r-- | dev-lang/rust/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/rust/Manifest | 37 | ||||
-rw-r--r-- | dev-lang/rust/files/rust-0.11.0-stage0.patch | 28 | ||||
-rw-r--r-- | dev-lang/rust/metadata.xml | 4 | ||||
-rw-r--r-- | dev-lang/rust/rust-0.11.0.ebuild | 97 |
5 files changed, 156 insertions, 18 deletions
diff --git a/dev-lang/rust/ChangeLog b/dev-lang/rust/ChangeLog index dfc234ac323c..7d25f34f9cdb 100644 --- a/dev-lang/rust/ChangeLog +++ b/dev-lang/rust/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/rust # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.1 2014/05/18 23:46:09 jauhien Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/ChangeLog,v 1.2 2014/07/31 09:52:41 jauhien Exp $ + +*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) diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index 1eb709f34178..e0ae34840fe8 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -2,26 +2,31 @@ Hash: SHA256 AUX 50rust-mode-gentoo.el 59 SHA256 44f3cc0a09a329a75c03b225efc7504660c4f0b876bbd3c0fbe231e70da73146 SHA512 499e9229485d56ca1e3614bf38c104339ba564808c2b2a977d5401070db4761b1464abca51e7c2bc39f839266d9bb1dafe6ba234e9d941a3e7c7611eed8c987b WHIRLPOOL d1b9e5ae99da042466b24d25cf846b2378ff766b4479595e2641d52cc96aa8919857a87eaf3ee2d17bc3dc0684085c00003f96e265673163eb28d5ce7c478d01 +AUX rust-0.11.0-stage0.patch 843 SHA256 e6a583757f625506da2f19526211b8ec11067566e5b28ea225ac0034081d0ab5 SHA512 84a31d006b0620096d8e224e2a0f429ea3a9bd3befccfd72c82872cd1a32b1e7be0394b5cee2dd5b777e89480f9469e05343b975c7ab4015893d85e6ed8a8156 WHIRLPOOL 53b47116705e5aef97dbe457fdee970f0b5665cbeaf78c12b97ecb0d8c0c92c8596e73ea1ddcb15a3bd8abe5771a41080aa316296c37ef164c423a91fb8bb8b1 DIST rust-0.10.tar.gz 19538709 SHA256 c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9 SHA512 c5a36f947864a86241e0e443c7a19a96e7cd052c2fa7c91dacf50a6d5617ce9b6f60c74194af13a173c6360b72d4066ac8f96c0f3be7e8471f5bf77c3263d654 WHIRLPOOL 567b8e41d7e1cad1ccbcbf250a5a1abbe479aaa89bc3d110ba9c53c0c06a44d9e18b056ec2045670be1505e82f70a23cd21b9bee53857122e1e4fb61b62075fd +DIST rust-0.11.0-i686-unknown-linux-gnu.tar.gz 96998445 SHA256 cbfe2050f708479f2625a935d2f41165868f354ff740d2697e08acb2255670b2 SHA512 ed9213ed97351cc7ee30aa4b1177389147771ccaf8d7aa5356cecdb082966a3c5469e08f2693cb840854da523c496c90c47fa3370ceae493638efe82d5994289 WHIRLPOOL baf470655ce9229fad58db537d1fc7d34e5b858d8a06dd94690e0403d0b8d111ed41c22cf1366c7145e22c0ed55851c0bbb56db5d2408c62931c7f76f2a02352 +DIST rust-0.11.0-x86_64-unknown-linux-gnu.tar.gz 97323861 SHA256 331d6374b3c8fca3e2b5fffb65ce75dfce3529bd47333de4a9ce636cb87be432 SHA512 2f98028ddaf9900150fde0bc94f2ffe28a21def3e3c84ffc3d3e5e80ee8b6d5c7010ab01dedf43b768c1c9d356041cf102b43696805f9e15bded2377206510db WHIRLPOOL dd4fcdc4f85fb4aea60cb9b547b4f242b107c3f49f478e10902bf820032b4f620af85a335059bc0fa99e2159be3e66a80a6ea76d193c7643e9cda4c168fd9f5f +DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8 DIST rust-bin-amd64-0.10.tbz2 63434006 SHA256 08011188919ac845a285b03b724bfbebcf5e08199880553749f0a62dfe736c83 SHA512 adb1916a478a7a0d0b3cbc0f13688820fa16e7d26ae6df2e42fb82960a4d0a209bcfa0988351d1cdb5e89c146b951ce0261e3a4486c1801c078c8e713e8d04fd WHIRLPOOL 42114bb56a1c09b56c57549789873f4a553c2ec79af481ddde406aee94ba6232ac02aac335d4a76b4f4fdb0aa666bcc494f8995a9e52cea301daeca356b95e6e DIST rust-bin-x86-0.10.tbz2 63244554 SHA256 8bd67c8d595bdcb3eef50d4c5db5eefeca85d0e657f9557e5159048247d0e480 SHA512 20a671151951a54cba7818cefcb6767ed873f2c126c232be12e1e9540d853bead8ce90a687bd0a0df9812226a421008cf2e0c181f8693f8f37fd1ee6f8e55a33 WHIRLPOOL 489b44c0d24948eab0f252a60bdb61249075058e6004ba1491ad002ad8a9f2f89e37c5e468a447b4e9a98928f515f62e5437afc070f541f7278f6f7e8678f12d EBUILD rust-0.10.ebuild 2232 SHA256 d4e513b9839459ae0aeb174aeac4e5eb6fbab0d87ce77b4791fdb0ce7e7fdbfc SHA512 f8c1f71dd69c264ac3f31cb86b8c8a453beea297f08d004e2e560eaff520a893cdacb6fa9411d68fb82f543f67566723be1dbe07eac9beadaa6a2998094e313f WHIRLPOOL d1e3bb1b467e8032d8aa2a1c6109395331dfd6996da4b8cb4730bad1d3eb0dcd76d09795de45cdc791baefe4ea811a104e99d15ee838f82e53888dd4db39eb3a -MISC ChangeLog 414 SHA256 9f45db10b29d4763aa678c014eb4c7333be950efd6b72368e3f1f2b188531533 SHA512 bf44eb96a0db69110b526d8b3c0ee179439debf8b069f5b9a24bcc0dd88494b7c24696e0c87b0a3e8db51b0ea18422852454b3727d3c0dc910cccd4fcb33311a WHIRLPOOL 2e8b9f7e90311c3579abc3b73b33c3a6b0bdcb2ec88dbf6ac4682f3256ff6ee92dd380d4037e79a740c1008b56051df71541d7e5cdf650663e553f5e0fda7691 -MISC metadata.xml 415 SHA256 f0a8f51b4520a957c27e97c705c4a41c524cef724f00e12a491630b15295648e SHA512 1601a2906f0edef2e34e9776a4ac39561af19080d4875d6285c5fe8aff1bfa12a3c781fd49fe69cf420b1e3e2c5983e7c6061ac9960e46443f904c6a8fa36b50 WHIRLPOOL 0898811b0a78e6d68de47543c75f316517821e44926eab2b9feff6ffcf5e95094e767b9cd8d5fd36d139a00b514c09ea9a3192f4e93ea9eebf7c08a672239ce2 +EBUILD rust-0.11.0.ebuild 2385 SHA256 aee5c583087af127fbb6b7555fa279a1e4826d94c25e3ee3a5462f78004e247a SHA512 090a1ba7d456d9e23ed990189a719ce1cc9f53a886e2c05c17a12964a224c40b2ce0c99534b30408f62d98c1c1515dff6fefc2657680a1a53bb75940343504d2 WHIRLPOOL dd195d8dbba77c1251730472d4afb322c7321485eae0ee8cab0d22ffa0f8d441c9ac82dcb28d92f2a0800191b3ac7e6e50e5b54ea55213b1828ca33d5111519d +MISC ChangeLog 603 SHA256 527240275971513239f0186d446717bc2cc545bf2f32fcbb5ebc1ec761be554e SHA512 1da18c72f23c995ae819be61e0b8a346e3ca1fd375464f686e751f83caa288070ea997fa85d343c6ca485566b7e3320c1c721040e3941a0f837e8736f6e09a95 WHIRLPOOL bf90ae5d2034f5cfcddcad3cb64a05dd74d9af4cd73e0881480777ad5f9e8c7b1e06bcf8f2d419a5769eb7f2866dec1ce2ff04cbf03af46025eaf6f30db93cf9 +MISC metadata.xml 558 SHA256 8448930fa5db8e2b4c22426e86fe18bff7b2b5dda5b5403a1cf2e67eb21d11e5 SHA512 8cab83213f7e3db20f270afa3584bb404f1ef82f282a651e8f56ec78e06840674fadb13ff44dfbc38cf63da3f27961e2f1b94df3adfaa2e6173a395362e01985 WHIRLPOOL a9bf34170565eb48d6a5f927bed168ecb54f36bf98548e7984fc03f4d53301ac0fca3d35d190eda06856f850e2bf2d1f4502dcc1a960db14dcb67b8cb931ad84 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2 -iQIcBAEBCAAGBQJTeUZQAAoJELvuk32y76HU/IsP/39L0JGpEBBagcWe3GDFRPLL -vaRFvk2sv+/sfTd2Nq+OzH+o5nwULxAZnG/5jYBRon7saBoEAfBFKmG1UPk8TJB0 -rGUnGOfoyT4W4yE5uOWoNUCC9rp9VcUm/fm8M1slN6a0UOfFjQvLyHlko6CqWwYs -ff89oc931AvTXUzHy4PWbWVIt1ZXyhW7Uknh5FsBITHzjomAkX0kblCjYMdMSfXz -1UmmcxtvNP28oW4mkHxRETa/vnbNUcTQt/bFXgQ+kgqrnh7tF/nH7MrOCPux93ye -GctM1EiLdpb8oEXw+Ad+9RIXJzfwXuMLjrIEX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8 +O/z4cxL6p3V7yWxJYf5S +=skh7 -----END PGP SIGNATURE----- diff --git a/dev-lang/rust/files/rust-0.11.0-stage0.patch b/dev-lang/rust/files/rust-0.11.0-stage0.patch new file mode 100644 index 000000000000..2416cefa9d3d --- /dev/null +++ b/dev-lang/rust/files/rust-0.11.0-stage0.patch @@ -0,0 +1,28 @@ +--- src/libcore/ops.rs ++++ src/libcore/ops.rs +@@ -570,12 +570,6 @@ + + macro_rules! shl_impl( + ($($t:ty)*) => ($( +- #[cfg(stage0)] +- impl Shl<$t, $t> for $t { +- #[inline] +- fn shl(&self, other: &$t) -> $t { (*self) << (*other) } +- } +- #[cfg(not(stage0), not(test))] + impl Shl<$t, $t> for $t { + #[inline] + fn shl(&self, other: &$t) -> $t { +@@ -619,12 +613,6 @@ + + macro_rules! shr_impl( + ($($t:ty)*) => ($( +- #[cfg(stage0, not(test))] +- impl Shr<$t, $t> for $t { +- #[inline] +- fn shr(&self, other: &$t) -> $t { (*self) >> (*other) } +- } +- #[cfg(not(stage0), not(test))] + impl Shr<$t, $t> for $t { + #[inline] + fn shr(&self, other: &$t) -> $t { (*self) >> (*other as uint) } diff --git a/dev-lang/rust/metadata.xml b/dev-lang/rust/metadata.xml index a077e38baebf..b2372428725b 100644 --- a/dev-lang/rust/metadata.xml +++ b/dev-lang/rust/metadata.xml @@ -6,7 +6,9 @@ <name>Jauhien Piatlicki</name> </maintainer> <use> - <flag name="clang">Use sys-devel/clang for building</flag> <flag name="binary-bootstrap">Download precompiled rust for compilator bootstrap</flag> + <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> </use> </pkgmetadata> diff --git a/dev-lang/rust/rust-0.11.0.ebuild b/dev-lang/rust/rust-0.11.0.ebuild new file mode 100644 index 000000000000..2880ec4e734b --- /dev/null +++ b/dev-lang/rust/rust-0.11.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust/rust-0.11.0.ebuild,v 1.1 2014/07/31 09:52:41 jauhien Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit elisp-common eutils python-any-r1 + +DESCRIPTION="Systems programming language from Mozilla" +HOMEPAGE="http://www.rust-lang.org/" + +ARCH_SRC_URI="amd64? ( http://static.rust-lang.org/dist/${P}-x86_64-unknown-linux-gnu.tar.gz ) + x86? ( http://static.rust-lang.org/dist/${P}-i686-unknown-linux-gnu.tar.gz )" + +SRC_URI="http://static.rust-lang.org/dist/${P}.tar.gz ${ARCH_SRC_URI}" + +LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="clang debug emacs libcxx vim-syntax zsh-completion" +REQUIRED_USE="libcxx? ( clang )" + +RDEPEND="vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) + zsh-completion? ( app-shells/zsh )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + >=dev-lang/perl-5.0 + clang? ( sys-devel/clang ) + emacs? ( virtual/emacs ) + libcxx? ( sys-libs/libcxx )" + +SITEFILE="50${PN}-mode-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}/${P}-stage0.patch" +} + +src_configure() { + use amd64 && ARCH_POSTFIX="x86_64" + use x86 && ARCH_POSTFIX="i686" + LOCAL_RUST_PATH="${WORKDIR}/${P}-${ARCH_POSTFIX}-unknown-linux-gnu" + + "${ECONF_SOURCE:-.}"/configure \ + --prefix="${EPREFIX}/usr/" \ + $(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 libcxx libcpp) \ + --enable-local-rust \ + --local-rust-root="${LOCAL_RUST_PATH}" \ + --disable-manage-submodules \ + || die +} + +src_compile() { + default + + if use emacs; then + cd src/etc/emacs || die + elisp-compile *.el + elisp-make-autoload-file "${PN}-mode-autoloads.el" . + fi +} + +src_install() { + default + + if use emacs; then + elisp-install ${PN}-mode src/etc/emacs/*.el src/etc/emacs/*.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles + doins -r src/etc/vim/* + fi + + if use zsh-completion; then + insinto "/usr/share/zsh/site-functions" + doins src/etc/zsh/_rust + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |