commit:     2d85762475938dd9906c94ef5a81945bbda2e477
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 31 02:26:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 02:26:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d857624

dev-lang/rust-bin: drop 1.91.0_beta20250928

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/rust-bin/Manifest                         |  29 --
 .../rust-bin/rust-bin-1.91.0_beta20250928.ebuild   | 320 ---------------------
 2 files changed, 349 deletions(-)

diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
index d51e61e9959d..8718e831e497 100644
--- a/dev-lang/rust-bin/Manifest
+++ b/dev-lang/rust-bin/Manifest
@@ -664,34 +664,6 @@ DIST rust-1.90.0-x86_64-unknown-linux-gnu.tar.xz 202999512 
BLAKE2B 2aeaca36f5211
 DIST rust-1.90.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
c4dcbac0cf9f470eba5a4cc21d32a4ae8814d2e259138935c3abc783ba13a4017ef6eb9902bc5609e0a9bceb0ee880927de17c7e22ff870a79e9844482e3e4ea
 SHA512 
4b030294eb39d7a89756988edc24e8777e10227e41159bb835a16fca9253b60fea20b29bd2c2fa6bd8f3e77164de6aacd589162cb4a240a64cfb38f39c644036
 DIST rust-1.90.0-x86_64-unknown-linux-musl.tar.xz 294424352 BLAKE2B 
e07514b7542b5a2ec20ae08c2e6e55ea1570bcc827b2851c86a3582bd73f69c0b70b18053030033f74a6d3c472fc4cae431a7404b594a7b12a17c01afe8b96a7
 SHA512 
fffdfd588b20aa518f361f6e4f6c32844d377356d520f8bd1b9f8a7e062be5c2db5e736a2b93619b2d0f182f49eeeaa22075e4692c7683c0ecb4a231522d4cbd
 DIST rust-1.90.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 
85238bc602c31a435de5f336a0646589259973fbe6c2d737fd6423b4e5721b2448222b6be5f2bb4fe309a60162a8ed66dbdad6dbd338dbddcab12586461965da
 SHA512 
729042345408572f3134702150984182716728cb42df76d8b1f1dc986b579b3bf911a3c64230a61638d3b8d064e28cce3aa0afcbbcd719b49e02b4f3009721b0
-DIST rust-1.91.0_beta20250928-aarch64-unknown-linux-gnu.tar.xz 172095376 
BLAKE2B 
9d328275e10cfadbacc495682b09339307693574af9bbfc2b206c55847b0ea9e1843118cae255caafc05d87d49b167f9c1483481b96a169b860ac08fe1debbae
 SHA512 
1fd287fb305309def4e5df8a4e009f6d50cb423d47f4bb51c5ba63dfd91c9d235d4bade9b50a7a775b81c922fad092cdca62e342b9f2a97b8161b078dff1a83c
-DIST rust-1.91.0_beta20250928-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
5c647795becfce97eb628fa5f03d6ed7919c97bd4605043d192b46e32c8c33255db68433a2615d17e5f26205d0e5c986cd95b34cdd83826bf6916b64c4b8b1c1
 SHA512 
9aa0f5fe204801b1ee413209068d9702196ae119e1d8bfb57a3d5b458cba8be371e370a9e57a254d23cc4ef61d89db7fd5ff1721e69d31d06ddc4faf76d72326
-DIST rust-1.91.0_beta20250928-aarch64-unknown-linux-musl.tar.xz 253053588 
BLAKE2B 
08fa0f52fbbbdf8a658e5f86062c3590977424af505f0edd32cc1477b6acfad5aea516b434a7f0af240591575f9ea58908f331c9e80fc53eab9fc92566c944da
 SHA512 
2e1dd7cd752caea77d65ea2a2532365d06b4f3dde4fb667ca99e95f65cd9a9dbb01334cb68b538f702c3fc275fe97ccbe6f0e8fe7d6b3b2595a2fe325e49ac19
-DIST rust-1.91.0_beta20250928-aarch64-unknown-linux-musl.tar.xz.asc 801 
BLAKE2B 
18b462a6b075c0dcd2b675554f677319c70e1467222cc336bf2b6e1c8d58269407943e20f7f28b9365b0d8f0a491f9938dea636af580aa63a85cf8b1a8d7ce5d
 SHA512 
707dadd60adb97a95e944a4b645380750e63957892f310eb0037edd3e99f3c4359c5f0353b9da0cc807384fc2addb83a9cceffe859d9469ace964e0e465ef0bb
-DIST rust-1.91.0_beta20250928-arm-unknown-linux-gnueabi.tar.xz 236628464 
BLAKE2B 
fc6ee14abf174c02bb23f954fe7486e9834bf3a9ddf043c044d9f4f7e9d26c171b906ab901be4b773e0e751294e6123cc563f03f1519fe4e7a3c6b6d339cb89b
 SHA512 
