Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-bin/
Date: Mon, 24 Aug 2020 23:02:07
Message-Id: 1598310032.c917827a70f6913a96419d1cdb817d34e68970e2.gyakovlev@gentoo
1 commit: c917827a70f6913a96419d1cdb817d34e68970e2
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 22:48:28 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 24 23:00:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c917827a
7
8 dev-lang/rust-bin: drop old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 dev-lang/rust-bin/Manifest | 28 -----
14 dev-lang/rust-bin/rust-bin-1.45.0.ebuild | 175 -------------------------------
15 dev-lang/rust-bin/rust-bin-1.45.1.ebuild | 175 -------------------------------
16 3 files changed, 378 deletions(-)
17
18 diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
19 index 0af2fbfbd0b..9a1b72d84fd 100644
20 --- a/dev-lang/rust-bin/Manifest
21 +++ b/dev-lang/rust-bin/Manifest
22 @@ -12,34 +12,6 @@ DIST rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz 112429740 BLAKE2B 10252623
23 DIST rust-1.44.1-s390x-unknown-linux-gnu.tar.xz 119312728 BLAKE2B f5e3209990d3cc0181a200448e4bcbf1f6754847cfc36d7355e191fd49e239d3e0c002310743fd063241c5dec47da3a0776c361241facbcc4a1f1e9254eb805d SHA512 84c6ed736bb7d0c10aaceeb2c2c3c97f6188fd7d7f4466c8ef35ffc591d6bde3b273a0d62d50e60f184ccd81c96a31ed2e610e82fb9ed9efd574e4c5a5f25d26
24 DIST rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz 112133992 BLAKE2B c0af6bf1417bbb69be9f552f60805eb0a5f530b667ca2bbd04db9d567f1eb467a9e72912062a3c22d3922c29809258637dd7568c29e461dbeb5d17aa0699dd45 SHA512 540761fd5246f4a48a7606ac0220f0d61963473b57ef703696871dc23fda8154d45351b8e81018d15899c386b44e43b05028cc797d495e9dc46f127fbea7f093
25 DIST rust-1.44.1-x86_64-unknown-linux-musl.tar.xz 117456616 BLAKE2B fd2752cf867e1ff701e624caf602fe7a29b47c64e633508e91da1a1b2321f5531441b84cc9f0ad159ef399d38628d60e59f8b7a99e5427df928abceb24f937f2 SHA512 05ca3e07001746511c5fcb5122f487205ffaee771805b0219db018b350d67945f5ab4b0b2cf98b7e7832b53365e3932fef37506a65ecaaf624d0bb8d43cf8427
26 -DIST rust-1.45.0-aarch64-unknown-linux-gnu.tar.xz 108160980 BLAKE2B cc86d36a422dd901ecb64232f8fa87518b69f269c31e36361a4d54a0d3a27621210d13f352b219e446370132c99c40bef8acd21f5b89d8d3082508d439b058ba SHA512 a04edec6e3001032caa9f371ef4fe8c102286d2cd3d503f46df63819ee6976b8e723d4968b7bfc08438f8cf1cd2af1b24fe63f684c0b34b10b29e473a57b92f4
27 -DIST rust-1.45.0-arm-unknown-linux-gnueabi.tar.xz 114499852 BLAKE2B abb020cd3aeb3fc2c84d4086607dcd55c1d0437f7bec9c560c762b519218a54881c8a9212bb0b8aca37611a6d407b16341443a3d531213a0848fc2461630301b SHA512 6bca4e70d70a3ccf3e9d761bcf5b38882599b11b0422623e13dfe88a8ae0593475e84b140a9f7492852dc83e933f90736d55fefdd4e0631517dfd2938a949364
28 -DIST rust-1.45.0-arm-unknown-linux-gnueabihf.tar.xz 113593052 BLAKE2B 54f2851fe2b8a4655a6671c6b037f17d1a7f4eaca630c1d8ac58f2cc1dbc1970abc97fe0c07ebd3cbf1adf750185dbf28fd14b03f04c0ab501d078e582146809 SHA512 9d3a008078fce7c6a50d4dd3cf882a716b93db8c474a415ff89ece2108feaef8c4994773b935f435e934f7aa502efdc903ae50b9db64bf1b4a180766cb8b9f6e
29 -DIST rust-1.45.0-armv7-unknown-linux-gnueabihf.tar.xz 115636272 BLAKE2B 3f71793be5ba68fd2abb5137431b0b2196440bef5cb2df442aff0b87995fed086582d17b71c9e707460594a7652127c091a74031fddb51ff5af8256528afa2ee SHA512 01280668be7f25e29001f8374654b186c6ea00f3f23e2520661a75aee0ae331905af92ad272e4c54d48e3f1edf7f98ef0df05702fa73929324305b4134ae46bc
30 -DIST rust-1.45.0-i686-unknown-linux-gnu.tar.xz 131454968 BLAKE2B b332063bbdb4adbe270a22dbe5e39f612f5601e65c45742cc5338222b19f08c5c2d9d303b36617e475faa46dd25a815c0014236614565062ca6866b08bd60880 SHA512 479a1b5c262cf0de729907a27ee85380115f9062fdfc346b57557d29b5090684254391c5b62feebbe7b8edee603bb2ae299d3ca2415cce67050ea2681e29e075
31 -DIST rust-1.45.0-mips-unknown-linux-gnu.tar.xz 101096160 BLAKE2B d0851f170e393f694c5daa8fe397243f3bdfec5863e8e6ef837bbfcdb33232927e913771d599a5ec9878fb1c05b7abed6b4082edadb6e6e482a9f32d6d22a3a8 SHA512 a9b57dcc96b9dd6ad720efec0279999a482403f3fd6a173e41fdcfe23192a0acb3380c5fa575cc2314121d45e2dc7e3cbccc728d0118a06ec2f6dd04a38f4ca1
32 -DIST rust-1.45.0-mips64-unknown-linux-gnuabi64.tar.xz 106785036 BLAKE2B 2e1057d694af6ff895043eaed57a1827234a6acdd88410176ca789ec3dd8108ad7929c0a9350e288fe8c3bd0c0d9f8924b62651d6b203683e748f718e58839ba SHA512 322a277db1ebc778fef5e217739cc259e2d4cb9dcc6d20e041086856b0a9747e41d1cd2f7880892473aa3bdd8008039ebcaf07a0aca12fd96b0af761803e9fd9
33 -DIST rust-1.45.0-mipsel-unknown-linux-gnu.tar.xz 104082296 BLAKE2B 803fb1e2293e452f5fd71057a222d1ed21cf23f8d7268db6c28413adb34e51d7351369ea278ce88067fffead3ad241fb8e3960d79f4a987d41be822b672f1ad5 SHA512 209117498d2578cf1f82eacdef58bd7d74a672e9226e0789e965fa1ea2e3a1cd4fa0eaab95bc12e63dbdeab5aaaedb408f155adbdbd2c7f1162fdfe3ee38db69
34 -DIST rust-1.45.0-powerpc-unknown-linux-gnu.tar.xz 104325824 BLAKE2B 95b1508fa9cda100768977e1cd69f4ddef13f84ef0bd60c65433229c47265eb9341a6e012ead4dbf39672d4661b142b0d29fc15bbb92482a6a3ebaa221535761 SHA512 19655dfc3d807c9145ae4f1eb6679680deb0e8bfddf87b95140a7540d08d5c1cfb7849ede8acf388d68068e8d6c2ddfe769ccafb6be2148062c60ce3c940ad35
35 -DIST rust-1.45.0-powerpc64-unknown-linux-gnu.tar.xz 117219060 BLAKE2B c71e37c4bedd19eea0833a0231b83e4ba2b48075e7d4c22c0b789da1cdae05d1c800758aaf7c13b5b747f0a2cfc84504b6671c36177b714c8b46161923fbdb8e SHA512 db8507af199347ddb55d539748c10187756b5215b0e307b300eeb2ef5d4dc4ad58513c36af28173a1c0ad657e64f7104d1f6cbddb35e24b263e75718098f1a87
36 -DIST rust-1.45.0-powerpc64le-unknown-linux-gnu.tar.xz 121610840 BLAKE2B e0763a8c2cf2f96cda812a4344633ae8fd149f47c2529e974457841df0dd3c789a29ff3854b5065aa9a6589916330fe436ddfbd7bb2855014ebdf4d712b30350 SHA512 01eab6a9ffa9d1aab24dd42c879217e1facfbb38caa606730ccb395695dccaf378297fc13b9e6f50cf7056885f99cf29d7fbc9fc987be851699eef574e6b1457
37 -DIST rust-1.45.0-s390x-unknown-linux-gnu.tar.xz 125133972 BLAKE2B 03f10c887b1fade6e7b6ea822bb5bb51bfc6a426f0a50fef19612add1a0d518172155402f6675cfa81943d70940806c23b25228f69fcf0383889f84ac9c0a208 SHA512 9c8ababcf54f2de07ab39bdbc5b3c212077d22944c509eb0971eaa7e9c068eb385387abfdef8cd52ba91895847aa491acf928298566cc2382a1045097b8a543d
38 -DIST rust-1.45.0-x86_64-unknown-linux-gnu.tar.xz 117891136 BLAKE2B 59f3a7883197fd3ebbcefca5ebc653fbda1b2969922545faa70cc321e51d5c1557976296f1c00cc8e344168be242cb19d669ac8415836ec5958957ba30769fa4 SHA512 e156dad517c5aefea97c2116ad7239dffc6eb5594f795aeaa4e7dbf5b2b8c833f4e7459578c1c6e18238f23379af429e73bc0c97dace0a97b1786836409f17fa
39 -DIST rust-1.45.0-x86_64-unknown-linux-musl.tar.xz 124135096 BLAKE2B 683c29fb21d7cc5a523112de4cb1dd6b21c317e15435826039fb76cb280c5803ca94106625db8cff0f4d3c734340aa2b7a4b10880af8b06b9954d8bab7a1e1ba SHA512 c8b9d9555e6c7f4439cd967f7deebb0540800fd29cb5970e3d95f1ea87c100d2924a711fbd74afab61d2310bba9e5a02b5f2eb2a7881a7026bcbe762ae1da93e
40 -DIST rust-1.45.1-aarch64-unknown-linux-gnu.tar.xz 110598096 BLAKE2B a3defd33d2c223012c9eb7b094c77f338ae9beb8661412966a62b4bc868175cf91489f4328a8dc7d0b84b892dad713d2c4f4d180c55dbcd2ffd58c3920585e84 SHA512 fd64aaa3d8137d62c838f0ef554ff159c84263a4734556c0e4ef911d3f87921f846d70d76983fe8ebe9679477915255ceea69c8a9769797893827d5d67e97b0b
41 -DIST rust-1.45.1-arm-unknown-linux-gnueabi.tar.xz 115140648 BLAKE2B 537fe3874c0b09b8cad304c09ca36824cd77916508e7527b9b53a3a8a37ddeab3e760bb1f40c185a91a1eeba7953d7d9d2687e1d341b0833e2a129994e4a9014 SHA512 a3c36dee2f7cda77dd307ad61065c7ce20a433689a3396d8c286b07f0f2aea666881dd4089e2332a0793a51a72189928919a477e72e7f44a64b41101c65cf9ed
42 -DIST rust-1.45.1-arm-unknown-linux-gnueabihf.tar.xz 113215036 BLAKE2B 36cabfcf77dd533b7f5f89dd5b94244d148cc4c6e19c76a9d677c01a4daffd8075f6842b98314f5ab37c66b223901cfe8a16e7637f3f805f5e75c705979fe8e4 SHA512 770fa7b73fc08979da63f83155cd424b0b7a543a5e6c47a2cb20aeb4f3470360622b70adc9d527a9316bc6b388a696d60c9de9119fe9be448d26cd48871b533d
43 -DIST rust-1.45.1-armv7-unknown-linux-gnueabihf.tar.xz 116371752 BLAKE2B 3feecd7c1917294bd2384c36a9bfc371df1fa551f04c509e13d21ad3f95bdc06d2f0aac97edef10a87eef65b41b95bc34acae3741fd9648996f4ed43d4a54db7 SHA512 6dec92d112c0bbbe0434162d10df630505ba179b99fb51800140204fb2e52215d387162d97dadd3aff2324c81a4bbc944e45f4d39e55bf85e244d741e556a391
44 -DIST rust-1.45.1-i686-unknown-linux-gnu.tar.xz 131991636 BLAKE2B 2c012695d39e3665fc35fe5f66d4f0dcbbbd5525d1c8a8e26de2edc2edeee3985df1e5aa39e3122ac723f4dad1d9792be215748d80157d6f717584cbed656a98 SHA512 80f3bb328666766e177587c11cac4fb0db515ea16fc0462a29816a8474669f49c69461d2939919833337f3a95fbd1da09a55307f3f1936220bc2065f760a2345
45 -DIST rust-1.45.1-mips-unknown-linux-gnu.tar.xz 101183232 BLAKE2B f04ff7601935aad83e00ee062823b289d7bad8b591cd7d2ddb7c0d77be1b987621484ae829e56fd24971ac92c4dcce93d35d7313476d937b67da88cd4353aa2f SHA512 e70efa6c04f9ac4e4ef23d80457abee2219f04e81a743e67aa5305022265f0fac7db4998cae3d5587c38c17ae8f6d8e8d7052897a08c6939bce882bb6186bb2c
46 -DIST rust-1.45.1-mips64-unknown-linux-gnuabi64.tar.xz 107235492 BLAKE2B 425dca5246a6c4648fa061c73a09b38650a838e86760d55ab51cb655385f3066c29bb520d5c12271b4d04e4b961d948782b9a27078a849fafc867882720d0505 SHA512 f1ccc296c8f5e806795630aa8939ca3025cde76bf7fb0285e656b1bbf0d0e29b70f3ef7e6598a8146250d0d743d41b372018777aecde8bbde015e276d365db6c
47 -DIST rust-1.45.1-mipsel-unknown-linux-gnu.tar.xz 104260264 BLAKE2B b39b3305a1624daf0023ff5564dea21933999c2e488e6ca0da32a52be9891e4e9e3836e7509e8b7de8d3f2fab58b1360f21c2519da7bd1be8ed539f901973997 SHA512 de4e294e45d07e1544bb20e1fde78dcdf183e291f643f119959f61d075b691bff1290b3060c365a469dec7ae9bbf516e0b613b7b2b707b4fe23c37f972f40861
48 -DIST rust-1.45.1-powerpc-unknown-linux-gnu.tar.xz 106026300 BLAKE2B 73456028e79893ddb252a010ec0fa03443be874f5fd3b82f64ce221bd5685aea94acf29551ea3493155dc7caa7087b6db6df760b59dafc344f3040dd5e145ea6 SHA512 bbd6fdd879a8a7125f818946851e59f869c17997e58c90119370f4066c20db9d83f1250d59dccfc560d8b23cab45ce5c2d7edaef131f89ef7e2ce1ad903f2768
49 -DIST rust-1.45.1-powerpc64-unknown-linux-gnu.tar.xz 116528188 BLAKE2B 56a9d1a8d967b67b160aba248b50731744d21df4bb80f509a3008dbb6f2ed1c0271c9bcb621786354ece55c2f0aba63e9baad8ffdf30627b7e3167de645f9165 SHA512 12413ebf48a369ab869c4c7d40f6dcbe9cf53e094983eefbf142149759ce74a3f961dc8b68dfe4607b17c2ca34e5a97a38e0ccb2c14dea157fe93eccfd511bd5
50 -DIST rust-1.45.1-powerpc64le-unknown-linux-gnu.tar.xz 119234164 BLAKE2B 4148957ff2f95a8c440609e66956bfaed983e689dbcb5ae041e8ca092ef5da366324806d4c6075d0a73af6110c1f16d2bde09b369166b6fe47e42c104a5f2df5 SHA512 5222d1baa2836138ea65646a8ced3f186486bf7cf3b988f93280e2153371aa593c0ba660be9830ff4dd6cfdbe6cda32ead27a824a2e71c51d23749ea4a20c39d
51 -DIST rust-1.45.1-s390x-unknown-linux-gnu.tar.xz 124758156 BLAKE2B ff62e14d5ae9f7213ebc24d694317ff292cb0d7d2a67f0ca284cddd2b9f594547b01a6c647780d47989d4405072f377d37fc03933431a3df804e37bc1248e803 SHA512 278411c6308eaa4d732ff4c0f448d808a5ee74dae5f3eaf04773ccf65c9bc5963153f62346d30de0f577dd6da89c55bed280c2fb0e50d2075e3c30a3649fc4e8
52 -DIST rust-1.45.1-x86_64-unknown-linux-gnu.tar.xz 117764080 BLAKE2B cafe6e4f7c28112879089d75703a1b1ce7c0cf9b5ab5beeb4ddf343f7bc93e8704bc105ba0bd95f1df6d62439f206d8f4ae9090330af857ec0a249540eb63122 SHA512 13ee5ff7cae29440e32fb140404ff01414d66f0ea8d79777fb1586541de1ee6ef8e12f9249c35374501460a2352f7d0f6035b5bdc2f0daa91d772a157657ec0b
53 -DIST rust-1.45.1-x86_64-unknown-linux-musl.tar.xz 123820216 BLAKE2B 1afe48589e5eec15d8fdb31d52b2ada49688e78a311298d421a8b2d4c0cc6a708223e5976518d66506584dc2adc63651b62b8c1fc3c3ccfaff80e2ef7ade5078 SHA512 39875878acfeb05d7b72bab2dea51063a523fa7ad136d582ba28603df7f8b1c3360e5838e5f9b08f396969e52bb1fc672fa4c08cf5f8ffc39128af129b6b17a6
54 DIST rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz 110433136 BLAKE2B e2aa575c71757ea54b361940ca0813728bc6ef63db491a6891c05ff91d6fb6e2bf49aaebd05daf648cf2ae07b5937e142ab26fd243665bbac202e1237b20900c SHA512 b4b3fb198bf85192563fb8b6017cf07f92b9c26d6e590efa9476aa878871839315db935e3353c664e635a229f17b0979bcfd31488e29e02ce0dc266d252b9e41
55 DIST rust-1.45.2-arm-unknown-linux-gnueabi.tar.xz 114729036 BLAKE2B 8169a3827e8192de80bb654a667bcaa01c5f1bb49f2882b781d7d46bd20d5531204a477317c743c772e6067b225b1a3f78d333e2864e4dfcadb18777618d2811 SHA512 ecd79ba14feed330f81555854a7eadd894b9926482a2aad376c1f04aee16df01a3d929ec071e69b0f531466bbe00021c902bbb6b0ea4374c8ea5e2941d09d806
56 DIST rust-1.45.2-arm-unknown-linux-gnueabihf.tar.xz 114488160 BLAKE2B 69ee32914d75a0d3f1e84bcf760177d5125e0d989b023cc8f5499c37894949d05b1d5e61340832d248b3a305ba1dcd670280a0e5ed0439984815e5c8e46b8d09 SHA512 e18e53016417ea0d9ae5bee90a3fcf75dc2b7b8b5dd0c71426e353b9ad162353bdb2dd1b071c63bf91342eb803a9eb7fdf348ef15d678d91e6d221a911a3770e
57
58 diff --git a/dev-lang/rust-bin/rust-bin-1.45.0.ebuild b/dev-lang/rust-bin/rust-bin-1.45.0.ebuild
59 deleted file mode 100644
60 index b36387480c9..00000000000
61 --- a/dev-lang/rust-bin/rust-bin-1.45.0.ebuild
62 +++ /dev/null
63 @@ -1,175 +0,0 @@
64 -# Copyright 1999-2020 Gentoo Authors
65 -# Distributed under the terms of the GNU General Public License v2
66 -
67 -EAPI=7
68 -
69 -inherit bash-completion-r1 rust-toolchain toolchain-funcs multilib-minimal
70 -
71 -MY_P="rust-${PV}"
72 -
73 -DESCRIPTION="Systems programming language from Mozilla"
74 -HOMEPAGE="https://www.rust-lang.org/"
75 -SRC_URI="$(rust_all_arch_uris ${MY_P})"
76 -
77 -LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
78 -SLOT="stable"
79 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
80 -IUSE="clippy cpu_flags_x86_sse2 doc rustfmt"
81 -
82 -DEPEND=""
83 -RDEPEND=">=app-eselect/eselect-rust-20190311"
84 -
85 -REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
86 -
87 -QA_PREBUILT="
88 - opt/${P}/bin/*-${PV}
89 - opt/${P}/lib/*.so
90 - opt/${P}/lib/rustlib/*/bin/*
91 - opt/${P}/lib/rustlib/*/lib/*.so
92 - opt/${P}/lib/rustlib/*/lib/*.rlib*
93 -"
94 -
95 -pkg_pretend() {
96 - if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
97 - die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
98 - fi
99 -}
100 -
101 -src_unpack() {
102 - default
103 - mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
104 -}
105 -
106 -multilib_src_install() {
107 - if multilib_is_native_abi; then
108 -
109 - # start native abi install
110 - pushd "${S}" >/dev/null || die
111 - local std
112 - std="$(grep 'std' ./components)"
113 - local components="rustc,cargo,${std}"
114 - use doc && components="${components},rust-docs"
115 - use clippy && components="${components},clippy-preview"
116 - use rustfmt && components="${components},rustfmt-preview"
117 - ./install.sh \
118 - --components="${components}" \
119 - --disable-verify \
120 - --prefix="${ED}/opt/${P}" \
121 - --mandir="${ED}/opt/${P}/man" \
122 - --disable-ldconfig \
123 - || die
124 -
125 - local rustc=rustc-bin-${PV}
126 - local rustdoc=rustdoc-bin-${PV}
127 - local rustgdb=rust-gdb-bin-${PV}
128 - local rustgdbgui=rust-gdbgui-bin-${PV}
129 - local rustlldb=rust-lldb-bin-${PV}
130 -
131 - mv "${ED}/opt/${P}/bin/rustc" "${ED}/opt/${P}/bin/${rustc}" || die
132 - mv "${ED}/opt/${P}/bin/rustdoc" "${ED}/opt/${P}/bin/${rustdoc}" || die
133 - mv "${ED}/opt/${P}/bin/rust-gdb" "${ED}/opt/${P}/bin/${rustgdb}" || die
134 - mv "${ED}/opt/${P}/bin/rust-gdbgui" "${ED}/opt/${P}/bin/${rustgdbgui}" || die
135 - mv "${ED}/opt/${P}/bin/rust-lldb" "${ED}/opt/${P}/bin/${rustlldb}" || die
136 -
137 - dosym "${rustc}" "/opt/${P}/bin/rustc"
138 - dosym "${rustdoc}" "/opt/${P}/bin/rustdoc"
139 - dosym "${rustgdb}" "/opt/${P}/bin/rust-gdb"
140 - dosym "${rustgdbgui}" "/opt/${P}/bin/rust-gdbgui"
141 - dosym "${rustlldb}" "/opt/${P}/bin/rust-lldb"
142 -
143 - dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
144 - dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
145 - dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
146 - dosym "../../opt/${P}/bin/${rustgdbgui}" "/usr/bin/${rustgdbgui}"
147 - dosym "../../opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
148 -
149 - local cargo=cargo-bin-${PV}
150 - mv "${ED}/opt/${P}/bin/cargo" "${ED}/opt/${P}/bin/${cargo}" || die
151 - dosym "${cargo}" "/opt/${P}/bin/cargo"
152 - dosym "../../opt/${P}/bin/${cargo}" "/usr/bin/${cargo}"
153 -
154 - if use clippy; then
155 - local clippy_driver=clippy-driver-bin-${PV}
156 - local cargo_clippy=cargo-clippy-bin-${PV}
157 - mv "${ED}/opt/${P}/bin/clippy-driver" "${ED}/opt/${P}/bin/${clippy_driver}" || die
158 - mv "${ED}/opt/${P}/bin/cargo-clippy" "${ED}/opt/${P}/bin/${cargo_clippy}" || die
159 - dosym "${clippy_driver}" "/opt/${P}/bin/clippy-driver"
160 - dosym "${cargo_clippy}" "/opt/${P}/bin/cargo-clippy"
161 - dosym "../../opt/${P}/bin/${clippy_driver}" "/usr/bin/${clippy_driver}"
162 - dosym "../../opt/${P}/bin/${cargo_clippy}" "/usr/bin/${cargo_clippy}"
163 - fi
164 - if use rustfmt; then
165 - local rustfmt=rustfmt-bin-${PV}
166 - local cargo_fmt=cargo-fmt-bin-${PV}
167 - mv "${ED}/opt/${P}/bin/rustfmt" "${ED}/opt/${P}/bin/${rustfmt}" || die
168 - mv "${ED}/opt/${P}/bin/cargo-fmt" "${ED}/opt/${P}/bin/${cargo_fmt}" || die
169 - dosym "${rustfmt}" "/opt/${P}/bin/rustfmt"
170 - dosym "${cargo_fmt}" "/opt/${P}/bin/cargo-fmt"
171 - dosym "../../opt/${P}/bin/${rustfmt}" "/usr/bin/${rustfmt}"
172 - dosym "../../opt/${P}/bin/${cargo_fmt}" "/usr/bin/${cargo_fmt}"
173 - fi
174 -
175 - cat <<-EOF > "${T}"/50${P}
176 - LDPATH="/opt/${P}/lib"
177 - MANPATH="/opt/${P}/man"
178 - EOF
179 - doenvd "${T}"/50${P}
180 -
181 - # note: eselect-rust adds EROOT to all paths below
182 - cat <<-EOF > "${T}/provider-${P}"
183 - /usr/bin/rustdoc
184 - /usr/bin/rust-gdb
185 - /usr/bin/rust-gdbgui
186 - /usr/bin/rust-lldb
187 - EOF
188 - echo /usr/bin/cargo >> "${T}/provider-${P}"
189 - if use clippy; then
190 - echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
191 - echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
192 - fi
193 - if use rustfmt; then
194 - echo /usr/bin/rustfmt >> "${T}/provider-${P}"
195 - echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
196 - fi
197 -
198 - insinto /etc/env.d/rust
199 - doins "${T}/provider-${P}"
200 - popd >/dev/null || die
201 - #end native abi install
202 -
203 - else
204 - local rust_target
205 - rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
206 - dodir "/opt/${P}/lib/rustlib"
207 - cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
208 - "${ED}/opt/${P}/lib/rustlib" || die
209 - fi
210 -}
211 -
212 -pkg_postinst() {
213 - eselect rust update --if-unset
214 -
215 - elog "Rust installs a helper script for calling GDB now,"
216 - elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
217 -
218 - if has_version app-editors/emacs; then
219 - elog "install app-emacs/rust-mode to get emacs support for rust."
220 - fi
221 -
222 - if has_version app-editors/gvim || has_version app-editors/vim; then
223 - elog "install app-vim/rust-vim to get vim support for rust."
224 - fi
225 -
226 - if use elibc_musl; then
227 - ewarn "${PN} on *-musl targets is configured with crt-static"
228 - ewarn ""
229 - ewarn "you will need to set RUSTFLAGS=\"-C target-feature=-crt-static\" in make.conf"
230 - ewarn "to use it with portage, otherwise you may see failures like"
231 - ewarn "error: cannot produce proc-macro for serde_derive as the target "
232 - ewarn "x86_64-unknown-linux-musl does not support these crate types"
233 - fi
234 -}
235 -
236 -pkg_postrm() {
237 - eselect rust cleanup
238 -}
239
240 diff --git a/dev-lang/rust-bin/rust-bin-1.45.1.ebuild b/dev-lang/rust-bin/rust-bin-1.45.1.ebuild
241 deleted file mode 100644
242 index b36387480c9..00000000000
243 --- a/dev-lang/rust-bin/rust-bin-1.45.1.ebuild
244 +++ /dev/null
245 @@ -1,175 +0,0 @@
246 -# Copyright 1999-2020 Gentoo Authors
247 -# Distributed under the terms of the GNU General Public License v2
248 -
249 -EAPI=7
250 -
251 -inherit bash-completion-r1 rust-toolchain toolchain-funcs multilib-minimal
252 -
253 -MY_P="rust-${PV}"
254 -
255 -DESCRIPTION="Systems programming language from Mozilla"
256 -HOMEPAGE="https://www.rust-lang.org/"
257 -SRC_URI="$(rust_all_arch_uris ${MY_P})"
258 -
259 -LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
260 -SLOT="stable"
261 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
262 -IUSE="clippy cpu_flags_x86_sse2 doc rustfmt"
263 -
264 -DEPEND=""
265 -RDEPEND=">=app-eselect/eselect-rust-20190311"
266 -
267 -REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
268 -
269 -QA_PREBUILT="
270 - opt/${P}/bin/*-${PV}
271 - opt/${P}/lib/*.so
272 - opt/${P}/lib/rustlib/*/bin/*
273 - opt/${P}/lib/rustlib/*/lib/*.so
274 - opt/${P}/lib/rustlib/*/lib/*.rlib*
275 -"
276 -
277 -pkg_pretend() {
278 - if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
279 - die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
280 - fi
281 -}
282 -
283 -src_unpack() {
284 - default
285 - mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
286 -}
287 -
288 -multilib_src_install() {
289 - if multilib_is_native_abi; then
290 -
291 - # start native abi install
292 - pushd "${S}" >/dev/null || die
293 - local std
294 - std="$(grep 'std' ./components)"
295 - local components="rustc,cargo,${std}"
296 - use doc && components="${components},rust-docs"
297 - use clippy && components="${components},clippy-preview"
298 - use rustfmt && components="${components},rustfmt-preview"
299 - ./install.sh \
300 - --components="${components}" \
301 - --disable-verify \
302 - --prefix="${ED}/opt/${P}" \
303 - --mandir="${ED}/opt/${P}/man" \
304 - --disable-ldconfig \
305 - || die
306 -
307 - local rustc=rustc-bin-${PV}
308 - local rustdoc=rustdoc-bin-${PV}
309 - local rustgdb=rust-gdb-bin-${PV}
310 - local rustgdbgui=rust-gdbgui-bin-${PV}
311 - local rustlldb=rust-lldb-bin-${PV}
312 -
313 - mv "${ED}/opt/${P}/bin/rustc" "${ED}/opt/${P}/bin/${rustc}" || die
314 - mv "${ED}/opt/${P}/bin/rustdoc" "${ED}/opt/${P}/bin/${rustdoc}" || die
315 - mv "${ED}/opt/${P}/bin/rust-gdb" "${ED}/opt/${P}/bin/${rustgdb}" || die
316 - mv "${ED}/opt/${P}/bin/rust-gdbgui" "${ED}/opt/${P}/bin/${rustgdbgui}" || die
317 - mv "${ED}/opt/${P}/bin/rust-lldb" "${ED}/opt/${P}/bin/${rustlldb}" || die
318 -
319 - dosym "${rustc}" "/opt/${P}/bin/rustc"
320 - dosym "${rustdoc}" "/opt/${P}/bin/rustdoc"
321 - dosym "${rustgdb}" "/opt/${P}/bin/rust-gdb"
322 - dosym "${rustgdbgui}" "/opt/${P}/bin/rust-gdbgui"
323 - dosym "${rustlldb}" "/opt/${P}/bin/rust-lldb"
324 -
325 - dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
326 - dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
327 - dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
328 - dosym "../../opt/${P}/bin/${rustgdbgui}" "/usr/bin/${rustgdbgui}"
329 - dosym "../../opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
330 -
331 - local cargo=cargo-bin-${PV}
332 - mv "${ED}/opt/${P}/bin/cargo" "${ED}/opt/${P}/bin/${cargo}" || die
333 - dosym "${cargo}" "/opt/${P}/bin/cargo"
334 - dosym "../../opt/${P}/bin/${cargo}" "/usr/bin/${cargo}"
335 -
336 - if use clippy; then
337 - local clippy_driver=clippy-driver-bin-${PV}
338 - local cargo_clippy=cargo-clippy-bin-${PV}
339 - mv "${ED}/opt/${P}/bin/clippy-driver" "${ED}/opt/${P}/bin/${clippy_driver}" || die
340 - mv "${ED}/opt/${P}/bin/cargo-clippy" "${ED}/opt/${P}/bin/${cargo_clippy}" || die
341 - dosym "${clippy_driver}" "/opt/${P}/bin/clippy-driver"
342 - dosym "${cargo_clippy}" "/opt/${P}/bin/cargo-clippy"
343 - dosym "../../opt/${P}/bin/${clippy_driver}" "/usr/bin/${clippy_driver}"
344 - dosym "../../opt/${P}/bin/${cargo_clippy}" "/usr/bin/${cargo_clippy}"
345 - fi
346 - if use rustfmt; then
347 - local rustfmt=rustfmt-bin-${PV}
348 - local cargo_fmt=cargo-fmt-bin-${PV}
349 - mv "${ED}/opt/${P}/bin/rustfmt" "${ED}/opt/${P}/bin/${rustfmt}" || die
350 - mv "${ED}/opt/${P}/bin/cargo-fmt" "${ED}/opt/${P}/bin/${cargo_fmt}" || die
351 - dosym "${rustfmt}" "/opt/${P}/bin/rustfmt"
352 - dosym "${cargo_fmt}" "/opt/${P}/bin/cargo-fmt"
353 - dosym "../../opt/${P}/bin/${rustfmt}" "/usr/bin/${rustfmt}"
354 - dosym "../../opt/${P}/bin/${cargo_fmt}" "/usr/bin/${cargo_fmt}"
355 - fi
356 -
357 - cat <<-EOF > "${T}"/50${P}
358 - LDPATH="/opt/${P}/lib"
359 - MANPATH="/opt/${P}/man"
360 - EOF
361 - doenvd "${T}"/50${P}
362 -
363 - # note: eselect-rust adds EROOT to all paths below
364 - cat <<-EOF > "${T}/provider-${P}"
365 - /usr/bin/rustdoc
366 - /usr/bin/rust-gdb
367 - /usr/bin/rust-gdbgui
368 - /usr/bin/rust-lldb
369 - EOF
370 - echo /usr/bin/cargo >> "${T}/provider-${P}"
371 - if use clippy; then
372 - echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
373 - echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
374 - fi
375 - if use rustfmt; then
376 - echo /usr/bin/rustfmt >> "${T}/provider-${P}"
377 - echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
378 - fi
379 -
380 - insinto /etc/env.d/rust
381 - doins "${T}/provider-${P}"
382 - popd >/dev/null || die
383 - #end native abi install
384 -
385 - else
386 - local rust_target
387 - rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
388 - dodir "/opt/${P}/lib/rustlib"
389 - cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
390 - "${ED}/opt/${P}/lib/rustlib" || die
391 - fi
392 -}
393 -
394 -pkg_postinst() {
395 - eselect rust update --if-unset
396 -
397 - elog "Rust installs a helper script for calling GDB now,"
398 - elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
399 -
400 - if has_version app-editors/emacs; then
401 - elog "install app-emacs/rust-mode to get emacs support for rust."
402 - fi
403 -
404 - if has_version app-editors/gvim || has_version app-editors/vim; then
405 - elog "install app-vim/rust-vim to get vim support for rust."
406 - fi
407 -
408 - if use elibc_musl; then
409 - ewarn "${PN} on *-musl targets is configured with crt-static"
410 - ewarn ""
411 - ewarn "you will need to set RUSTFLAGS=\"-C target-feature=-crt-static\" in make.conf"
412 - ewarn "to use it with portage, otherwise you may see failures like"
413 - ewarn "error: cannot produce proc-macro for serde_derive as the target "
414 - ewarn "x86_64-unknown-linux-musl does not support these crate types"
415 - fi
416 -}
417 -
418 -pkg_postrm() {
419 - eselect rust cleanup
420 -}