diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2023-07-19 11:52:42 +0800 |
---|---|---|
committer | WANG Xuerui <xen0n@gentoo.org> | 2023-07-20 17:48:27 +0800 |
commit | d283899236894468205a8b783d191c5c4c1ab728 (patch) | |
tree | f90e9ed67f1bda86f6cc4638389e6fd48b62c010 /dev-lang/rust-bin | |
parent | rust-toolchain.eclass: add preparatory loong support (diff) | |
download | gentoo-d283899236894468205a8b783d191c5c4c1ab728.tar.gz gentoo-d283899236894468205a8b783d191c5c4c1ab728.tar.bz2 gentoo-d283899236894468205a8b783d191c5c4c1ab728.zip |
dev-lang/rust-bin: add 1.71.0
Bug: https://bugs.gentoo.org/910496
See: https://github.com/gentoo/gentoo/pull/31241
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Diffstat (limited to 'dev-lang/rust-bin')
-rw-r--r-- | dev-lang/rust-bin/Manifest | 37 | ||||
-rw-r--r-- | dev-lang/rust-bin/rust-bin-1.71.0.ebuild | 230 |
2 files changed, 267 insertions, 0 deletions
diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index a45106be8ea7..ecfe08d49698 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -208,9 +208,46 @@ DIST rust-1.70.0-x86_64-unknown-linux-gnu.tar.xz 163456784 BLAKE2B 49a8397a7129a DIST rust-1.70.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B e5fae8b3c87f54b39d922fe0c7694e0ba115ae34a668cc873390fc9e4638baaff5b6d1b4c67228c6bfc57b4da9bf77d6a452ca12bf6653d5610895b8ba19d64d SHA512 352749df741287107b966fd603113c51e82a426a7151e224e3a8d1cc7bd4658ef86147f6fce62caccd7b5779d9961be72cbb618db79a2850e8a8c4b0bc229ad3 DIST rust-1.70.0-x86_64-unknown-linux-musl.tar.xz 233692884 BLAKE2B 295e815bbee6dc135ad17dd78801999afa7880a7a8f5ad4932a7580f1b03d50b850bcc3eb68e9d679e0a2d68392d446423ea752e47bb22d64823bf3222e0b377 SHA512 5e42224e109d525a321c107005660059ddcb0414392abc660b80fb09a55c936c79215989646be0aff6b0427b2f5d82a2a19ec3bd3235883a2037575808aeb69b DIST rust-1.70.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 7c5be81109607f191f339cfef87c736e2d35d4a045511036ee6e9bd68f22fbaae825ad5c463b0a5bf29606a8b9cf488172d1338aa4d034767b0f59243613c250 SHA512 241863164ee1a0d702080c9967e2ec5bb7af9222236316c8857b89b517fcbdc362b26ff3e362c4be7fd2989d3fd2aad0a0476feacecd2604855dfa53f5f1af27 +DIST rust-1.71.0-aarch64-unknown-linux-gnu.tar.xz 209991076 BLAKE2B 1400684c4bd3349dd73c5941e8edb1ba3d334522651d8c8fc614528197ad661d99e58165ab6dc0c384b1b918161602baf068a2b199c103cd17b6c8082fa22b62 SHA512 2a99e296f973f7eb91814debe376b3eb30c0950032c8ed8894d23b0509d2e0b9a2da4aa149dd809139bbd5625a2ae917b71a34f485ac78f07a8b83037b5983f8 +DIST rust-1.71.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 98c26527bb54799e76ffcb637e4c8a5e1e84115bc2aa1f918e1db5b626c6b76a5b3ae86ee6f622ed2050f5685c59dc35f43f3430e8db121396d780b917a9e049 SHA512 66bf98344620b917992b6b6ca35f7ddfb5d20cbe59eaae9ab05d2b8a6badb1a44a4c4e0a18859d2c5b0ccb3e782c9d8a215f6765072ca488943e7055e62e45c9 +DIST rust-1.71.0-aarch64-unknown-linux-musl.tar.xz 193402460 BLAKE2B 7f637ceebf6319b79d61a93a5fbcf70f10783fb9d049a0273f7fe2b38a4802e53e115e3b058aa240cea81ff8f8ccea714bfdb07ecbef3b53b1cccf33c4a6700e SHA512 2bd95b6036680d9e8890e6a1e141c4df6b70e24e4a7c3ea47d02cc0895c6c4693198ecc7a793363fe18a9fc6fd665c4b52e7a315fd3a75883011c1bf874b5c3f +DIST rust-1.71.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 56484d4d5486627f358f83d895a1314b8652a8bca9d1b09f6328421ac4e32ae2d975859c5ee3d68ec1ef1275a3d69a0b3d37d9d9665e658725dac0c33444333c SHA512 d4bb8be012ca57b5ff11b945e0208a13a823025a3e8c3c8cf6c924a812e9556d1db7a61588beac7839504eee1714e1f15503ebad1f7558be32f339bdfe3a6fd4 +DIST rust-1.71.0-arm-unknown-linux-gnueabi.tar.xz 173764116 BLAKE2B 6ca4784b4a844b799d36800fd88126f4fc1d6f2a9599d8e5d9c72a008c06770d0d7ae474306870d83e64373f4adf6a5f87894351cc5780cfb66084eb82b11b21 SHA512 e9b54549e6ac416ee3c261c9779c7e970d99279b4dfe4a032c438f4d854fd7392453873adcc3d6e4d138e0240dea2351d3c08698b00edc5858fc17951df0cc09 +DIST rust-1.71.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B f8170dc6faf26f85259a4ded0cc462e9d59c5884ce0943efa185d5a4bfeb1fb9de1c254ceafdf86e7ddb2c4ec1417142667e52c58b18c9932cfebfd9adafca23 SHA512 e0380cbe0dc2af9ff0664c59c17c8e9c521bbfbd09f2af9ae7d24ecda2128a8f260515831c08ee1220bde36fbf24c3a0f4b251376c5a143c20a868d0bfe13307 +DIST rust-1.71.0-arm-unknown-linux-gnueabihf.tar.xz 174050576 BLAKE2B ea0698a4073cd288f4da89ffabd2c9e28999578918e224891115c48539bcb465aad693f7efe0d26592e35da23a43c1689130126d89ea3c33e74efd4e10375660 SHA512 34322d585707e60c5896752b7181efc9e0904869ae24a1228ad243b8e693687785ad6321f93e9d4695e491a614c9ad2d8619f977e85904b0b47f0239fc4d59cc +DIST rust-1.71.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 8d2176f2921601b46fa31884dfe8ea4c2676ed5d0beda839216d3686fc6b02b0d35a17b0f6a3c410672ca11f488d3f1254fbefdab96e062e93900d19cccd1c8a SHA512 5df4b6c60a132cc05abc121f25db1f04cf7de3c14a46490dd103d72b59e5619b1d3b4de0caa00997861d719f8d12ff2aee661358052cdb9e60e269f59cfa44b5 +DIST rust-1.71.0-armv7-unknown-linux-gnueabihf.tar.xz 178354684 BLAKE2B d0f98052377d3a6359c00ae9aa716240f2a73b41a6078acf855f7518f124ba69a07add924772159b566c16b6aea7be3fdba414377b552a1283f203794a7de526 SHA512 34324db7d5a06c6d57a954aa30da70d8d16b1ef90b0681e0bde8c55dc4ba208125a7b2f969462853c11145152f9add706e61a6cf91afbc4316762a7cb236196f +DIST rust-1.71.0-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 26eaa3a0a2643db61aa7e9f08513d0b76edc4963de2ad52003eda2af26f33597a4a68a211e0579c324fe55bb0404a45473b1f762b13c0ea2ed22657b78c922ea SHA512 41c8ee305e0ca0e703da55c1e101088ca7efb2d7713f3745ee02473c77c2e6fb1ecee53e206fa5bf22823486fbbd3c13a108ac072d0acc18fd5bb1bcd09dcaaf +DIST rust-1.71.0-i686-unknown-linux-gnu.tar.xz 202182092 BLAKE2B a00b28125209bda56b2cff4dbece301dda405d3181eb081df8fd57bcb7722900f709ef4dfb3130d4a85e252f17cea7cc489de691199316a9652357b5a2857a63 SHA512 a6eedbc044d59e13d79a251c5cef250c41db1680179a7011682a5401e0fc26afeafa50c91a0fba43b723ebda29498579eedfa5f7b1f69df4c540076c835bec72 +DIST rust-1.71.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9876a0aee36b98c160b16eb89b3d51488b780f937681dd7b530469f5f0ddee9e8212048fbfb28f902f4ecbf2ffc667d4214c114f9689af20aec9e908679119b8 SHA512 51ef8bd55e656179d70c33f49387e94dc9d1083630166eb1cfd646b0601c3abb97ec2f244c5445a5612bdcd14d84ee82523db9367d896e4c3e5795b31385973c +DIST rust-1.71.0-loongarch64-unknown-linux-gnu.tar.xz 157813464 BLAKE2B f5891e63685d5d3087820190ececffcda16ac1030a8bc26845b6c7c944040b676adcaebde2003407dec9994bf2dae6be16277a0d3ca0c7f47e1ef744caca90ae SHA512 1872cb88ef536609323cd40acc40473f295699a8d008ed6f9aaa3c2f6993f61d17f798d64ff071f1b4ad8d2574eaac5e88fe431dab35304aefbfa72b83faf4db +DIST rust-1.71.0-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B f799bb6a169dfe5f681bd8535ff34d3b42bd0085aba7491a64ba16b3e65475e5ee9c9f35347be6af9bf35f2f40beefa7af45c79db6b52f7f5192b63b8715cf3d SHA512 84468e736a7cd1d16d7ba065f8162e34b277459d76f47204dc8e086dcc994f0d1b155ef6784018017d7cd92c118c4f5f768d2b8660b388b531f7d6b53367dd36 +DIST rust-1.71.0-mips-unknown-linux-gnu.tar.xz 152295116 BLAKE2B a3d08447b652a2738bf04f15349c6f733290920375e78be905f26e53e6b85811f9d1b0bba3cabf3994470a101cd607b162bb8f60220f258ce17cbc01bafa5902 SHA512 418bcc86c93806dc51f7da54ac5907f53b84381209fe02dc276bcb378a120332ea0df154e5fb4b28aaf425abba047e1265ca888533e3fa55683a402dfc877be1 +DIST rust-1.71.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B fc5f101c57de8de6fa69a125ff0fd5f26cf59e5521c566047acf626c4dd3fcaff347636af97441e77ac5edde7da41720a4c4d381cd62e5aa5c7026f19c97e195 SHA512 930467025f3a626e3f439eeb61cc8b873985a52fbeccbe853f67cbcae197be8c7b1a204b433b0dbce35c8f873b54730f427bf97e9cef4c3ac66abead25300d11 +DIST rust-1.71.0-mips64-unknown-linux-gnuabi64.tar.xz 150684312 BLAKE2B ecb130f57b555990dccdddb861b56522605eb3e7552f5eaf8ae4bc93056746fe540bf30468fc03cfd86d3daa9cf437f1e245c28f5ef6392a8e1ff8ccb7418e90 SHA512 029b897ad026f03faf1d73565963c4f1013f996143ba72de06118aee960c176d0320dbf81964bbfa0fe2f50771b5afc156db353a318abd9f0e8dbb5a5b4dd46b +DIST rust-1.71.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 5f72f40cd2d5e5d0bce8d7efd612fb315e2102dee6a4feaac6340047f7fea369956948939cda6632948e778cc41c9794e11a25f5a814b5bfe2037ad157fff660 SHA512 54bfe40e378d565bdee3628e87b8e4facfebf2d88ee4a9ae64fedaeef14399348b9d710cb770c2c36c6fca9831488371078d6560b9e641619775eb931558a5fd +DIST rust-1.71.0-mips64el-unknown-linux-gnuabi64.tar.xz 154483548 BLAKE2B 8cf96a0636b55c037869f944250bdec80b968f396cdce7398dccdbe691fdeb545218e899774e7386e6f0cb7ce5cfde8d1ce6b538fa887e5db7d675dcce6a592f SHA512 db86f3fe6c7df7ea0e49d75a44baed9cf3219fc967edba16be583b1b3fa9815eca84d302e2e01bd1d86339fbef7d2b4b3fc4a154fc07b6d0a9477a7891c54be7 +DIST rust-1.71.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 6b1cc481b0dc991134bdd97dbf27e5b7ba2b0c51055755f835ccf6062c265c7bcf5c50a9edf67aeb2220bac6ae6ce1d9540893ae26a7fe3ec19353829b3b409f SHA512 a34f37e79bac3f09e1042a330e039f52c9ac4c7dad501072555728fdc6825a5faf33b87ef72f5756e26c952360b211f2d0f9fb00935b9cbd5bfa9e052b2d7f86 +DIST rust-1.71.0-mipsel-unknown-linux-gnu.tar.xz 156128712 BLAKE2B 29c995bbb9b6fa5f110fb3fb1d12018084b229d913ee4b6b30549081e8f6eba3984c1aaee50e82f4b41c379476736a580805bf1c74c10888e67ab6bf839207d2 SHA512 6779c9b7f75328a07eaf1c358c2ddd46f9e17b15e667e0b668422b398be70343f1ec49237d9e3de47e144ad13b49006b80ed0945a81cad18c7cbc63119755e4c +DIST rust-1.71.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d0c4948f3e46a215069fe58575ac7ada4a1ff93f5efa85046099c908779b3eba52cd5120554ee92bfe014c681fcd6efa6992b74b8dd6dc00ef5143a056704185 SHA512 ab931513befb14061f2de18f7ea901058c1991deacfef0518156bec8915bcf10502711b106147e65b3ebe1097fe5a088e0bd1d2f0159fcc8fd716faef5e086c0 +DIST rust-1.71.0-powerpc-unknown-linux-gnu.tar.xz 173001556 BLAKE2B 15273f254ae7d60cfe2209edcd9e9c08c317caeac5d35b899a86c84dafa97af154e95d0abc73b0cb72539057b68faf1fcaf5e96483060692163fab04375bda9e SHA512 dd402332f949599440ab2c3d7e1335ce3191d07aa3c4aa36b96e48ee61ea720d1a81d707e89de8717bd76a21b39b300de92ebe97c83421b15ccb4c7c3a5c07c3 +DIST rust-1.71.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 08f7a28a99927e957abedb7a56b23624e5d84eacfcd6f95538c2e20575b7da0a64c51453aff85a2a715aa5d3542a23cea666eaa2682e94242e9747f8c2925d2d SHA512 ccfde9ed8c614aa315dd3ebba5a55a08510b1e04d256a0ff37150cf2b6bb30a6750aa7eed72ed66b49b85c8ae3dd88b579052ab8bbc579e9fac102fcb1dfc5a7 +DIST rust-1.71.0-powerpc64-unknown-linux-gnu.tar.xz 172593332 BLAKE2B 82eeebf794b989441fc5a9c18ff1165b36de3f29412f973af4a229475f50e7ac477a004b96605d2267a1bc0f56c8bd4fe66f22e360fbe4a071eab137afcb16cf SHA512 ac3d27414d23dc2755f5683f09f73b1a36e35b7cf77edc746a62c76ef0a83361e8c074db37b716f5cfc843264651ac7bfdd7faae3d8225ef9177bac5975bf331 +DIST rust-1.71.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1e034a4bea8c037ea22c87255c8ae91d338e8dab5830f7aa1138aad32742f97e42a64892f2d9b7b967ce192925c95d75a1a0f5dbc575bf443dd38e353742f5ab SHA512 c068875df6654db7305ba520e75c4ddf766a23905a4206a7a9ae0d414cb493a6c427c3f5f4bfc2111209e42b390bb54bd0eff7ec6b257165d1cbb42f47057b36 +DIST rust-1.71.0-powerpc64le-unknown-linux-gnu.tar.xz 184310820 BLAKE2B 8a619e8fdfd8310edad2604285ba307124d6a91c46ad6a2449188a50df0dfc7f3aed1140e3da7ee1d589710386b166018bb1a207befb456d9dd0b98c1903f4dd SHA512 841b3aede46a20fdf8a9abe7178fb314ddaa6ed568f3eee9ba085d5a8e9ed320ca8096f8c864a81a524e7978856538bdbc21e2031534f2f72943bcc137c700f3 +DIST rust-1.71.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 74acdcddf4861469ad955f2aeb6feefb2eb07beec2d781cab1ee5b567572b2c9af0d5f06dde4448288e15ca86c2a7c80777a79f4b1df2a592d0158b9d46b22f9 SHA512 6d237e26f9dc6ad350d582173cf96b2e4e495d0cce033b6a2e9481f2a6facb533f5f422753bf826d44e8c43d87cf048a5431e18f64755b4ffa493dbcb9a5662e +DIST rust-1.71.0-riscv64gc-unknown-linux-gnu.tar.xz 164997272 BLAKE2B 816cd02dcab4128faa8321f7134188231983a7c67f5cbb52fa6d1be5370a8acd7ac01123223a342952b30339219dc4ec6f58383dd98b955f7d5809af8e918592 SHA512 3bcf6520781b70d38762af142e99844f575887116da8f7f117e4f9e1b568f85a2d997e66457c64ca7e274598454e26f2eba2cfcf395fcbc083097115763a0b03 +DIST rust-1.71.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6ccdf48a7e345367bc847e05861c75561511092ad3459fa15515b500536b36d2d94555cb130dc405fb2fbc49c00fe18c20fc27b24c5c52d066c4314e321622ba SHA512 4fc85f2169b9a3db7747736837668d07d8ef17cb701a6300297ccd20700fb538687897f8c8967926ee06c21bdbfff37eaa3a527b9a0ed111bbec4914d6461b4d +DIST rust-1.71.0-s390x-unknown-linux-gnu.tar.xz 195655276 BLAKE2B bb5ca6d712fd109478f1fb33fc224ca2dc6b2d2f32bf14892e21b1918d8a201d815cd899210cec546763b07612a0fa7d734704ce968d96b51feae430eae2fd97 SHA512 f3128d9dfec1ee3c18815b2b26213dbb6624e7f0094b4dd8a259e12e1482eb5a984ea90bbfe287caf1bd749cc30e6fa3cdf25978ba76edc99e58deba7a7de9f4 +DIST rust-1.71.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 54e1f18d7130c7759e0327dd46361ab9755ddcb2738d1ba74b0fea622a7aa0bcee27221bb6c5acf7c6ec4da79d1879ff581e9f87dac94d649cb86f8269a7d332 SHA512 0241b9f02635211434b174532899351d2d273529c67e4f7e94b690247c4a3fed542ac97d269666e1fbf4e5a4297bd68f3206b1c42a980543f84b279a0aec34e0 +DIST rust-1.71.0-x86_64-unknown-linux-gnu.tar.xz 161430980 BLAKE2B dcafde40a19b0ee40f45d627e063deab934ef3d537f07fca1eaa9b0ebd01bb16a3f6531b50f7967e8fb6216f446016f73095f28bd57487a7f4676bd91097257e SHA512 fcd8a5ae5bc28bf691d37b1abb9574d98a8daca73ef6e1853363baa545f317910230fcd655d4bd4116b93a58959544728f96f785dc9fb9bda109767e1fa54c42 +DIST rust-1.71.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 3878bb57f44a1d08b6bf9d61b69d9ea1107e0d2d8de51298f2be892e62eec60788ffa1c135cea4a53dee4564cf31aea61f8fef9a3bfdb7451094955a51d5abd2 SHA512 053f7e253f0c15a98491544a27172c0b7bbc160c169c42629d29acbfbc3be6c94a0483b6b8efc2bbb19b258571e02fcafa33cf19fa316a51f99a94d120b0bd45 +DIST rust-1.71.0-x86_64-unknown-linux-musl.tar.xz 232159228 BLAKE2B fe57a684cd3b5cf0d20e62faf8589308f80342353e80c17dca76da7772a7c1b2debbad7d6b8453d92af306f3adea97f85d7a15b858dd51ea237a41748243c49c SHA512 3bbedf056e176a2a00b8d151b0ec245e18ff109816a665a2b913c1e715815cbdbbe42fe470e8f78e0eb7ae0302f41cef4132cd02e58b550695476a2bb4f49979 +DIST rust-1.71.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 48edbb815080eb34dabe8361e05b0ad73fd7d5c96eb277ef4dbea397a4b78124d8ebdf680da1c45ffce58b0b8ea635d7fecd04c0e70fa5dc61030bb76315c890 SHA512 2beff44790ccba5c6fb414038e05846285f3f62f23b880454e414b449a442c7e09c54fbf9c3b4cb5265b13c18647144d73f3a9e90b4c64323a2b0be42df2f5eb DIST rust-src-1.65.0.tar.xz 2488012 BLAKE2B d48f5591e72e14084f2fb0d66c1365f1648060d514af23c0498e02adfd7223b1a79bd1f512859b058f9cabc4b88b9230d15960df7c30762a5263d1785b877a68 SHA512 247f822a9c2f16d1de29d1cf6fa7ff393b7c7fe01da66a7c0b4add6259d72403922b8b1bd1b511ed8a9cc0b2c12ff574945aa7fc76c731fba620b466bcdc2eac DIST rust-src-1.66.1.tar.xz 2512096 BLAKE2B 514b8f9170d8a0e9b9deeeda27c5b83c18b7f038cb27a867fc4df1a0375b5c492793e67d0f0a2c26354ed1b58c699e1ff3e19f536dec10fc8b8211325dd4999a SHA512 3b77e29bf0803278d46aa5a484a2d74f242bf7f1ce6f5a6d1e84107630aa238620c91459f385f1b9f1bfb67c593ea5a274950a4db2975307cabc3a009b89f157 DIST rust-src-1.67.1.tar.xz 2522656 BLAKE2B 28f67cbac3d09af16f572c102890b49ffb4c610ebf379cf48ff4d0107afbb39587d2bcb7c5a4f811542f84dc3157557c762b006a6e89c54cd121d22bb677a770 SHA512 839266d2046b12954fd46f258a975a37c81cb61b6d2d9a5905fd6c83961d97c197f1b467c881d5078f3725293eb73ca402b002af3f47b6f7d431828f01d49a15 DIST rust-src-1.68.2.tar.xz 2535692 BLAKE2B e56c0e48546479be30e3a22c36ccc620a69fc97486bab7fd3a45b942c6fadd160f126a805f4213cabc5d2fcf92d9fda1daa9b320d428958351ead861f617785f SHA512 0ec51c6ab2720dca0790eda81460a73857a68ca5517e959fe66b4b106a5158791493e729c0aa23e64a970102d071bca0684fb748340ac90a727035c4ef74814a DIST rust-src-1.69.0.tar.xz 2405440 BLAKE2B 685ae443aab2a1ccf3c4024be9a96f476ba56b635d4e3377670c7293d16e56fc6a21f8054155c9408a71a34ba37aea61071c50f75baa9ff0193b3199d7ca431c SHA512 87866577ac94636749c17c30b50866ab047ed35817d20e5b9e1356de573e01d6dee24518c4f85c0b1d0f4dd9ce9a87873fd2a635937fd202f4baeeaa82bb99cd DIST rust-src-1.70.0.tar.xz 2422004 BLAKE2B 2f6b22d767ca93ed5d02d432deb743e10d73fa3f767facaf958b43281cdf6786d399f83a00a7154e3935e4ec65137c15162009d20b0b97a00f9c14ff90cae007 SHA512 0ec5ecacbf46f503aa6492d518fb747496cb09f37ae377e12849c2c9f8e5c3fb5a09385a2e5912f492f4fe4b76d7e74872ca9ced18ad46d8e11671721ec03b5d +DIST rust-src-1.71.0.tar.xz 2460128 BLAKE2B 3ab6c6cb76a7e18eb0ba085c45f8b1a8bba16e2569962c27187bb415c54d3c5c1032ce4552c52f93bd4ec2512634d8899fd35fbf1a035298a9b621b5af125971 SHA512 fd59a1ced7e950fa14fd7ec9c978043b99e678bda54338f60faaacced36110630385a2bb62af19670ef27db1144810ff60b03dde542273557473b9bb521bcf49 diff --git a/dev-lang/rust-bin/rust-bin-1.71.0.ebuild b/dev-lang/rust-bin/rust-bin-1.71.0.ebuild new file mode 100644 index 000000000000..88bd4e26ea68 --- /dev/null +++ b/dev-lang/rust-bin/rust-bin-1.71.0.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib prefix rust-toolchain toolchain-funcs verify-sig multilib-minimal + +MY_P="rust-${PV}" +# curl -L static.rust-lang.org/dist/channel-rust-${PV}.toml 2>/dev/null | grep "xz_url.*rust-src" +MY_SRC_URI="${RUST_TOOLCHAIN_BASEURL%/}/2023-07-13/rust-src-${PV}.tar.xz" +GENTOO_BIN_BASEURI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}" # omit leading slash + +DESCRIPTION="Systems programming language from Mozilla" +HOMEPAGE="https://www.rust-lang.org/" +SRC_URI="$(rust_all_arch_uris ${MY_P}) + rust-src? ( ${MY_SRC_URI} ) +" +# Keep this separate to allow easy commenting out if not yet built +#SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz -> ${MY_P}-sparc64-unknown-linux-gnu.sam.tar.xz ) " + +LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" +SLOT="stable" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" + +DEPEND="" + +RDEPEND=" + >=app-eselect/eselect-rust-20190311 + dev-libs/openssl + sys-apps/lsb-release + sys-devel/gcc:* +" + +BDEPEND=" + prefix? ( dev-util/patchelf ) + verify-sig? ( sec-keys/openpgp-keys-rust ) +" + +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/${P}/bin/.* + opt/${P}/lib/.*.so + opt/${P}/libexec/.* + opt/${P}/lib/rustlib/.*/bin/.* + opt/${P}/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/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/rust.asc" + +pkg_pretend() { + if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then + die "${CHOST} is not supported by upstream Rust. You must use a hard float version." + fi +} + +src_unpack() { + # 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 + + mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die +} + +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 +} + +multilib_src_install() { + if multilib_is_native_abi; then + + # start native abi install + pushd "${S}" >/dev/null || die + local analysis std + analysis="$(grep 'analysis' ./components)" + std="$(grep 'std' ./components)" + local components="rustc,cargo,${std}" + use doc && components="${components},rust-docs" + use clippy && components="${components},clippy-preview" + use rustfmt && components="${components},rustfmt-preview" + use rust-analyzer && components="${components},rust-analyzer-preview,${analysis}" + # Rust component 'rust-src' is extracted from separate archive + if use rust-src; then + einfo "Combining rust and rust-src installers" + mv -v "${WORKDIR}/rust-src-${PV}/rust-src" "${S}" || die + echo rust-src >> ./components || die + components="${components},rust-src" + fi + ./install.sh \ + --components="${components}" \ + --disable-verify \ + --prefix="${ED}/opt/${P}" \ + --mandir="${ED}/opt/${P}/man" \ + --disable-ldconfig \ + || die + + if use prefix; then + local interpreter=$(patchelf --print-interpreter ${EPREFIX}/bin/bash) + ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${P}/bin" + find "${ED}/opt/${P}/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-${PV}" + ln -v "${ED}/opt/${P}/bin/${i}" "${ED}/opt/${P}/bin/${ver_i}" || die + dosym "../../opt/${P}/bin/${ver_i}" "/usr/bin/${ver_i}" + done + + # symlinks to switch components to active rust in eselect + dosym "../../../opt/${P}/lib" "/usr/lib/rust/lib-bin-${PV}" + dosym "../../../opt/${P}/man" "/usr/lib/rust/man-bin-${PV}" + dosym "../../opt/${P}/lib/rustlib" "/usr/lib/rustlib-bin-${PV}" + dosym "../../../opt/${P}/share/doc/rust" "/usr/share/doc/${P}" + + # make all capital underscored variable + local CARGO_TRIPLET="$(rust_abi)" + CARGO_TRIPLET="${CARGO_TRIPLET//-/_}" + CARGO_TRIPLET="${CARGO_TRIPLET^^}" + cat <<-_EOF_ > "${T}/50${P}" + LDPATH="${EPREFIX}/usr/lib/rust/lib" + MANPATH="${EPREFIX}/usr/lib/rust/man" + $(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-${P}" + /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-${P}" + echo /usr/bin/cargo-clippy >> "${T}/provider-${P}" + fi + if use rustfmt; then + echo /usr/bin/rustfmt >> "${T}/provider-${P}" + echo /usr/bin/cargo-fmt >> "${T}/provider-${P}" + fi + if use rust-analyzer; then + echo /usr/bin/rust-analyzer >> "${T}/provider-${P}" + fi + + insinto /etc/env.d/rust + doins "${T}/provider-${P}" + popd >/dev/null || die + #end 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 + + elog "Rust installs a helper script for calling GDB now," + elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}." + + if has_version app-editors/emacs; 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-vim to get vim support for rust." + fi +} + +pkg_postrm() { + eselect rust cleanup +} |