31f5c8c2e7b82538d17f3d0db4d32ee46321d4ef5044146846740039d3bdfc8c72c5b4ae5df43daeb0fb89c7dc6317e9053fd83eacb4fb47600204a8a5c7d3fc
-DIST rust-1.91.0_beta20250928-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 
94ab04b4da8615663658341183496321f9417b75fb3968a025a0add46ce15739821ebe41313d803622656bd9ce47012e11c18a1ac0aa6e50495a76f39d48a600
 SHA512 
ab5e7cf268f4df4ab77afbbc5624fd261bc5775a97d667fc93b7d3fdd976a43bc6d3d70653aae01ec44b2abcbcd14dc689cd99894f203696e1047bf1195b86aa
-DIST rust-1.91.0_beta20250928-arm-unknown-linux-gnueabihf.tar.xz 237170812 
BLAKE2B 
d239947b16bf9330c3fec200db9dda8ae030842256bcb3d3ef95814c0786495e679cfc3a9eeda0a8d7be63fd3b38508773b42b8c35862e8738e01bdaff8c9815
 SHA512 
d77f57fc1e473977b5688c4a32ea8990a85d91a3ae06e98abed2cd940d974fc2b564e971f9e3c0e57ef97c4b8d25ceef560968a36f8b3d8759baa8b4fc038b30
-DIST rust-1.91.0_beta20250928-arm-unknown-linux-gnueabihf.tar.xz.asc 801 
BLAKE2B 
7cad77cd70c514cc7c128eb0780be1cd16311fe3215c14850c679d9aa3fbbea067f6acf9eed4ff53822386c0e2876009de4805aa7a9e89afc43434e7b15970b3
 SHA512 
e54e2dd1a34091d8da89c38e254f0e7eb0ab6c22c1530637fe41c033a76e2dae52f3b1b82d373c467812c79dea63331f6175009025d1d78b57a9ab9dffdb1992
-DIST rust-1.91.0_beta20250928-armv7-unknown-linux-gnueabihf.tar.xz 244114520 
BLAKE2B 
4f04f4018d00fa9dddd4e903ef1fc5c2a93696bbcefc79e441e2a0839123424394b63c460d1a81e00194b451fde20f03753f0885af597e09674f02ffdc28d777
 SHA512 
5f72078cd7dcad95f0d1d5493217e094c7199a440a7cf1fd982be3b57b8a94f5d7b69caa32f00c4c5160f358843fd8e0cd2df774c5aa958dcff61b5e61f78cfe
-DIST rust-1.91.0_beta20250928-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 
BLAKE2B 
b856d0298b55498e1dd9122c690437cd5f2d6e618ebc96f7ee6ffa015e038bca54ee34165744f8f4b7c0aaf87db95e0ff1750796e53f072276eb69ca0f371229
 SHA512 
6091c3cfd481e34f1abc334c26c3fc7e6976a58749fc4218111ba4ec9b4dfd262fec1ccfd8edc294b9b9f5c485015d16f5c827525dedbff6e362a59c92ecad0e
-DIST rust-1.91.0_beta20250928-i686-unknown-linux-gnu.tar.xz 273860868 BLAKE2B 
5be2d6233503271a032f2d7a2eb6dd8906317e18dea0b47a88caf08efdc0d1410cc728be5fd5b71fbc9d7498e7a765fd23d4f16f3b9f573bce820d60d610c2bc
 SHA512 
f609dd8d425a4bd52d3b3251b26e298df7c2ef70237d13e64dcb8a76d8e58f3bc95722325b8a9673346a233369cb0342acc7070251d431f79850f33ab9b2db42
-DIST rust-1.91.0_beta20250928-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
b4acda03e93a3e712fa57e7ab20fcc56f38cbf7e5eaf4da5e18091f7ab02a32cec8d03d30d002ad7bd12b03dde12c8368739891dd559be40fa0bf87f0045d492
 SHA512 
06cd861bbd1603cec784af313e2da2571b9918f8f234aeee8aa9a6e2276acb6c35fa15d8db0941fc501f799869dab49014ddc9b7a9c591b445001f160649ad3b
-DIST rust-1.91.0_beta20250928-loongarch64-unknown-linux-gnu.tar.xz 270049484 
BLAKE2B 
9499b1df9c2b7242a993a8d9090cb62304db0c34c5800e1deb3543dd5866821e58644e4ba074bfaea79c7dc06fcb08acf2858c47af61ec8d0b7bdea165a14e53
 SHA512 
