diff options
author | 2019-10-20 15:21:23 -0500 | |
---|---|---|
committer | 2019-10-20 15:21:23 -0500 | |
commit | d4726b5f07195731ab368d0a4dee20d40e99b786 (patch) | |
tree | b2b8b9c0f32732f222815ca65d8b63bb4444d894 /dev-lang | |
parent | Merge pull request #451 from stefson/cranelift-0.46.1 (diff) | |
download | rust-d4726b5f07195731ab368d0a4dee20d40e99b786.tar.gz rust-d4726b5f07195731ab368d0a4dee20d40e99b786.tar.bz2 rust-d4726b5f07195731ab368d0a4dee20d40e99b786.zip |
dev-lang/rust-std-bin: version bump
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Manifest-Sign-Key: 0xB8A2E0A105BE6F29
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust-std-bin/Manifest | 24 | ||||
-rw-r--r-- | dev-lang/rust-std-bin/rust-std-bin-1.37.0.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/rust-std-bin/rust-std-bin-1.38.0.ebuild | 94 |
3 files changed, 119 insertions, 1 deletions
diff --git a/dev-lang/rust-std-bin/Manifest b/dev-lang/rust-std-bin/Manifest index 2315df0..ad4868a 100644 --- a/dev-lang/rust-std-bin/Manifest +++ b/dev-lang/rust-std-bin/Manifest @@ -1,5 +1,29 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST rust-std-1.37.0-aarch64-unknown-linux-gnu.tar.xz 68021180 SHA256 eb0105a56563112ac841171d94d92ce1e7da1e7affa26488c04cb1dbe822c76b SHA512 c2cc83936bd65aca5cb876ad8cf846da087e2c104696437d31795635fa5f6f3b2a61810bab827ac7c2c2f25eff716505d7ce6516458e07ab060f3e6902d422c8 WHIRLPOOL 6187f85e426853fc6b75b84ebf9135fa4b2237b0cc2465e5f9f61d39a6948c9bc0dafc0147b72c43f10eb687cc92309083883442985676f4a8737b1566080d79 DIST rust-std-1.37.0-arm-unknown-linux-gnueabi.tar.xz 68718160 SHA256 7f1b5ccc166227e470d5da4729a05841e76b29354e3e935ed0b3987711e4b69f SHA512 e000f9ae64bcb6e43f1e8af0f7ec57a7d3bbd2fc4ab363b49b524fd535b8e8642f94dd366bd14af099c8fc69fa8e8c60621b9d02b47d68bc85a482448f734ea9 WHIRLPOOL ad3e5f0ecfdc889abed0ccfec2b46885047d806c19f8dad317f1faa483c7fe3e781a303aa990a4023015472af3fec7fb9f5ac8e67f2d32f6147c3a35d624dc14 DIST rust-std-1.37.0-arm-unknown-linux-gnueabihf.tar.xz 68837448 SHA256 dd70092a71fd1b38f826156b4a0097d86a345850c73de904592a42a00e0cf3e0 SHA512 628625dd1943546ea837d0cadb55b0c2487bcd8f191fdd3f767584b3e971209e8b4b9b50a5f8a6ac3ffe66a504217430e0999d83ae32e072a453ac4145495bc2 WHIRLPOOL 9402f925a67af749996f8cca4f849fddf023bf84e37f062df9dd3930bca5f26198f5e04d945afeab5c00f54d5beeb19b75ba739f6554bb4592640d13fbe6e30c DIST rust-std-1.37.0-armv7-unknown-linux-gnueabihf.tar.xz 68691908 SHA256 727e6132033eedd1c4d60765f858a36e4b395c91417cea1c635c27374a94ab2b SHA512 384d5e58b14b1d882f0d543dd094b6f2f7830d4ba6ec4049e3a1e78c1fd57926930c802dec67c866b739ef5792e897546d17377efef840c4e2d5b3b58755f4f0 WHIRLPOOL 687b97fa3e910f473f12661c6cd2698849054551cb54ad2c1d4e57e1b85ae7d21176b4c210c62ba956d6c0537c8e6b0e7fcf6ac4eda45398f2bfeeeee4824aa9 DIST rust-std-1.37.0-thumbv7neon-unknown-linux-gnueabihf.tar.xz 15983672 SHA256 64b19e0845bff95d4c2bf3941a73c8aaf72974c1ec222d38a1fcf003f2fa79be SHA512 0946d0526a5b71cce90d47f53ccbe10e5f1a2df2432be84c1c43430b130ff8ae14fd69655e363a7b44a4c3a45b5a846c70a52b6bdfc789600ef5425aecae48af WHIRLPOOL f126268550b4ab795a859673644b0e538e7a853e4b08741fa18d30e62a6db1ff7738bc26df92534b731317285c7bde404af48b7dc9f460db844fab7b2a747b95 +DIST rust-std-1.38.0-aarch64-unknown-linux-gnu.tar.xz 183283832 SHA256 b931843898b0457fa92b8ef1521ff460bef525451ed786897cfaa6f7baed4105 SHA512 b58381d01bb052599a881aa571e1ed8cac8d7afde79940942291f94b921de57e433c7235ec317efe226089069fd5e4cd4a4c5975b60cb20f7801a0124990a819 WHIRLPOOL 4525205f2ee35507710a447a18530e3a59b370825513a2627992b4a65ef4d5f38d7671eaa010995cab56fc5eb366400f82497848a8efa642b2aa697f29aae3fc +DIST rust-std-1.38.0-arm-unknown-linux-gnueabi.tar.xz 188046452 SHA256 a2cbc0e887896c518eea97af25383d0eeeb34b57fb10ba85917a802a63072043 SHA512 ffb2cf78fbbf5f5e41e4919944ebd5fcd1b0a7f912bad07bc633fe8bbc58b69b7c05bc78c92881d6ceaafbbea4af33eec0a6a1fa9c05d77423da0bdcdedbfd7c WHIRLPOOL 5a0505e39554fcfe0eeaec737fecfae5861183355788d0d42c0ba3e6a69c70fc87a371c7a679c97653a6951788e7506be07c9af2c6a4faa40fcb5b9406cc068a +DIST rust-std-1.38.0-arm-unknown-linux-gnueabihf.tar.xz 188366096 SHA256 64baa713e5913c6adcbca1a498d05248cef5877529c0c4a9e845aebd75484f7f SHA512 d78352ea3dc755dbd4eee8ed3454f3c4c611bb36591eb53244d0d72ef405d162daa45e4ebcb74c8f54c191a31b87e40774426eafed94406f6052b018ad775b13 WHIRLPOOL 3b02bc210e8cfdcef7165dc06e53e1426c8d0cce2f7cf7185161c4de7e9f8d011b407036d63517cf14d7ff3b3f370cad837d6ca9e7f9ccf5298c52f60dc063e0 +DIST rust-std-1.38.0-armv7-unknown-linux-gnueabihf.tar.xz 187985832 SHA256 7fc0b85375865e7d3fd1e63446fc1b7a865ec537f880343797f32a1a3e0ecbce SHA512 e1996fe00bcda2f8cb86c322ffb3b3032f33120f9dfbf68cf0bd3683dd076fee196953c3cd9a3bddf048530d82807eb3d5488bf00ae43ef12f739d956515f2a3 WHIRLPOOL 8b8293b6c4f9b0c0224f39754b6c276a69e2f8b1d7cab8f849dd9726c93f8f21b58cfbd0b5dd2cd6be4a787b2ad6553d555ed4d5f6c1c542f7797809165c1c00 +DIST rust-std-1.38.0-thumbv7neon-unknown-linux-gnueabihf.tar.xz 15799088 SHA256 e3563ef519095caa27563135b87fbd4d3e1d86622c20f91d915ca9c6b32ea9e5 SHA512 1b65e5c9f1b0ff2b90d96bd6f2e723cef8c9eb9063b12c571f4551dd2923215621ce5fea8e0f03c4d2979706897204e9c4edc17508e70b38c6e9645723b7d448 WHIRLPOOL a9386fbbb0204627634874cfd35e7aa6c99e1ccb4e5e4a07127e07487baf0fdb352226c90f5627b43d7e82cac7174dd238dbc0523f2f60971886c76768189421 +-----BEGIN PGP SIGNATURE----- + +iQIzBAEBCAAdFiEEHUgMfGYuezrVH/SnBxAOnYYM8kcFAl2swbsACgkQBxAOnYYM +8keuhQ//Rp+YYE0WAeYaqEHo6QuzUJavjCnrspCpmpvlJnYn4HjYLONbDnzccgr7 ++ET/kU0c8bqmdNaxAkmCmE3e6TNHxNcwXIShDUzzdfcXje7hTju76k4jnJlnINBb +PrXT4o2QS3ZfJ/MRso3EFH7VWPW9VNixxWDwisF3qjeH+JBi7/kDeLdFyPCTljTl +WNBf3PIyreQqZzgR5m3n65wubp2ni4Rg4P2aNONaEkNmOPE6z23Shw9GZ8XHC/hJ +rkw9fpeLKFS3K2rBt/ECk4duayShgvUoSE++ZBpnBS1YVwosL0VfYegUQw0eFqo3 +qU806HZI+1RazpYYmUdGbejnclpif5vaBIJem7RSZ1op5p/yW3UVzx2NIA7GVn5D +gNjkmEvZ8tidv4eXueesqBk88ky15NHYYEGBbrr098r2x8vAkndHUMPRt3Kf60zv +1/lGPKDTb916oTjCEhm9JNXyNRYTD5/ITcZir1Harj0YLAPHou/mPz4KNgRjFq0y +xWiy+aExi3TNlZs8YlVglvo/ONlTsinhmPoMb1MWguaooGPxJqfEsECxdaOWjlyE ++E0/RNZsCUqPhhbqd6SDObKu4CV3GNUgF36UVi2gDyVIjAnwjlFLfcFZBMj2ZF++ +fvlKuBMalK52Y5/MOrSzsmOUUtvi2KDOfxeJe868JnylAUS+H9E= +=oYpg +-----END PGP SIGNATURE----- diff --git a/dev-lang/rust-std-bin/rust-std-bin-1.37.0.ebuild b/dev-lang/rust-std-bin/rust-std-bin-1.37.0.ebuild index a569028..454a85c 100644 --- a/dev-lang/rust-std-bin/rust-std-bin-1.37.0.ebuild +++ b/dev-lang/rust-std-bin/rust-std-bin-1.37.0.ebuild @@ -62,7 +62,7 @@ src_prepare() { if use armv6j-softfloat-std ; then armv6j-unknown-linux-gnueabi-strip *.so || die elif use armv6j-hardfloat-std ; then - armv6j-unknown-linux-gnueabihf-strip *.so || die + armv6j-unknown-linux-gnueabihf-strip *.so || die elif use armv7-hardfloat-std || use thumbv7-neon-std ; then armv7a-unknown-linux-gnueabihf-strip *.so || die elif use aarch64-gnu-std ; then diff --git a/dev-lang/rust-std-bin/rust-std-bin-1.38.0.ebuild b/dev-lang/rust-std-bin/rust-std-bin-1.38.0.ebuild new file mode 100644 index 0000000..e81e343 --- /dev/null +++ b/dev-lang/rust-std-bin/rust-std-bin-1.38.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils bash-completion-r1 versionator toolchain-funcs + +MY_P="rust-std-${PV}" + +DESCRIPTION="std libraries for rust" +HOMEPAGE="https://www.rust-lang.org/" + +SRC_URI="armv6j-softfloat-std? ( https://static.rust-lang.org/dist/rust-std-"${PV}"-arm-unknown-linux-gnueabi.tar.xz ) + armv6j-hardfloat-std? ( https://static.rust-lang.org/dist/rust-std-"${PV}"-arm-unknown-linux-gnueabihf.tar.xz ) + armv7-hardfloat-std? ( https://static.rust-lang.org/dist/rust-std-"${PV}"-armv7-unknown-linux-gnueabihf.tar.xz ) + thumbv7-neon-std? ( https://static.rust-lang.org/dist/rust-std-"${PV}"-thumbv7neon-unknown-linux-gnueabihf.tar.xz ) + aarch64-gnu-std? ( https://static.rust-lang.org/dist/rust-std-"${PV}"-aarch64-unknown-linux-gnu.tar.xz ) " + +RUST_PROVIDER="rust-bin-${PV}" + +LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" +SLOT="stable" +KEYWORDS="~amd64" +IUSE="aarch64-gnu-std armv6j-softfloat-std armv6j-hardfloat-std armv7-hardfloat-std thumbv7-neon-std" + +DEPEND="" +RDEPEND="app-eselect/eselect-rust + ~dev-lang/rust-bin-${PV} + !dev-lang/rust:0" + +QA_PREBUILT=" + opt/"${RUST_PROVIDER}"/lib/rustlib/*/lib/*.so + opt/"${RUST_PROVIDER}"/lib/rustlib/*/lib/*.rlib* +" + +pkg_setup() { + if use armv6j-softfloat-std ; then + RUSTHOST=arm-unknown-linux-gnueabi + elif use armv6j-hardfloat-std ; then + RUSTHOST=arm-unknown-linux-gnueabihf + elif use armv7-hardfloat-std ; then + RUSTHOST=armv7-unknown-linux-gnueabihf + elif use thumbv7-neon-std ; then + RUSTHOST=thumbv7neon-unknown-linux-gnueabihf + elif use aarch64-gnu-std ; then + RUSTHOST=aarch64-unknown-linux-gnu + fi + + ewarn "please make sure to have a full cross-compile" + ewarn "toolchain for your target installed via crossdev" + ewarn "for stripping of *.so libs to work." +} + +src_unpack() { + default + mv "${WORKDIR}/${MY_P}-"${RUSTHOST}"" "${S}" || die +} + +src_prepare() { + default + cd "${S}"/"${PN}"-"${RUSTHOST}"/lib/rustlib/"${RUSTHOST}"/lib || die + if use armv6j-softfloat-std ; then + armv6j-unknown-linux-gnueabi-strip *.so || die + elif use armv6j-hardfloat-std ; then + armv6j-unknown-linux-gnueabihf-strip *.so || die + elif use armv7-hardfloat-std || use thumbv7-neon-std ; then + armv7a-unknown-linux-gnueabihf-strip *.so || die + elif use aarch64-gnu-std ; then + aarch64-unknown-linux-gnu-strip *.so || die + fi +} + +src_install() { + ./install.sh \ + --disable-verify \ + --prefix="${D}/opt/"${RUST_PROVIDER}"" \ + --disable-ldconfig \ + || die + + cd "${D}"/opt/"${RUST_PROVIDER}"/lib/rustlib || die + rm install.log || die + rm rust-installer-version || die + rm components || die + rm uninstall.sh || die +} + +pkg_postinst() { + eselect rust update --if-unset + +} + +pkg_postrm() { + eselect rust unset --if-invalid +} |