diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-21 06:39:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-21 06:39:12 +0000 |
commit | 0464b87d8be9fcf33aebbd906bc0d3a65c953cff (patch) | |
tree | 839aded9715eb71cd86edef0ea2a003400b6a63e /dev-lang/rust-bin | |
parent | d39430b96ad12b39a0ce35745f3d45d980d1b328 (diff) |
gentoo auto-resync : 21:03:2023 - 06:39:12
Diffstat (limited to 'dev-lang/rust-bin')
-rw-r--r-- | dev-lang/rust-bin/Manifest | 34 | ||||
-rw-r--r-- | dev-lang/rust-bin/rust-bin-1.68.0.ebuild | 228 |
2 files changed, 262 insertions, 0 deletions
diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index 9994a99c70e3..dbc8dff6c5f2 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -96,10 +96,44 @@ DIST rust-1.67.1-x86_64-unknown-linux-gnu.tar.xz 186714164 BLAKE2B 648efbb302333 DIST rust-1.67.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 669b7c4b0d5382a7d1d0fe49405f2798f67a9e745711dc2c8e7548ea6fdc8f0fefdab37d0594aec14b2745ce45e7c469e79c0cb1d86077ad9c7b6aafc2656827 SHA512 067681cb4140a29adfa5f4b141e2f3450dad34b95a1e549a6bc8d759e57da5d2ae69cc165efcdef9d83e2eee06edb6acd587d38c9b2f3d000d7a3f79daccc671 DIST rust-1.67.1-x86_64-unknown-linux-musl.tar.xz 269831452 BLAKE2B a36498528454f1bf0e1812eba005f27e3e281e4e2c117477785f5e48468c3fe316947b7e4360f573f0f4cd6f117e4102db8aeaa616be5bef09fb7518fd230b23 SHA512 9a3eb67239a88b875fe55846a2fffbbb1f2a4cc8eed18b5558f0f989d544a8ddfe0861d5b2b860a779833a1660ee622b30320ec9ef83e841724f7a32f08fda06 DIST rust-1.67.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B b12d0ce1136e355ee027780dfe185ee443de402e531ecc743600aecf081990d4e998fa4a6e6f0f46a886cd806918e23c5e4ccb7cecb0324cb67189984192283f SHA512 37428f0d1d8e2ddb7ce52bce3a297a7f666789d00e7e240180c3e1f7fb5b30bf5e17593cbedebdef95c50406ee82d40ef1f75a576a1a0e02387e1a12ed977c77 +DIST rust-1.68.0-aarch64-unknown-linux-gnu.tar.xz 257311296 BLAKE2B 4ff9ea1c255e660a4ab3a574a81b02b38eb2458a36610e1afd350c02053f67f13693f302997daa6b1080bef98bba89cd4f248f804eee876e568264fabea2ee25 SHA512 43d4a25adbe85ccdb4fcc4314cf40d6611e0b388f1f8132aec32103971e559103f668ecbff12b147f23a4fee8a4cfe6864a2a88cfd9d716208c475d80578e807 +DIST rust-1.68.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4a52b7a3c033c9e0689251c7d12aba22654dc25dcc3e7e756fa151229c6c031f5a8ea2379540391d2259d75424de75332f21dcc609e8ca07f5e8f1b4aec922db SHA512 8424fd166dbc426ec98990afefb8a7faed853a59c90c6fd6ec41423b1f8aa1957bb909a1d08e4dac7fcc208ea481f603c3ec67831fa1e31d9b0633fc81ad7077 +DIST rust-1.68.0-aarch64-unknown-linux-musl.tar.xz 236214004 BLAKE2B 9979a2a8762bc75794f156cd01ccf52d5e6411c4a8a1c24172d34dd0d18c99e51363ed94ad81f2945b4f9d0fca798e14500202f65051a73f83a3575a154b59d0 SHA512 b0d395711813017b6106b2939122b5c4e2d172aab6f2deff5b591ebef4402745c6db7a58ee13ec0b639a93794058e9d10f785e0d77833c806b3ca3cbb14b8b56 +DIST rust-1.68.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B abe24c0399cdaeac6d142a4b4b305651c21b621ad310b655c381199a6ff484ee4c35bec0e5eadad82917e6167bdd8f0fa56c3284b0a2fc3e5ca69b89c05c3def SHA512 90481ec3c464a26b131c19b79bb59ff7bb2642156f9fc659c19fded98331828e49a46b444f468353ac8501337b1d0ab19a20c05804e37647c2a38e2653e5eead +DIST rust-1.68.0-arm-unknown-linux-gnueabi.tar.xz 215973664 BLAKE2B 97d6216a17c0a37abb3c657df1eaa8791d15354fd78482138f7319e9d783d766745fe3d3a2b72ba0d75584eb260273975235445c5f95a0af15d1ac5b2114e78d SHA512 329ad331889b74dc5ec173bbdbf45c128a7a84bfd2116fc07027ce3b6d6ebc12d479d2aac0923121d250b3ba21843b5ecf5a08b36a9ba1e20e3b7a6884ee857a +DIST rust-1.68.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B f73f2568d74f701713caa0efc023fd0ee7af1a7357bd8167d61ef7ac8e7155c76462c2f530887d27d070a430d184ad7b0868ed12f7c0cf4bad91ae2d106a3c58 SHA512 10e9e89054ef2136a3c9df4882bb1484ef4eecb34f57197ca96f0323db4c14fc00ec4bfddb6ffe4ab58b2880c7667aa2273f6d80d551ba2e9cced3ad04db61d7 +DIST rust-1.68.0-arm-unknown-linux-gnueabihf.tar.xz 214421640 BLAKE2B 1499b5d696b8658b9a16a8a4c10079bc78c4bc15f2415033f0c44e9957da7f2102ad2f1b4492b00cde30234e4dd7c171620a02457b5749d952bb38515d3ba0cf SHA512 8b9c4d293a6a318ac57eed57caa0a65d7143aea77182f5fdb745f4bfa0f936ea684b655fdf0f15c6b35fd1cad3fbd3799abf293bfba0ad89b0165bad87e477b6 +DIST rust-1.68.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 9491777ed8bcf7993bd430c2aa4682c8d775385cf9c63e22504ba6bfa04664a6588fb2516143e4913c05c8d26f3236efc4156660889e488ce94028da5dd9d8d5 SHA512 e8249e6c97d71b2fb23ed5c4a492b17fed058474a9b88132e3a51507e080bf85530dbf19e1ae06267c451a15140f9ce6eb91c61ee331e0c4a125dbf1fe49d1b7 +DIST rust-1.68.0-armv7-unknown-linux-gnueabihf.tar.xz 219324828 BLAKE2B 71c3cf325f61ac79fc0c5ea7737e3c5288614322cbb568580f7b43ad7eecfb2225dbdfabf7693568de6f83875edc464032c0ed2954f3bf7e3d0d3d2f68c7bbf8 SHA512 dd08d0de87e99923ed48513d0a2776146f465ebce8d2d18cf7e8ce2dc8d20639546e068802233f4ef13c294dc83cb64707d520754c260eab16b88d135b4115cd +DIST rust-1.68.0-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B f05dc2e372aa486178f6d470597430510c3b426dc5febfd1db0f7e030544f65801b2b41e8dc520bed19cb6a8203dc1b69de2db8cf773f6682a1c3d4a4a94dcc1 SHA512 fd85483a8ee6fc5f8c0c13928720f97a3c710c766a3a94d007faca4bee88d52666932e2f925cc1861b153d48f8c090c450f9a35be37092fbcce2ab4a32492b08 +DIST rust-1.68.0-i686-unknown-linux-gnu.tar.xz 234040272 BLAKE2B 25ba94dc80dc188ea4640c8da1aa156d72b20cf790005facf19905a7c1422ff1b5a0d7cc78ff75a4184e8865435805e1c1783a07b470c7ca29ad85c2e62805d4 SHA512 9e3b5185cfbe74fae33e9e765ff316b1e109e395c65c5c88dca7fb7e8c48fb6fab11de2a6233fe929916936e5da9b0e301704e6002a6dc7d7c780d8498554815 +DIST rust-1.68.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 7b0d3f1bb60711a0ad3b35e90d11a368306fcba98eb979677c893de250ceea7ee9e67230da3914f6656fee69959847e81e0d0c5ea63c4ce6be3fba62bd895999 SHA512 933184ad76f5c987ed805fcad8c4ba231337634e1193253d6d971d16494ba61437776178fd976cabd29835f79b91f6cf5c2d4903668791f2f3cd86a43dffc564 +DIST rust-1.68.0-mips-unknown-linux-gnu.tar.xz 195976308 BLAKE2B 08e613a7a7b51ff1d22a094412ec23add73c710def4050cfc7a8915abafef9b761ce2f599c0cfdd54295dd5086ef6a990e386f03f1bff2c1aa251dcb69847fdf SHA512 40249e34693dd9dcf343645cc412879fc5d46b3105b34c448f9a765b8227655b2083c8e3fceed1875c1a28333192e456607caad94d2df0724f07a2a222073782 +DIST rust-1.68.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1d14fc69046bd8ea0b6f0419b36476c5174d96fcf0fb7cf669f669b965b0f2d4c0d4503030ef010bf28249bce45e00b7465491c9b82b165724bc0c78f929fbdc SHA512 6be9284449f3339388f7e4e1a32bee51071d5c1d322b21d0f3f0e8b3d96661896d22a648f9526a3dc4b0b84785f3c981c657c4b12ec6fecd3eaccff4223fc5e6 +DIST rust-1.68.0-mips64-unknown-linux-gnuabi64.tar.xz 193927120 BLAKE2B 89414035ede47f0704a66aad91984d2ac19bb52ea6c86795b483ac56f551db2c6a75b3d112e01296e108b1bb204d6434459288cd885983f6dee6162d67ec4217 SHA512 27c336016b038eb5282a308f3d9ace4c9c64b8de4d68b336326f6174709361d8c1770105dbe12d4d25c333f160ce4c6e95acefe7a733551735cadbe0c9d694c7 +DIST rust-1.68.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 288cc37d242a125e735eff2aaa0645f202650af4d7889dcc585303d033727bffa72c2f13ae46c6a9647a48940536e2d2d419efb96b0fd24dcedcc41b564af306 SHA512 eb914885149d05747409da14c08bd77c5f1ef072a89f7a0b5e5bdccbd9a26c3162297840f91531ac62ee715bf07442c6572f972f90fa510e67c578798be3555b +DIST rust-1.68.0-mipsel-unknown-linux-gnu.tar.xz 199493032 BLAKE2B bacbde3a3d4c98d884ecca6016a9a837038a71d8b3d6d0328213820f6dfecd3057c3f8f63d9f5f931053e629c5ffb9edecefd9c60172270c6e0ebbb25f72ed87 SHA512 5c51277641f81d335176e88aaf19692a25423842452c3264594651ee3747abab75d3f127bb944f319a6afd6fdbc3bf7fb90c1424ff254bc594d59950c6411c5a +DIST rust-1.68.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B b531ff82a07116ad55894a7c274664786432006a4f6029ed8f45d3e432559bf192809eed273dc0adf1968b0d1d42fa3404dc9c33dd97fe0d1c4f8d4154ac10a9 SHA512 db3f0ae30c7e166951d67908525c02ee308b0a76b6d13307427d5e341d2b1ef3111a93f23f1079df4fd6457334ed284f462f52ec9f72fdd7f8703ae7241e99fd +DIST rust-1.68.0-powerpc-unknown-linux-gnu.tar.xz 220484376 BLAKE2B 92bd890b82b113bcd3bc9da69982288e34a28d7e6eafce6777c3b3562a0e355cfb5b0952a7c5bbdbcd672650fde591161ac2d2c1c10b15ad8107cc274663b021 SHA512 217214d298ede63575f7f5c851675be493cd88e3ba1740c420db49923d650f8de130ba43f0748e2f6b3490e0e56050163181b6fa35f9d2dda01cf669acfe2af4 +DIST rust-1.68.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 531ba7c979ee6c8a5f88aea49edbcd3d727cd415d724128f9f17053dd0a18ee2b9fdc039e69b625fb72fba762351160cb2a2bb9add488d0c5b517a18d1bd2b2b SHA512 028a3b3e6ea960fa2f52bf3bcf26c5f915761fc8915f953742c7f7c00c351b3b064c2f3e05357ce11d000dcbfe0a9ec6aded20f015af4fff7ba953d37f839e75 +DIST rust-1.68.0-powerpc64-unknown-linux-gnu.tar.xz 218552304 BLAKE2B c6c147861b64b046bd529b7a535eec45513a3e94eb716e89ca5913adf70be4a169994ac6b9e4df9ce5252f906394e598e7661e70c96b03f74f428c12e8d3617f SHA512 8fa891cfe388d66af5480e2855739a29202f4f77d5527ea192331d4b2b901f98dd5d7fa9877360fa2fede994c923b12613128c07b88209b9fb1402088ffb063f +DIST rust-1.68.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c3d951158eff5f97766529753528bcec2e5ccee3016c9bfb3358122bc0a11941e88f5f193d0b867fa5d3fb18486019d2338e40683ecff043ec247b0136a66ec8 SHA512 140757fcee815f04d2b3975d080ea43a00ce429d85c9847527877233999be4828ab5a760ce5db4b58c302ea8d515b842b1706d506f54135b9e39f3f359d03c05 +DIST rust-1.68.0-powerpc64le-unknown-linux-gnu.tar.xz 231410408 BLAKE2B 3290892de9f3cf6248064b7614cf6fd0742182125720e39b33b945ef9070674a2fde76882054ac8384bac661f9aea8491ed37a99e50de6635d5abee49d73a9d1 SHA512 99e715074b062a4c347f55192e365d262e240a1b28335eff97030bbb0a7c9369271a86a7f550bcb3a4d2f7c25744f2c3a9058d3c9c30399ee8c9762822618c9e +DIST rust-1.68.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B aaded16515cf1cb6ee567ddd6a78e4e23c5920166e4ce87aa68434a442038ae55276adced3d8d76ffb0b817458dee3a68478ffab7abfebfd2784bb04581e6894 SHA512 6f82c39d97a250b03651401b57e49f3c93626829ae047291050172434504d31c66c588ae6d8eb8460c298dd3e66204d0dd0491ed369e08d251243b13d8608797 +DIST rust-1.68.0-riscv64gc-unknown-linux-gnu.tar.xz 207755284 BLAKE2B 12e019a695f952b78dfe7c21e618d5190d55fcd7beeea7500685bf4684fa47cc57751d2bbacce90c0a4ec2457789584cf23ebcc58fe6d274919e14735fa768e7 SHA512 b05cffe24035bdfedb04306fabecaf87bc58ab285d3097149f3a283fa39b5fa6d87158afa697733f1fcb0a585c1b02d2d444ae3a9a6e4146671f2be2484a4f52 +DIST rust-1.68.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 638c71a2fdfc0e88f5452b042757835f9b4e9209d557924b0d4e72e1f11f137e889dbd2427eabefb01b6bfb6888cac76a461796bd8fbbcda07ef4c2dda22679e SHA512 dd17885f03c2160acb688b35b17c36766778ee6100b6d1946ca84ca65515f6d58143f4b13f27a2006bfe5c21c9e64f7199cd678e8d3cf5067cd2ecf1e9085374 +DIST rust-1.68.0-s390x-unknown-linux-gnu.tar.xz 233939748 BLAKE2B d9eab2bfba6ed7fac1967ebd11089ec00e521e815e4c6a14414fce40f7215e6298b4233ca2a051dab1c907cc448ac84ce720b491060f0f653cc8f08813324921 SHA512 b0a9703f486dc008f161d7d4e374bdf5732a7f3333447aeadf2ca115a6cc58b79f0a08bb59b83ace5f855b0f0c9e8967bc2918280f5bc44f75a0638fd694f660 +DIST rust-1.68.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 0963d71120563edaf16abd9e9fa03ed3ae4b0607595d3275dc337920e9f0a0f2d313531f1f900140a2f86244fadb339ea3f252387286124159653359004bbdd5 SHA512 7aa63ab7518d1cfeff96306fd44a34c54fd894ab6d8a1de7e4255bd047c6f55a2344e13e90fa62a8e1ca2c921ed8d45ababd8556cb7b94c21d73d3ce891cff76 +DIST rust-1.68.0-x86_64-unknown-linux-gnu.tar.xz 185829340 BLAKE2B e35252634dc14ee37fdb6397c6ef6e216ef51f5d7280a0e0ce289bbf551acfc3a9762dc47514b0bec696eef42e4eace967281d0e48535f293f4cabcdd7a7c61d SHA512 86258a7c21bd04e28661c37add745108d4043b6743d3b49a99743b3ceea0925c26c06ec507ea7cfbd894d750a10c31f11bf4e0ecaad43460182c0a1876445fbb +DIST rust-1.68.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 3754e7ace2b73174d1e3ffcf82348f330a16c10fe71e5a989afac551062d66f89bab80a8c14d9cbcc26addb9865ad4657cf0153c3021e8a33210108b176a7298 SHA512 cb103df554f3e0c21c420aace31fa2966ec72cd6d3219f4d9a2d35b46d901340d2a3ec3917f0c4225a3f4bd1cbb4c88b33b34bee6fecedc3d90914a28d49c50d +DIST rust-1.68.0-x86_64-unknown-linux-musl.tar.xz 270042696 BLAKE2B edb9c42d47296538fa8bc4467a450d57604d94ee53effdadec6b74b2fec6753839085e0e96baff31fbbc5ae253d1604b9653b80b183291762926bbec3bf832b9 SHA512 a5d721c5ddf6a9d3a3adc00b8757a531665bac9969a19bd2c0b86d19164b9cf8d60118e35e1a17cd5e004b1a16975d52962c07179e0289653b692df368072655 +DIST rust-1.68.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B d3004b933ea1bc4d21a9e9f2eee6abc112b76053254b6510d5ab432940951b3520ee5ec0eaa28e743fbad584e45f1cd655e733f2ed94a70e94d46d4a46e5bc46 SHA512 32443ee30ed9cf9a7e0aa960aa07991d7e3dd503568cac6dbb891cf82f57fafd5dc5387fb3c5b0ca6f801095d5dfa881cfd51299d0d4982594c8d17513e9edf0 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.0.tar.xz 2535596 BLAKE2B 305aa63291a4ed385cea9bb0e79006c0408955fbf2f8cce16e71a8f56ce910ce37d64290cce5a4284c75f1549bb541c5cd2aa3dbdbee268a88a5dd823e98f732 SHA512 c91b63f8d5cc344f732eb8e496bb7146cf034d745e720270e84f68d5e4d243673d589b286ac28cb714b65e4e20c5e49bb946d586f1f47129a67b093ae89f3a74 EBUILD rust-bin-1.65.0-r1.ebuild 6793 BLAKE2B d0a58b6ef31ddb223cccdc65998038e9ff0cb4455614619de7adecc0907cca47fe4fb7d7db9d315fec00b0779530a60ad03935fca88df7c840b409c0c37e480b SHA512 7e6908661f31c2a1ea77ad3f1cc1fd729a9ebf4093296e69f39184ed95b3ee4b715de00899736d409f0aa7362b9c5b904d150e47e255cf32244fdfea28e69edf EBUILD rust-bin-1.66.1-r1.ebuild 6798 BLAKE2B 6c814eb21abe2a4f3e3511d609e7ccc9196f49dd2d3ac060e3c8727c84258206f80173cbe6ca544f27b4fd1a32346cf6c9ba308f4d3e2abaabbdefe3051169e7 SHA512 71c77d41dd56c309b7e9103a0cd87ff54b5a9fb7ec51ea62d871041a0cb18bcc44cd98d431507339d03bcedcadc1804bb2c86637e4e5c6ba707f95b0d3b98a35 EBUILD rust-bin-1.67.1-r1.ebuild 6798 BLAKE2B c06b46edea07c26f176fa6786e776f07732cd57f67ae8aed65c97141d146b42d4c8c1ef054c3f5f4f749f0b4bac32ce3d00910168ec927816a2e9d9d6b49aeb5 SHA512 a0c2acb403feeff3e1b543cbeb220f5bfea0339c257f200532fa5ee9cbaab15e69478c9445b8625a9169ace0fc659abd4c42cd5a72df3a0fccdbb35c47231390 +EBUILD rust-bin-1.68.0.ebuild 6798 BLAKE2B 0b6db6c975f3399500c418d0cbfe6e0584640be406057abf56208fb7f3193740f30fcd175500d68bd11d1973d90becf68f971d1008cbabd73339875aee385bfa SHA512 66d175deb2bb9bc9183d35bd60f7ed8aca38d25980bda6d0453bd5145ab971fe36bc27acfce1401991f316de2c56e3144d6cff42f27f7cf86eb723d0e064ef1d MISC metadata.xml 602 BLAKE2B 8e74f441d22eeb8b276d77ed0a9c5bde01540a3f34d6053185b2be77dd9188b80c01c536f8bb18c4c60214bd0bf366a504c1f3627110a213332120b533f7ddd2 SHA512 5f120deec600c7453d503b6acb9460d1c765a567954c79749654365721b1b6fa2dd48d60d5f3fc86191e79d5f7f78d7aa1e9634e6127f333f81e546f9b0f74ac diff --git a/dev-lang/rust-bin/rust-bin-1.68.0.ebuild b/dev-lang/rust-bin/rust-bin-1.68.0.ebuild new file mode 100644 index 000000000000..4842f8f8a534 --- /dev/null +++ b/dev-lang/rust-bin/rust-bin-1.68.0.ebuild @@ -0,0 +1,228 @@ +# 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-03-09/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 ) " + +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="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" + +DEPEND="" + +RDEPEND=" + >=app-eselect/eselect-rust-20190311 + || ( + dev-libs/openssl-compat:1.1.1 + <dev-libs/openssl-3 + ) + sys-apps/lsb-release +" + +BDEPEND=" + prefix? ( dev-util/patchelf ) + verify-sig? ( sec-keys/openpgp-keys-rust ) +" + +REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )" + +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 +} |