fd785b373e4fdc8b43b47a0811fce7a84fc234f6669170bdcd2bc53f4dbfefbed532fb3af9681437698a5095bcb4207460610751f0c8d547e866ba1835a72d9b
-DIST rust-1.91.0_beta20250928-loongarch64-unknown-linux-gnu.tar.xz.asc 801 
BLAKE2B 
81608c9851e03a5018cfff678f68f139500728b3763443c26964e6d4c344d1be5c310991e2a432b9f3864370872f0b9c62ba37f2c37a12dbe11feb4dd2643012
 SHA512 
8604dd3a3a85f94a2529d54715b8b263a6abbc19b7a6f58090b02712fe79a5e409ae4f972acfbe70fd573e39da3fece160188a90efb9c60c14c144d6e2ad9017
-DIST rust-1.91.0_beta20250928-powerpc-unknown-linux-gnu.tar.xz 262935108 
BLAKE2B 
e8de89b16da5b9aa52a22cb77d3785e9ebccaf521ac443b9ed9a2985dfc362505ed29117eff5a9a74571a2e8a9332900fd930183dda94a721068cf28a81e7d97
 SHA512 
805f8311a4acfbaac019a4e1fd59545e0c30c76a26049332ab77e4af10f363b0af8e92fbf0ec7bda325f93bdabe3291d54a9ec448454d67bac85ad4557a11f71
-DIST rust-1.91.0_beta20250928-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
6b399ba4e1013a8cafbf3dd91702ac33a8cc14ccc7a03cdab8e187f42646b4abf2fb88c5436619511bed12ef97a9584241e5f5d4425ddd74a7e0a00e8ea17507
 SHA512 
333edc84f2484b8185b126da68b4f883086e3842b56c9cc385ffa642e112262cb273d9c829c74a03f0649a41c806540971536cc92ce49fd5a3aedaf6ef2a268e
-DIST rust-1.91.0_beta20250928-powerpc64-unknown-linux-gnu.tar.xz 261871320 
BLAKE2B 
47cce41a6ba2a233ecf1abcdeda799507f8195b57cbc686cfb467539b62960d220135a36c5b185835515d3d64f332489b39f5c05c21c4265183dd8425026a3b7
 SHA512 
f7a03f9deea8996a25663073b6f7035d9c8ef60f7528c139994bc14a1055d4fbf8d2a900d80bfdea7e1be0bd281e39fca4a863fc45f27ed23918247f79d6d45a
-DIST rust-1.91.0_beta20250928-powerpc64-unknown-linux-gnu.tar.xz.asc 801 
BLAKE2B 
10d1e3e88dfce122284992ba2d94f8dedd0e5b1979b0ec8ec90d09a615dcb2a05287e4069f8c13801c490ebc26de4f25d74cc63d91911ac6fd0b055952e3ef71
 SHA512 
e8eec3b36b6b1bec852786f5a4d7976461b81b093c63248dc4faa994e5c263f007cbabda59a898b9d097bd756856434f4e6afe0a94cf56281f4963f4ab781b57
-DIST rust-1.91.0_beta20250928-powerpc64le-unknown-linux-gnu.tar.xz 283662436 
BLAKE2B 
4990cc15f7085b1aa326004b2bb0e81c7501dfe99cc2816a1b1f051ac682dd3ae27c72f55da06062ec55a87a1cd13dac65dd27b438443fa22895359705d35e04
 SHA512 
4658cadfcc990088b0c42f85d9fe4051c7581c03b72e5d849558d74e1ae746e101e6243737f4b9686b3b501adf05da199b798323f163e9a6c3cb8b3f631706e3
-DIST rust-1.91.0_beta20250928-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 
BLAKE2B 
e694b6bbea80e15f5989ac6f6e85699d2b6f285bc7c60d2172e8c554c9d414f1871c9d0446d4063e34a0e0d4f376dc5a74c373520cc3ecb847acdd1aad2c992d
 SHA512 
853030df7476125cf4b33129266018a2a4006dc31cc5707805a569b019381c7bd735f83a3478b259181cc5d5da1568e95c836f4f2df715b2bf669116d700e536
-DIST rust-1.91.0_beta20250928-riscv64gc-unknown-linux-gnu.tar.xz 259277484 
BLAKE2B 
302863ba3bc95950b117c747a74cabc5791cbdeffdb23b8703c1e5a4cf68d0d5cc22212d7669c8af0b8459272f4105004b7b1cb785ff37557d856a6e2c17b763
 SHA512 
aa510f0494b0d9512493ceab1c1552ae2e2cbecf6155c2ebe0c6ab20fd7b8581b720d4a6c720431ac2a3ff0493d83fb55f1cb46b3256c112ced9b6ba5f31ac1b
-DIST rust-1.91.0_beta20250928-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 
BLAKE2B 
b74230bc6956193e3b7016a1dd74c7263b1e3d271bdd6180ca87e5bb27ef1aa12149cff9666acd974f325cf630fb6b9a4faf4714e8424c6286e4987e508d4d01
 SHA512 
eafec3f4ddec5cb489a76a9c02ea2579885748e28807c5faddcd43411aef86475a3b53f998e64e2232800b25e004d27868de23c802499f7a0b50895f6c211486
-DIST rust-1.91.0_beta20250928-s390x-unknown-linux-gnu.tar.xz 247379756 BLAKE2B 
4b62291f0645750b601c5b10f892d8c2ec30f223c9a9bbaf4f3d6498911da4c109e8020a9536c0a85b73afa80fe9eb40368d85ed453c3395fc64d0bafc1533c5
 SHA512 
078a94df9d2187af8635e73081387de551bcc2bad5d6b4449825b92b87a4a331822ee7029e5c27f7b5618fd839e920e6763c8bc267e49c7ff24bd73e1d5fe48d
-DIST rust-1.91.0_beta20250928-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
5c282c7f79c5396ae9e419468fd88bf094246c69678f2a6c6a65ff9cb73cb4c21190ed794dfb3ea0482c7986d515ba9f5d417354d5803e9fba473ca5b7837933
 SHA512 
37644c5cf4aad7430d048f36a8cac0a042f461757c89d59cda5f80a3eb84ff84eeab5efcbf806ca715036403299416dbf95f774642ef57888e95159db73cfbfb
-DIST rust-1.91.0_beta20250928-x86_64-unknown-linux-gnu.tar.xz 207672796 
BLAKE2B 
3a1530ecb26dd8b278fdf3541ae43ceeda5ab8f64d2df5a057c4d487c1d9886bea1798db74d8da6a3d4b5908b593173ba0a7c80ab66b685c98da634f587e54da
 SHA512 
0650169048f5e2ba845b5fde0a061244dcc78bd3f50688429c096bb13b746199baea6428335fb352f2eb94206cfe288b0f47864b35e8b173ac24d0815e3d8d7e
-DIST rust-1.91.0_beta20250928-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
0cca15af7dd687338b4bf1c3466d3361516a9a3a75d0101a4b2668f3b9b3b7ab495138c6b93160f10f1362d4ef8392c05d0a32c793f817686abc6db9f3de07ed
 SHA512 
7bfca67933a63fc2802c9b000a4d986d0b87d3f075fc5fa7ab71f3cc9994e0d8625c8d88c95c8a7ed328c4cdfb9fb959955d4988c097163e7abb336b4ce3d6c6
-DIST rust-1.91.0_beta20250928-x86_64-unknown-linux-musl.tar.xz 303415480 
BLAKE2B 
a8bad917244cf6641d5ede5e41cefc262e7edb8cf6cb2498c63d2af1b93b08286c86cc0e39928c9061d6ae21e344d91a2f569f61a7464981929883f2ac21ee17
 SHA512 
676ad4f6ed23dc5152a0d19f522d36d65d70d6d43adf5ef6a622f77f69c2fd6074988a3b58405eafc06d6004eb56cf49638a23ac10db53adc18fd20ea3f3c3e0
-DIST rust-1.91.0_beta20250928-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 
b54b7007ae859d6a096c9bb927d4cfef976874a426b74ece4f147a6914484fd21beb30cef71736ca38260d0d551cd00a45e936cce27fddf191b958770ac91f31
 SHA512 
3c796d3e4e0c13fafca3693e9a0c6ab3dc76fcb464b6157147ef5af05152c9d8620d89be5ca7a0a2815d74633fd40ff496ef602b4deb0d38d85bd07d8a497207
 DIST rust-1.91.0_beta20251009-aarch64-unknown-linux-gnu.tar.xz 169413468 
BLAKE2B 
5f15fb75cc40be2389da96f77c78d59f61ec966c5b5747b4363bb638661d88f8944e6adc42f64e42a1f56f9022a32fbdeb446bf6fcc92bd455c72c256ba9ce5f
 SHA512 
cb96e3760da1138e67d11023d0bd45c3d8e9f6fcf6097244e0e3dffe8ffc606dc907000799db590c4686a62341a71ae5f144602e558378d1cd7db18b0ab5a85b
 DIST rust-1.91.0_beta20251009-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 
467955d95c435bdf02c38a087431abcf3fd2a7ae53d452f7f8f47c0a62206fbdf60ad6ebb674d4a33ccc82dca179ef0156ad66fe6e7229df0ad0b742105f2a49
 SHA512 
fff55a39cc3c9a0d3e8f59004163d27ea74d4a80ebc2f26851c73ad2bc67f97153258be79a5b7e613d1aecca8064de9c58ab56dbb29372d327af48c162f39fb3
 DIST rust-1.91.0_beta20251009-aarch64-unknown-linux-musl.tar.xz 244357468 
BLAKE2B 
5218537948b4ab12005382058ff2d506190bec936a08db7ae74ca7aa525cbbff863dc468ab13037b6839abb82306593825a4aad0517fa5302a36adfdfe04aa1e
 SHA512 
54fbefb26bfaf891b1181abde38f350b48b19b984467e9cdbc4096451b51145953675fdda1fff0749498dddd19583cb1525f38148707d02d6daccb2af4433244
@@ -739,5 +711,4 @@ DIST rust-src-1.87.0.tar.xz 3119800 BLAKE2B 
6429eb419f17109537a2a5463b0c68f504b3
 DIST rust-src-1.88.0.tar.xz 3155272 BLAKE2B 
bca923d2264337366b8013c45f3a40cbdfc1e1b746775161eaa66a1db653aa4ccb2a55980368ecf9808d6f4885194e2dfbf1f678d0500a43f7b2fcc0f79d27c8
 SHA512 
6dfe1fc3565927a9ac2ff9821ef3222cca170ff538833e1969ebe662af2cad5257c1ab3d82f5ca10aeaab40f54916a25dd96fd16449cd59e4d104b631911931b
 DIST rust-src-1.89.0.tar.xz 3461444 BLAKE2B 
b1e43def4cc0f47f0e776d383954b339a62b3efa77d5db71180b7b7620a67bd2d2714afe0b08ae26a06d7d8c785eed03f545d91813d074cbe6641e883a2d40dd
 SHA512 
055c09854e47d1bdfc7f393ac6f2783d35cb8cf13100deb227598ad91020f1d91e4cec1658d8e71db3c266dc6e267ab4172dc1007428cb05105dc4aac57bf89d
 DIST rust-src-1.90.0.tar.xz 3473408 BLAKE2B 
09e9d17af7acb38b99e33874cd4b14ad7e0e15b0580846cc32bc78657432b13091bcbf3fe95494c520bcdbabd5491b9445cb3ce3177fa149d0b89991b67b06e3
 SHA512 
88dd1a5f1a69ab9e4586fee4a31d7dea51a664ac32b501cab771739b8127eb4ac873d2353e819ef057734522c1bcd64d664bda3d1ff957b1448b4653be766638
-DIST rust-src-1.91.0_beta20250928.tar.xz 3509016 BLAKE2B 
81417db8497947d67288b1980601127cc9f737b8159e7817626fca7cb7d07fd4287fee14f0b4043c596a67d1d63b1ab9e273b6e1976f27049c86612395ee9255
 SHA512 
3ddd9987fac3d465b843cc05385ad482e9c18ff2c15dc2dc864fbb4988c2775766db5bec6fc35ed750ce5389d77dd9a56eafbbcb0ecdee293f5defd7e7a5ce45
 DIST rust-src-1.91.0_beta20251009.tar.xz 3508592 BLAKE2B 
3f629ef1d2da676bb502172ad73313f66effc4d2173ba9591fdbb86e9bfbb2efe35a043fd5c965aa0cfa805906f53678961cb51c7f61573d53201db7caf791f3
 SHA512 
dacb62bbc2c6ed002ca79fe5ebd6342ae71732e94f0df20b36b77f0d361310bbefbf749c4b8fd25ecf54b4592bc5d63cea730b927278f13978553ae823cff5aa

diff --git a/dev-lang/rust-bin/rust-bin-1.91.0_beta20250928.ebuild 
b/dev-lang/rust-bin/rust-bin-1.91.0_beta20250928.ebuild
deleted file mode 100644
index 6fff84a8467f..000000000000
--- a/dev-lang/rust-bin/rust-bin-1.91.0_beta20250928.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( 21 )
-LLVM_OPTIONAL="yes"
-
-inherit edo llvm-r1 multilib prefix rust-toolchain verify-sig multilib-minimal 
optfeature
-
-if [[ ${PV} == *9999* ]]; then
-       # We need to fetch a tarball in src_unpack
-       PROPERTIES+=" live"
-elif [[ ${PV} == *beta* ]]; then
-       # curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep 
"xz_url.*rust-src"
-       betaver=${PV//*beta}
-       BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
-       
RUST_TOOLCHAIN_BASEURL=https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/
-       SRC_URI="$(rust_all_arch_uris rust-beta rust-${PV})
-               rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/rust-src-beta.tar.xz -> 
rust-src-${PV}.tar.xz )
-       "
-else
-       # curl -Ls static.rust-lang.org/dist/channel-rust-${PV}.toml | grep 
"xz_url.*rust-src"
-       SRC_URI="$(rust_all_arch_uris "rust-${PV}")
-               rust-src? ( 
${RUST_TOOLCHAIN_BASEURL%/}/2025-09-18/rust-src-${PV}.tar.xz )
-               ppc64? ( elibc_musl? ( !big-endian? (
-                       $(rust_arch_uri powerpc64le-unknown-linux-musl 
rust-${PV})
-               ) ) )
-       "
-       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~s390 ~x86" # ~ppc64 ~riscv 
~sparc ~mips
-fi
-
-GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}";
 # omit trailing slash
-
-DESCRIPTION="Systems programming language from Mozilla"
-HOMEPAGE="https://www.rust-lang.org/";
-
-if false; then #[[ ${PV} != *9999* && ${PV} != *beta* ]]; then
-       # Keep this separate to allow easy commenting out if not yet built
-       SRC_URI+=" sparc? ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) "
-       SRC_URI+=" mips? (
-               abi_mips_o32? (
-                       big-endian?  ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-mips-unknown-linux-gnu.tar.xz )
-                       !big-endian? ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-mipsel-unknown-linux-gnu.tar.xz )
-               )
-               abi_mips_n64? (
-                       big-endian?  ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-mips64-unknown-linux-gnuabi64.tar.xz )
-                       !big-endian? ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-mips64el-unknown-linux-gnuabi64.tar.xz )
-               )
-       )"
-       SRC_URI+=" riscv? (
-               elibc_musl? ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-riscv64gc-unknown-linux-musl.tar.xz )
-       )"
-       SRC_URI+=" ppc64? ( elibc_musl? (
-               big-endian?  ( 
${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz )
-       ) )"
-fi
-
-LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
-SLOT="${PV%%_*}" # Beta releases get to share the same SLOT as the eventual 
stable
-IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src 
rustfmt"
-
-# net-misc/curl is needed for our own bootstrapped rustc, since 
cross-compiling bundled curl is not supported
-RDEPEND="
-       >=app-eselect/eselect-rust-20190311
-       dev-libs/openssl
-       net-misc/curl
-       sys-apps/lsb-release
-       || (
-               llvm-runtimes/libgcc
-               sys-devel/gcc:*
-       )
-       !dev-lang/rust:stable
-       !dev-lang/rust-bin:stable
-"
-BDEPEND="
-       prefix? ( dev-util/patchelf )
-       verify-sig? ( sec-keys/openpgp-keys-rust )
-"
-[[ ${PV} == *9999* ]] && BDEPEND+=" net-misc/curl"
-
-REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
-
-# stripping rust may break it (at least on x86_64)
-# https://github.com/rust-lang/rust/issues/112286
-RESTRICT="strip"
-
-QA_PREBUILT="
-       opt/rust-bin-${SLOT}/bin/.*
-       opt/rust-bin-${SLOT}/lib/.*.so*
-       opt/rust-bin-${SLOT}/libexec/.*
-       opt/rust-bin-${SLOT}/lib/rustlib/.*/bin/.*
-       opt/rust-bin-${SLOT}/lib/rustlib/.*/lib/.*
-"
-
-# An rmeta file is custom binary format that contains the metadata for the 
crate.
-# rmeta files do not support linking, since they do not contain compiled 
object files.
-# so we can safely silence the warning for this QA check.
-QA_EXECSTACK="opt/${PN}-${SLOT}/lib/rustlib/*/lib*.rlib:lib.rmeta"
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/rust.asc"
-
-src_unpack() {
-       if [[ ${PV} == *9999* ]]; then
-               # We need to fetch the latest nightly listing and get the 
apprapriate src_uri for our arch
-               local rust_bin_url rustc_src_url
-               # Cut down on webrequests by fetching the nightly toml once
-               curl -Ls static.rust-lang.org/dist/channel-rust-nightly.toml > 
"${WORKDIR}/channel-rust-nightly.toml" ||
-                       die "Failed to fetch nightly revision info"
-               rustc_src_url=$(grep 'xz_url.*rust-src' 
"${WORKDIR}/channel-rust-nightly.toml" | cut -d '"' -f 2)
-               rust_bin_url=$(grep "xz_url.*rust-nightly-$(rust_abi)" 
"${WORKDIR}/channel-rust-nightly.toml" | cut -d '"' -f 2)
-               einfo "Using nightly Rust from: ${rust_bin_url}"
-
-               if use rust-src; then
-                       einfo "Using nightly Rust-src from: ${rustc_src_url}"
-                       # We need to fetch the rust-src tarball
-                       einfo "Fetching nightly rust-src tarball ..."
-                       curl --progress-bar -L "${rustc_src_url}" -o 
"${WORKDIR}/rust-src-${PV}.tar.xz" ||
-                               die "Failed to fetch nightly rust-src tarball."
-                       # no verify-sig here, just unpack it
-                       tar -xf "${WORKDIR}/rust-src-${PV}.tar.xz" || die 
"Failed to unpack nightly rust-src tarball"
-               fi
-
-               einfo "Fetching nightly Rust tarball ..."
-               curl --progress-bar -L "${rust_bin_url}" -O || die "Failed to 
fetch nightly tarball"
-               if use verify-sig; then
-                       einfo "Fetching nightly signature ..."
-                       curl --progress-bar -L "${rust_bin_url}.asc" -O || die 
"Failed to fetch nightly signature"
-                       verify-sig_verify_detached 
"${WORKDIR}/rust-nightly-$(rust_abi).tar.xz" \
-                               "${WORKDIR}/rust-nightly-$(rust_abi).tar.xz.asc"
-               fi
-               tar -xf "${WORKDIR}/rust-nightly-$(rust_abi).tar.xz" || die 
"Failed to unpack nightly tarball"
-       else
-               # sadly rust-src tarball does not have corresponding .asc file
-               # so do partial verification
-               if use verify-sig; then
-                       for f in ${A}; do
-                               if [[ -f ${DISTDIR}/${f}.asc ]]; then
-                                       verify-sig_verify_detached 
"${DISTDIR}/${f}" "${DISTDIR}/${f}.asc"
-                               fi
-                       done
-               fi
-
-               default_src_unpack
-
-       fi
-       case ${PV} in
-               *9999*)
-                       mv "${WORKDIR}/rust-nightly-$(rust_abi)" "${S}" || die
-                       ;;
-               *beta*)
-                       mv "${WORKDIR}/rust-beta-$(rust_abi)" "${S}" || die
-                       ;;
-               *)
-                       mv "${WORKDIR}/rust-${PV}-$(rust_abi)" "${S}" || die
-                       ;;
-       esac
-}
-
-patchelf_for_bin() {
-       local filetype=$(file -b ${1})
-       if [[ ${filetype} == *ELF*interpreter* ]]; then
-               einfo "${1}'s interpreter changed"
-               patchelf ${1} --set-interpreter ${2} || die
-       elif [[ ${filetype} == *script* ]]; then
-               hprefixify ${1}
-       fi
-}
-
-rust_native_abi_install() {
-       pushd "${S}" >/dev/null || die
-       local std="$(grep 'std' ./components || die "std not found in 
components")"
-       local components=( "rustc" "cargo" "${std}" )
-       use doc && components+=( "rust-docs" )
-       use clippy && components+=( "clippy-preview" )
-       use rustfmt && components+=( "rustfmt-preview" )
-       if use rust-analyzer; then
-               local analysis="$(grep 'analysis' ./components || die "analysis 
not found in components")"
-               components+=( "rust-analyzer-preview" "${analysis}" )
-       fi
-       # Rust component 'rust-src' is extracted from separate archive
-       if use rust-src; then
-               einfo "Combining rust and rust-src installers"
-               case ${PV} in
-                       *9999*)
-                               mv -v "${WORKDIR}/rust-src-nightly/rust-src" 
"${S}" || die
-                               ;;
-                       *beta*)
-                               mv -v "${WORKDIR}/rust-src-beta/rust-src" 
"${S}" || die
-                               ;;
-                       *)
-                               mv -v "${WORKDIR}/rust-src-${PV}/rust-src" 
"${S}" || die
-                               ;;
-               esac
-               echo rust-src >> ./components || die
-               components+=( "rust-src" )
-       fi
-       edo ./install.sh \
-               --components="$(IFS=,; echo "${components[*]}")" \
-               --disable-verify \
-               --prefix="${ED}/opt/rust-bin-${SLOT}" \
-               --mandir="${ED}/opt/rust-bin-${SLOT}/man" \
-               --disable-ldconfig
-
-       docompress /opt/${P}/man/
-
-       if use prefix; then
-               local interpreter=$(patchelf --print-interpreter 
"${EPREFIX}"/bin/bash)
-               ebegin "Changing interpreter to ${interpreter} for Gentoo 
prefix at ${ED}/opt/rust-bin-${SLOT}/bin"
-               find "${ED}/opt/rust-bin-${SLOT}/bin" -type f -print0 | \
-                       while IFS=  read -r -d '' filename; do
-                               patchelf_for_bin ${filename} ${interpreter} \; 
|| die
-                       done
-               eend $?
-       fi
-
-       local symlinks=(
-               cargo
-               rustc
-               rustdoc
-               rust-gdb
-               rust-gdbgui
-               rust-lldb
-       )
-
-       use clippy && symlinks+=( clippy-driver cargo-clippy )
-       use rustfmt && symlinks+=( rustfmt cargo-fmt )
-       use rust-analyzer && symlinks+=( rust-analyzer )
-
-       einfo "installing eselect-rust symlinks and paths"
-       local i
-       for i in "${symlinks[@]}"; do
-               # we need realpath on /usr/bin/* symlink return 
version-appended binary path.
-               # so /usr/bin/rustc should point to 
/opt/rust-bin-<ver>/bin/rustc-<ver>
-               local ver_i="${i}-bin-${SLOT}"
-               ln -v "${ED}/opt/rust-bin-${SLOT}/bin/${i}" 
"${ED}/opt/rust-bin-${SLOT}/bin/${ver_i}" || die
-               dosym -r "/opt/rust-bin-${SLOT}/bin/${ver_i}" 
"/usr/bin/${ver_i}"
-       done
-
-       # symlinks to switch components to active rust in eselect
-       dosym -r "/opt/rust-bin-${SLOT}/lib" "/usr/lib/rust/lib-bin-${SLOT}"
-       dosym -r "/opt/rust-bin-${SLOT}/man" "/usr/lib/rust/man-bin-${SLOT}"
-       dosym -r "/opt/rust-bin-${SLOT}/lib/rustlib" 
"/usr/lib/rustlib-bin-${SLOT}"
-       dosym -r "/opt/rust-bin-${SLOT}/share/doc/rust" 
"/usr/share/doc/rust-bin-${SLOT}"
-
-       # make all capital underscored variable
-       local CARGO_TRIPLET="$(rust_abi)"
-       CARGO_TRIPLET="${CARGO_TRIPLET//-/_}"
-       CARGO_TRIPLET="${CARGO_TRIPLET^^}"
-       cat <<-_EOF_ > "${T}/50${P}"
-               MANPATH="${EPREFIX}/usr/lib/rust/man-bin-${SLOT}"
-       $(usev elibc_musl "CARGO_TARGET_${CARGO_TRIPLET}_RUSTFLAGS=\"-C 
target-feature=-crt-static\"")
-       _EOF_
-       doenvd "${T}/50${P}"
-
-       # note: eselect-rust adds EROOT to all paths below
-       cat <<-_EOF_ > "${T}/provider-${PN}-${SLOT}"
-       /usr/bin/cargo
-       /usr/bin/rustdoc
-       /usr/bin/rust-gdb
-       /usr/bin/rust-gdbgui
-       /usr/bin/rust-lldb
-       /usr/lib/rustlib
-       /usr/lib/rust/lib
-       /usr/lib/rust/man
-       /usr/share/doc/rust
-       _EOF_
-
-       if use clippy; then
-               echo /usr/bin/clippy-driver >> "${T}/provider-${PN}-${SLOT}"
-               echo /usr/bin/cargo-clippy >> "${T}/provider-${PN}-${SLOT}"
-       fi
-       if use rustfmt; then
-               echo /usr/bin/rustfmt >> "${T}/provider-${PN}-${SLOT}"
-               echo /usr/bin/cargo-fmt >> "${T}/provider-${PN}-${SLOT}"
-       fi
-       if use rust-analyzer; then
-               echo /usr/bin/rust-analyzer >> "${T}/provider-${PN}-${SLOT}"
-       fi
-
-       insinto /etc/env.d/rust
-       doins "${T}/provider-${PN}-${SLOT}"
-       popd >/dev/null || die
-}
-
-multilib_src_install() {
-       if multilib_is_native_abi; then
-               rust_native_abi_install
-       else
-               local rust_target
-               rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
-               dodir "/opt/${P}/lib/rustlib"
-               cp -vr 
"${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
-                       "${ED}/opt/${P}/lib/rustlib" || die
-       fi
-
-       # BUG: installs x86_64 binary on other arches
-       rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
-}
-
-pkg_postinst() {
-       eselect rust update
-
-       if has_version dev-debug/gdb || has_version llvm-core/lldb; then
-               elog "Rust installs helper scripts for calling GDB and LLDB,"
-               elog "for convenience they are installed under 
/usr/bin/rust-{gdb,lldb}-${PV}."
-       fi
-
-       if has_version app-editors/emacs; then
-               optfeature "emacs support for rust" app-emacs/rust-mode
-       fi
-
-       if has_version app-editors/gvim || has_version app-editors/vim; then
-               optfeature "vim support for rust" app-vim/rust-vim
-       fi
-}
-
-pkg_postrm() {
-       eselect rust cleanup
-}

Reply via email to