commit:     308a4048edbf7bb078a789389a8570967f6e3486
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Apr 12 00:20:07 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sat Apr 12 00:20:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=308a4048

dev-lang/python: add versions, drop versions

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-lang/python/Manifest                           |  27 +-
 ...-3.10.16_p1.ebuild => python-3.10.16_p2.ebuild} |   0
 ...{python-3.12.8.ebuild => python-3.10.17.ebuild} | 149 ++---
 ...-3.11.11_p1.ebuild => python-3.11.11_p2.ebuild} |   0
 ...thon-3.12.8_p1.ebuild => python-3.11.12.ebuild} | 131 ++--
 dev-lang/python/python-3.13.0.ebuild               | 676 ---------------------
 dev-lang/python/python-3.13.1.ebuild               | 668 --------------------
 dev-lang/python/python-3.13.1_p1.ebuild            | 638 -------------------
 ...ython-3.9.20_p2.ebuild => python-3.9.22.ebuild} |  11 +-
 9 files changed, 159 insertions(+), 2141 deletions(-)

diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index 3cef139..bf2e6a4 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -2,37 +2,32 @@ DIST Python-2.7.18.tar.xz 12854736 BLAKE2B 
060a621c91dd8e3d321aec99d44c17aa67381
 DIST Python-2.7.18.tar.xz.asc 833 BLAKE2B 
1d98770e46171971fb99994508d238c01d2755281d2f94353314014d9e83e0ec5f0b3e3950ea1fdf5fce9ba6b8f55312355845c2a3fc4291c27ee56fe6215448
 SHA512 
c2a5f5a52f47dec52460ad3275758d4e5de6e7075c3def4353c988d74d563a39b42cae2d5eb24e2a23a6247cef69100f91620b11a49c2359fbf99b203c9cbda8
 DIST Python-3.10.16.tar.xz 19610392 BLAKE2B 
bcc5ff71904b8a936363c6b07b8ffbcb981640c29c1e537a90f838c0a7fa45c1bdd764eae48bcb6d16d7260a44c235e9f5538ada45903b1627527e24c49212a5
 SHA512 
a6b004974db93f21590f00b9b1a569dfd8c3e334f8c6a8eb8997dec5646fa4515cfc02a7dabea9e4f75f908938dc64333ce4899b9a26aff97f9ffcb027fa2bca
 DIST Python-3.10.16.tar.xz.asc 833 BLAKE2B 
4fd4ce76ade6d64539e5eb641c64b0d99ade71a8514f97594097207e78412bd2d09afeab6788598a3159f045b98ccd5537c6771e59eeba52d4820c0c0a6c0dcb
 SHA512 
18032fdb60a022d6381b1137789ada1c4bb198049616ed158fb548e728dd1fb95d116a86c41c852ca2acc9127baf3cdd9644a1e2df90ae9c3ffcd66eabf454d6
+DIST Python-3.10.17.tar.xz 19608144 BLAKE2B 
9caebdcdc21c07037f423bc4831b0e4654dea4264b7a176b2caed625a930f0d6e8e2f6d581dee6f666a1fc17139d1ccd8bcf13c958df14dfd8de31f321d3e048
 SHA512 
11b1e647f8db05041bcafe110698af8bf5e9f7c8d23c0e9eb568a60544bb9a9e9c3ac94b34f0898f0d4e6c23da3cb81f844ae9d9c8b750058763502eaba39880
+DIST Python-3.10.17.tar.xz.asc 833 BLAKE2B 
9468dc33530d8a4ec911e7a2bacd2d1c3533e6819a91c1307e8d577cefe6c6bdb9e9dc7f2abc078cd35186db7f58efd89eb4170fb20887bb2de5a5aa68b3c1f4
 SHA512 
f5fea78e2ea413c9befb6181787b3a5ea3bc0f5dbf808a94465b558c09353482cd34631a4c505f72aa343a2f4fae291453324cd8e6b18df214baaf4680fc17cf
 DIST Python-3.11.11.tar.xz 20085792 BLAKE2B 
a9a778eff94529e1029ae252ef28ecdc2f0673a4406d831865e12de3cba21ea48905542d0e806e428802b05947239ca6a44eff3573bd541469b01644790c7377
 SHA512 
3ff90f15f725fa8d06686158aaddb887a247b03ca4dc1fdfd81a8efb53373db3e8673bd0b3de30bb7669f3f07d9854e9d8a2dbcd49b18d15b8172787a53a0a9e
 DIST Python-3.11.11.tar.xz.asc 833 BLAKE2B 
6a9d873e181d636712567ea46823ad7f972f872d038092506e67bada24187441188b8fde4672c205ce6d37e60c4e0c69a8f3cc5d1915fd8f5dd8743292a16d1b
 SHA512 
d71b0b42537fb636e8c469d62d13ff020149e4fb9d87eb17f8c999301195e418d134dbdb7e4ab49b06de16e96f8ef6bbcf2a749956fffca2ce03185f191c181d
+DIST Python-3.11.12.tar.xz 14613274 BLAKE2B 
87d3d531c981a823751943c66b0daeca12cf560df6b5b01b697a58a24bafd6173af40eb4a8c7aea45a53c635abc9dfbba95620f3ab72a452ac3388205b38af78
 SHA512 
dbda0cf502e0d02b01a56279ab3f1793e82665c37c884a3db3ae6f78745a850dd31eaa466fa37b0c7eb8c5a9e9209f04312f8a9013479e8f3513c532b153016a
+DIST Python-3.11.12.tar.xz.asc 833 BLAKE2B 
b874df8019eb3c548598f8723fa38c89189cc375d6ced7cae180ffdc35a8e7b0ba93638861412e19037aa1fee76749186f10c4929dc7f4fb4ef7a8f4561d325c
 SHA512 
cb1f82d44be6de67182747f8ad1054e85cca22753c0c86ff12b95ec7044c5c6c37f40a876e5707a6c422d58f483257b8ddbb3ea87893679f81b9299c48373f20
 DIST Python-3.12.10.tar.xz 20520960 BLAKE2B 
f05805da36958e3ebb68c69353e8119b20ee4c1a123f4492e9bf614e7faa856180ef2017f2a698bcacf19cac01d89329ed5ee45e00c98b255d4854090a2e6926
 SHA512 
520c30e3958d0be3c127e5dbb1c52bb3bfc404b5b3c7eb56525e25b9b59af9b21b53bee192f323f470e1df806f6cb2dd3411eb90cbc1c4b7d9b6b0777c29e644
 DIST Python-3.12.10.tar.xz.asc 963 BLAKE2B 
45e1ec67311d1ac5679cb5a05b92e61f3e5e6e9d3ffa5462c09c2aa066fda7ea915df13f6e5ad33aa924f6ce1f18e2d78a31af15412a10c093fc8a5b536c5133
 SHA512 
7edfa6fd816cf2a052abdb775d464e2f389105ed3e782cacf90805613aaca54bf71308504a5336ee1204e872e7db28df32413fb10b057056b0d5cb3c7a20a9f1
-DIST Python-3.12.8.tar.xz 20489808 BLAKE2B 
24b9a5abafdb9fedfc371e7acf0efce50bdc6702050c4f5f0b9e97916a899e3462f928cb217c48e6ffae6fdd4d2cd7c05c5f1d73eaa9ef646f4b3281db5ca977
 SHA512 
406ce1146c4c2c70d252df56bbe9e5970ef469395cbaa211a96af71f32de2cf7abd944906920cc18b4a470027e63a3f64bf7679fb4954b31bf4ca4baf24fa370
-DIST Python-3.12.8.tar.xz.asc 963 BLAKE2B 
5aeacf16d337949a66bb56e346447e7bbcd9166b60fc512c98bcff6862976732ef2e3ac59869cd9df29a653c2bafd4af63b1e6c14f4c6603efb85d5c3dd88357
 SHA512 
19493499ddb80764aa105e100585d2ef872798dc30fdff2e31d158cd7fd65b69ca133c6d9d16eb974660eed6ba474a26a2af3acd13a90522cf50e142492bd9a6
 DIST Python-3.12.9.tar.xz 20502440 BLAKE2B 
df1a8ba4996219c018fc14156958ca9c0e8af4854819064fbcf0c927258ecb3c5f46e562213799a87dafb35ae5bd647e1ce280affe2ac8ce6a85c351822b6693
 SHA512 
c840b14aa21e6a963d18c06ebaafb551d9c9a101b3866417e762fc4a2fde071a7a25fa257faba2956c7344bbc2413ed61690a712d26fba4d0dbeaa50e49b2574
 DIST Python-3.12.9.tar.xz.asc 963 BLAKE2B 
d90b9c1a3aafa1a942ef8d978b566829656db1114b74f1565b7cbba188cf3bf5637c1dbeec3432ae0af0f826a154c40f27fd8fc46350a757ef91f5c426908149
 SHA512 
b59251ca3a0a17c06ff7d165f6c025eb91127c80be0782642590f5c922297e0710544ac5a9ae977378e393f1c4861149576a0515af5ec0e54e6827c4010d544f
-DIST Python-3.13.0.tar.xz 22532980 BLAKE2B 
4a4e397199402de8c9fe8e4d63443ed972cbe8a4f541743908d699c7987127d159d600fd14145b6a946e8671426279d230c9155fdc5863c1e49a945eedcbf21b
 SHA512 
44a143c9b96b55b01885ec020c3364265bda55289615cd7d5071915b0d0178a6f35e7551a89090001fcb7f3172d38177a56bf8b8532b15c9dbc50295c9210152
-DIST Python-3.13.0.tar.xz.asc 963 BLAKE2B 
d05f02692a9fea42b73dbfe5dc42bd6533555e5ecb848510d2b94bb7f0e55d4a0f89bcd20b073ed2c7f7a68be35b12cb6dbff6bc16fc9a4592ded2c339ada7fd
 SHA512 
1b8bb0fe4eb93e31ec1770e90b94d44b5864c0391aad5dcba3a30d8e505d9b17107385414353c0060007f8a536254f49b8e919f36ddf6421a6e4330f817f1a3e
-DIST Python-3.13.1.tar.xz 22589692 BLAKE2B 
161d5c0a7b4cacc4ce9983f9540a7e01662a7b76cbb34c5f3681582b0e7207574bdec5ad7bf79d820d8744b69bc2fb7196cf07a2ecadbfab6a158872f562741d
 SHA512 
056c9b5fc0a6b540f41513d045f43c1ed463d15e0f345cecec703ec9c2335e53b4beb19de9c74ab2b236b023f934d5fd9ae7727a808634eaa01cfe66018a9a35
-DIST Python-3.13.1.tar.xz.asc 963 BLAKE2B 
47cbfb6bceb92716181a0ed8f41742958568e62609fa4996d341e465bd6be0ebcab586ba1ebe275aa3a99108221be047fab66ec4b7e90af27d9db7524b6b4951
 SHA512 
1b56b7c2f547aa39c75c18978e174debb113444ce3f9da3829ba6842e3160051e0de70bd49d306b8014299aa8aa911d7c67efe71dd648c3528cf8d7535a01599
 DIST Python-3.13.2.tar.xz 22621108 BLAKE2B 
79c7dff8a15fd2487d62847a8e654c02433a89887aa4f93819020b60a30587e3ba92b101553d971b59e132677f9f74dfc41cd7c7901db78a7787607ec96c6664
 SHA512 
bb1c0598914c6d4326554faa568f660f10b20c701d0f36bf1fa58837b6498d728a407416b06ede39604caea1ca93f60545b83b01ae8ee65f55d4cc83242b63fe
 DIST Python-3.13.2.tar.xz.asc 963 BLAKE2B 
95a36c305dd452df23b4f119de05e1d3a2b2c9e0c2778a52dc4065f82b52752b68d89eb737cc54cced70623ad4a7b48c85fdff781bf7d7e3b747dacb1ef77db0
 SHA512 
5f019be530f688b0adf5d5cc9f2c2243e2f1dc7338559db14c1eedd12aadc85404d42c7aafd74e41828205d85f13f278876662ac30c8f3382a1ee081ba5f29f2
 DIST Python-3.13.3.tar.xz 22654240 BLAKE2B 
24ac47c13cbfa4dc9ce6ae4d18d7b5310f83ac1f4f18722138ef07e01cb8ac37edf6f4301983cb468f533b9b475b5a9d761d3044e61c7ccaa99dceadb954fe34
 SHA512 
f7559b6dceae69f48742af0a6497fbec42cd1e5304f64b6eb9d89222a1171ccf12fa186cc0decabb4e98d05223184967a4a7537754c01083dacdc9073cb1a578
 DIST Python-3.13.3.tar.xz.asc 963 BLAKE2B 
4a98965305b80e985512f54d9ce8ab88a74fe0d3ee48e300fbc2b4e251c0f499f4eb935e0aeb6d5ad8262338643325126f094fff926da1e2b9a2b3a2247701dc
 SHA512 
54f8da5f4a4dcadc9830cb07aecf695a26a2de48ab98e1f42b09fdde1c70989476d07ce7ea81337216f1e5fcbf6b688e0608c88a2545ced416b01640108e94db
-DIST Python-3.9.20.tar.xz 19648968 BLAKE2B 
80a337ff406130599b8320068d11bc275d23473cedd7c85fcb9e40134f0f2d533be6e712139e788a6423cdc74cea938f306aa37c2a5099e3051f3e390159279c
 SHA512 
c828f33edf1704e3149499d6d34e89264cb5cdb2b09ff05561641b359716d7996f0fe928629e09f006b1fd7850fdaf937275919c7fdd83f5efc32707c64d814b
-DIST Python-3.9.20.tar.xz.asc 833 BLAKE2B 
bcd5a612281bf8e057e19db9105b199cb7e44050441b19832843e8149088d277f4b625421099b09d4ed6fac5578505f46dbfea13b041d157d695eaf668c3a7de
 SHA512 
f21c012f4f642542479ba329da9654589e5a7f7305c39fb1b6f136b578316bdb115cef9773c9a9fe4e195677af01cb80af05780613cca83f42fae131862a9584
 DIST Python-3.9.21.tar.xz 19647056 BLAKE2B 
7f77a7fb38d9a9f4fda7007587f744ade5f32b7bcd911dd72ab82b00d324173f28ddfbe492c71bf0f71edb8494e61314b4bf6f70298289b0e5796c6d002ff738
 SHA512 
cc84c967cd7a05361ec144d87ca044bd416032ee92dfb78658758d4e1274971f5fb288876d9c599a729bb21258974a786089341bce6bdcffd9c30ebd69b7ca58
 DIST Python-3.9.21.tar.xz.asc 833 BLAKE2B 
f6e666179d745638a38ace35e13c26cc3e07c116a8c8362cc260a74113cd29a5c1909d2091f2eed4bb088bc71b79ed18c5503739d1cc3cb7ff95d625f4311421
 SHA512 
1e5e5a5db8074a7ee5eb51e6c789d6e46467165d72d2d636d1fc0d3e15d4355051f9f7ad3063ba43b37b611095765c9d654ed890067c201c087da1eecb620ef9
+DIST Python-3.9.22.tar.xz 19652572 BLAKE2B 
59f2d2cecde8179064115b52205c2195b26cd0f37aec3e88b0fe2a1a7893a7df8ae38a024814d42064d5e4916e4054a76dddeec0a0dcf29af576d52dbcf65f4c
 SHA512 
c5a76c579455626bf40bb41ee99cab6e444aa5d5085dab7cf622c70ded750e31710c2c30f032917f0d4069350c01a889ed9831d77fcc2d52fcec54055dd07496
+DIST Python-3.9.22.tar.xz.asc 833 BLAKE2B 
2bc75d7e39ebee63b8cfd9ee1af2941bc0bd659becf89d291ea33f5baea2b606a34841c7ac5c597eac51b19602cf24ccec123964a1022d43fd251553fb3f90f7
 SHA512 
9a04fcf7d7fc0521873d29efad3a80a9ff63df4fc4fe4108059246db6517b22d967f4d4e0eebb32c79417f66ee3b60fe00428be155fc1cbea163aa36c1a3ddee
 DIST python-gentoo-patches-2.7.18_p16.tar.xz 35448 BLAKE2B 
0139c0944f62f9cdd236f6a8557e0ed19704c7d72869af1cb7d8bd3e646a746cd4a0201e1b44232a5e78ef49f254db20b0d0271bf744fbfd4fe0f1e99b8f3e6c
 SHA512 
810be590d0e06fab4b2165e6852ca49662f09dcd7e20b47a29f613ad7653252c8dfac3f0eb228d77c8a914efa7c08788b2fbd552a4b47504f5fd0ec17450c48f
-DIST python-gentoo-patches-3.10.16_p1.tar.xz 24964 BLAKE2B 
93cf5d208f80f1017e4afdcf7d3551d150a1d68c378312af43c668156d98f10087d2b6f315f717823a9aae1114e2baa999f61ce179639e5511d30ed9620c9570
 SHA512 
74ad92d3256d744e3572c0d858b4ba4d5f0f6fda84d8f3c1a1fb675376c2d525e2d9fd636a65c8a859a0a312eda00877b13ba311f620b6a51e47dfb082843333
-DIST python-gentoo-patches-3.11.11_p1.tar.xz 11644 BLAKE2B 
d080e1b987ea0e1b397113f20a5c84f6a34d6619a3ed9f7389fd10d95636169563fba97d212477ca7f9b93d2bd0b66c9521fc61963bb468805a661ca3ab287a7
 SHA512 
f6045adf25923053fc9a60506b9164c9c062580d6886f1a3dcaca00dc4affe69aa9e138f8ce93f093798ccf33322ccca2aca674ab87457df98a93dcaca234b44
+DIST python-gentoo-patches-3.10.16_p2.tar.xz 29428 BLAKE2B 
fa63d2fcdbb53e3b6381eaadfbcfca02a03eddd7035dd4776c706fd1aa0226a2c809260ba5a543a209a63563dab12ea109bf03a2026ea4b5797fa6afc7b45c52
 SHA512 
0186abf035632a3f8018052f8021c1d0dadbc28b7d03551f6992a658fe53878ac9ea86b79512e0e147efecedfda133cf7936746946238177918be9c695248f15
+DIST python-gentoo-patches-3.10.17.tar.xz 28784 BLAKE2B 
7f1c1f9f49876b99d80a3f40b66061ab96796821e1a5396f5edfa08e3878b8b9970688d3c861d9c5d08701a8850584eb87a223e3ba84c5536ae689f59145ad43
 SHA512 
3e89b334d81702f0e6fa00e9b70daf6ff4df439c280c6cff33aa8874dde29f63d809697757df39daea07bf746207e931f211558811c9e731df9ca846a8559483
+DIST python-gentoo-patches-3.11.11_p2.tar.xz 16224 BLAKE2B 
d8404c8c87e109d2c699dbab63c20a319c6efd5b62dab5fcc1b53b5b291e25686e69ef92b495eed0d80491cfa29ae9f523df6b53c7c6a12c3f713c53e3c5b7c6
 SHA512 
f1bf897305678c2b113aef4553d14e916e83312708352765725d754dffbf2f5dd7ef0f7cd84a774e4a8c18dde8a517d7eaf8e58720d73d25430b28fe49906258
+DIST python-gentoo-patches-3.11.12.tar.xz 15616 BLAKE2B 
5d4a47058fc35c4ae966e3dff823f91129852bf81cd586d5b3a34a6daf672732918daf00199394f2f982411ec30a291f45bba55b3ffa3d96a179ecd600ea4647
 SHA512 
77973ef88403f94d55162e0138cd29b4d8959a8fcf4cec730daf7ddd8fb4a3acfcd0dd1fdaacbdd2b218bd15f6c6715ce339df4eba48227d17520243d96eeb39
 DIST python-gentoo-patches-3.12.10.tar.xz 10744 BLAKE2B 
2abf4874018156d6735cf8604c410dc4726ac9365bc7500abe6b82472aad100aac7268957256692f4275b02965773e58178519ed8038e121f1ffa3c53770d238
 SHA512 
62066405aa00f46f9645e9c747d53bb93bf510fc791d14d49e00edfd79981778e6c8e07bfa7bac88d76407a0ffd8f7321dea89f81d90b01dbf13f4d381b6a1a3
-DIST python-gentoo-patches-3.12.8.tar.xz 10772 BLAKE2B 
9833b5ee6c307a4aa1335fd966fcd64a0f3732a97a190abdd3121b3496ea68ead9436af4ec5e3e8c0e781fd68df41403a1b2e5f29f264fc8569a883141e5f7f9
 SHA512 
d5906845a6259f7349a0299e185f569750b493c64ea1f6537dc8bfc0babc9b54de7db1c4f1b5b6ec2f7076937ad07ca0ca9c4941bbb8d542da6c687957bdbd5e
-DIST python-gentoo-patches-3.12.8_p1.tar.xz 11088 BLAKE2B 
4d7ccf4759b624aafde1ef2a0a341cda8f4d3e7c4d86586201a910d77327219e61b134985f2fe85e83892ad4ba607b4e661aed675cc038e4cc193efe9fbe6f6e
 SHA512 
6f1d6ab2b9e958ae7d2ca3f204b7c7eb1435998919cf5a577a82bbf1339232f92a2f517c248afb9e1802850acd2b59b84c41e87f4b8582e19ec88155743cdaae
 DIST python-gentoo-patches-3.12.9.tar.xz 10736 BLAKE2B 
1f87d1bba8c094936e5cd3e0ef2eede0dbca3e658430f81b398735d8f02fff1f87739914014dbcb17163f8a969ffc5e7e4cce7d71557ce3c2e58487e6ed8b80f
 SHA512 
342f11df85926e32455d52115d06b817a17f7ae104e3ea8e852046d321d829835bba7c07803c50dd5433ac8b615499428d5bc1a088b484ca0c4304eb8b2cb879
-DIST python-gentoo-patches-3.13.0.tar.xz 8316 BLAKE2B 
8fb8ba8f41f310140ad7066b614952023112d5043e5d82058364125611785144c1843e87eecb7669bcbab51c40d0694069526219f7419a7009517ce0821b74ba
 SHA512 
0eb31ebfa3411020aa70b3b66fd7eec98b4b7a686b0e8f1f7ed76a8186a7c1ee85ccd9565a86a1d7ec13b975855eeb7303036af05e2dfdce3d64e4ad99299df4
-DIST python-gentoo-patches-3.13.1.tar.xz 8320 BLAKE2B 
2fef9c501df7ed7603eabb3e01a8c3bde5bcfae3a8ac9bbe772b458cb04ffa9598cf38f3a74f6dcbcda29e7bd294d664b8fb12f7ddd9e0e42ed6268300947bb0
 SHA512 
419e1f12daaf19ed2d2195699b5e8c2c604779562d84d6a68adb4016dcb13fc3e0383ccc4b01eb153930600e6c9cdcc518929ffce3d6343019226a6111e9d617
-DIST python-gentoo-patches-3.13.1_p1.tar.xz 8672 BLAKE2B 
d35b8b47c6d549753d9a764fbc3538cb6517c809e69901f3221110ccbb0ea9eed10ba1f1637a5ffe4f90d8c3932f53815c7dcf844a7350ad89458763bf0aeea1
 SHA512 
0505bc1f7c8e264fdcad5459900e37d12ed9bea57e615ea42492fa211d3f0641e79c3e711a6970cd34a3a6275f36a22ed7ba64fd71c988bcdaebfcefc7b6a1d2
 DIST python-gentoo-patches-3.13.2.tar.xz 8316 BLAKE2B 
2367808924c83c02b8b2ca765fd4768d4f12cb8e8451eab9d084ce5950a5a81829e573d415f9a16db2e053105def90b5f52c91423fc71e57cd182a1d9c824d8c
 SHA512 
580332ca037c1453f314d5811f96f7bf74defc16cfe515c4fe82ea08a7bf3679aa88d5456db846d988bcf4fbc9eeb4ebe7cee01d135bd55c87931206250e301a
 DIST python-gentoo-patches-3.13.3.tar.xz 8336 BLAKE2B 
66393886fbd034eb14732e4f81f5798e77650ea3fe1c4f8176bd93808b711c8977a53c3f52be6c9b97a368299258b851d9bdb6d4c8e0c75695c6aea784d48b44
 SHA512 
c1ed31d6aaef81addf786c2ccc1013309b122b791c42fe10e467a677d0db8f149e8b1cc21928c146298918c7ceb851b4b19d1e59f491cb161004e1c9386db289
-DIST python-gentoo-patches-3.9.20_p2.tar.xz 36140 BLAKE2B 
af0a9e08f3bfd8eb631760d100ec8f54db968a6bd201820192c4ea63ec88e0f83ffe77c709fcf4da43ad8d44eeb239ca1984561c3e7846e3fe4edd757d2321a4
 SHA512 
d451b41401de631eed996c34f40f2146d4d2f11bfa04fffa762c9b654e690d0ef95be0f51224a964a7c33784bb9b21e58434f6fee17cf39c20b5af34200569d5
 DIST python-gentoo-patches-3.9.21_p1.tar.xz 35404 BLAKE2B 
7b5ac27e814b06791fa5f0566763711c1b65a7c82ba66f97e237eebc6076f0bfdad3d8269ece6c4d4c238b62cc75b01f68ea3a5d7c4fffc46e88f79b2ba3e7fc
 SHA512 
92c8548b31100a921378c72cc94a81062c96fd795fa2cd001c57a71e4af39e91b21b99e9e84db12adb142d9c4bda809445519c5c8a35545bd10230926bd7eded
+DIST python-gentoo-patches-3.9.22.tar.xz 35388 BLAKE2B 
b6acfa681bdb589f74094ea04bd053bfc122ef9f36b3413c33c352cfae4e101027b0348770b47b9fee769eaba8109406acb6418c1cb8c431fbc7cf1c69124dcb
 SHA512 
335c32d696f9660c957dec0c9a54e2f04e34003d2dbb438e6c9e74ce0a6352b5849e8626397939e3ffa7dc3172ac88cfa2168dd0d120be306e8c898dc7b6b3dc

diff --git a/dev-lang/python/python-3.10.16_p1.ebuild 
b/dev-lang/python/python-3.10.16_p2.ebuild
similarity index 100%
rename from dev-lang/python/python-3.10.16_p1.ebuild
rename to dev-lang/python/python-3.10.16_p2.ebuild

diff --git a/dev-lang/python/python-3.12.8.ebuild 
b/dev-lang/python/python-3.10.17.ebuild
similarity index 84%
rename from dev-lang/python/python-3.12.8.ebuild
rename to dev-lang/python/python-3.10.17.ebuild
index 521a046..f4a922f 100644
--- a/dev-lang/python/python-3.12.8.ebuild
+++ b/dev-lang/python/python-3.10.17.ebuild
@@ -5,7 +5,7 @@ EAPI="8"
 WANT_LIBTOOL="none"
 
 inherit autotools check-reqs flag-o-matic multiprocessing pax-utils
-inherit python-utils-r1 toolchain-funcs verify-sig
+inherit prefix python-utils-r1 toolchain-funcs verify-sig
 
 MY_PV=${PV/_rc/rc}
 MY_P="Python-${MY_PV%_p*}"
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="
        bluetooth build debug +ensurepip examples gdbm libedit
        +ncurses pgo +readline +sqlite +ssl test tk valgrind
@@ -43,7 +43,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        app-arch/bzip2:=
        app-arch/xz-utils:=
-       app-crypt/libb2
        >=dev-libs/expat-2.1:=
        dev-libs/libffi:=
        dev-libs/mpdecimal:=
@@ -51,7 +50,7 @@ RDEPEND="
        >=sys-libs/zlib-1.1.3:=
        virtual/libcrypt:=
        virtual/libintl
-       ensurepip? ( dev-python/ensurepip-pip )
+       ensurepip? ( dev-python/ensurepip-wheels )
        gdbm? ( sys-libs/gdbm:=[berkdb] )
        kernel_linux? ( sys-apps/util-linux:= )
        ncurses? ( >=sys-libs/ncurses-5.2:= )
@@ -72,20 +71,15 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
        bluetooth? ( net-wireless/bluez )
-       test? (
-               app-arch/xz-utils
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-               dev-python/ensurepip-wheel
-       )
        valgrind? ( dev-debug/valgrind )
+       test? ( app-arch/xz-utils )
 "
 # autoconf-archive needed to eautoreconf
 BDEPEND="
        dev-build/autoconf-archive
        app-alternatives/awk
        virtual/pkgconfig
-       verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
+       verify-sig? ( sec-keys/openpgp-keys-python )
 "
 RDEPEND+="
        !build? ( app-misc/mime-types )
@@ -122,22 +116,24 @@ src_unpack() {
 
 src_prepare() {
        # Ensure that internal copies of expat and libffi are not used.
-       # TODO: Makefile has annoying deps on expat headers
-       #rm -r Modules/expat || die
+       rm -r Modules/expat || die
+       rm -r Modules/_ctypes/libffi* || die
 
        local PATCHES=(
                "${WORKDIR}/${PATCHSET}"
-               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
+               "${FILESDIR}"/${PN}-3.10.14-libressl.patch
        )
 
        default
 
+       # https://bugs.gentoo.org/850151
+       sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" setup.py || die
+
        # force the correct number of jobs
        # https://bugs.gentoo.org/737660
-       sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
-
-       # breaks tests when using --with-wheel-pkg-dir
-       rm -r Lib/test/wheeldata || die
+       local jobs=$(makeopts_jobs)
+       sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
+       sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
 
        eautoreconf
 }
@@ -157,7 +153,7 @@ build_cbuild_python() {
        local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
 
        # We need to build our own Python on CBUILD first, and feed it in.
-       # bug #847910
+       # bug #847910 and bug #864911.
        local myeconfargs_cbuild=(
                "${myeconfargs[@]}"
 
@@ -168,41 +164,40 @@ build_cbuild_python() {
                --disable-shared
 
                # As minimal as possible for the mini CBUILD Python
-               # we build just for cross to satisfy --with-build-python.
+               # we build just for cross.
                --without-lto
-               --without-readline
                --disable-optimizations
        )
 
        mkdir "${WORKDIR}"/${P}-${CBUILD} || die
        pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
+       # We disable _ctypes and _crypt for CBUILD because Python's setup.py 
can't handle locating
+       # libdir correctly for cross.
+       PYTHON_DISABLE_MODULES+=" _ctypes _crypt" \
+               ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
 
        # Avoid as many dependencies as possible for the cross build.
-       mkdir Modules || die
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               _dbm _gdbm
-               _sqlite3
-               _hashlib _ssl
-               _curses _curses_panel
-               readline
-               _tkinter
-               pyexpat
-               zlib
-               # We disabled these for CBUILD because Python's setup.py can't 
handle locating
-               # libdir correctly for cross. This should be rechecked for the 
pure Makefile approach,
-               # and uncommented if needed.
-               #_ctypes _crypt
+       cat >> Makefile <<-EOF || die
+               MODULE_NIS=disabled
+               MODULE__DBM=disabled
+               MODULE__GDBM=disabled
+               MODULE__DBM=disabled
+               MODULE__SQLITE3=disabled
+               MODULE__HASHLIB=disabled
+               MODULE__SSL=disabled
+               MODULE__CURSES=disabled
+               MODULE__CURSES_PANEL=disabled
+               MODULE_READLINE=disabled
+               MODULE__TKINTER=disabled
+               MODULE_PYEXPAT=disabled
+               MODULE_ZLIB=disabled
        EOF
 
-       ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
-
        # Unfortunately, we do have to build this immediately, and
        # not in src_compile, because CHOST configure for Python
-       # will check the existence of the --with-build-python value
+       # will check the existence of the Python it was pointed to
        # immediately.
-       emake
+       PYTHON_DISABLE_MODULES+=" _ctypes _crypt" emake
        popd &> /dev/null || die
 }
 
@@ -211,6 +206,18 @@ src_configure() {
        if ! use bluetooth; then
                local -x ac_cv_header_bluetooth_bluetooth_h=no
        fi
+       local disable
+       use gdbm      || disable+=" gdbm"
+       use ncurses   || disable+=" _curses _curses_panel"
+       use readline  || disable+=" readline"
+       use sqlite    || disable+=" _sqlite3"
+       use ssl       || export PYTHON_DISABLE_SSL="1"
+       use tk        || disable+=" _tkinter"
+       export PYTHON_DISABLE_MODULES="${disable}"
+
+       if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+               einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+       fi
 
        append-flags -fwrapv
        filter-flags -malign-double
@@ -226,8 +233,7 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
-               # this is actually test_gdb.test_pretty_print
-               -x test_pretty_print
+               -x test_gdb
        )
 
        # Arch-specific skips.  See #931888 for a collection of these.
@@ -258,7 +264,7 @@ src_configure() {
                        ;;
                powerpc64-*) # big endian
                        COMMON_TEST_SKIPS+=(
-                               -x test_gdb
+                               -x test_descr
                        )
                        ;;
                riscv*)
@@ -274,7 +280,7 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
+                               -x test_descr
                                # bug 931908
                                -x test_exceptions
                        )
@@ -376,9 +382,6 @@ src_configure() {
                # a chance for users rebuilding python before glibc
                ac_cv_header_stropts_h=no
 
-               # libressl doesn't find hashlib (From OpenBSD)
-               ac_cv_working_openssl_hashlib=yes
-
                --enable-shared
                --without-static-libpython
                --enable-ipv6
@@ -391,9 +394,8 @@ src_configure() {
                --without-ensurepip
                --without-lto
                --with-system-expat
+               --with-system-ffi
                --with-system-libmpdec
-               --with-platlibdir=lib
-               --with-pkg-config=yes
                --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
 
                $(use_with debug assertions)
@@ -402,6 +404,9 @@ src_configure() {
                $(use_with valgrind)
        )
 
+       # disable implicit optimization/debugging flags
+       local -x OPT=
+
        # https://bugs.gentoo.org/700012
        if tc-is-lto; then
                append-cflags $(test-flags-CC -ffat-lto-objects)
@@ -410,29 +415,11 @@ src_configure() {
                )
        fi
 
-       # Force-disable modules we don't want built.
-       # See Modules/Setup for docs on how this works. Setup.local contains 
our local deviations.
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               $(usev !gdbm '_gdbm _dbm')
-               $(usev !sqlite '_sqlite3')
-               $(usev !ssl '_hashlib _ssl')
-               $(usev !ncurses '_curses _curses_panel')
-               $(usev !readline 'readline')
-               $(usev !tk '_tkinter')
-       EOF
-
-       # disable implicit optimization/debugging flags
-       local -x OPT=
-
        if tc-is-cross-compiler ; then
                build_cbuild_python
-               myeconfargs+=(
-                       # Point the imminent CHOST build to the Python we just
-                       # built for CBUILD.
-                       --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
-               )
+               # Point the imminent CHOST build to the Python we just
+               # built for CBUILD.
+               export PATH="${WORKDIR}/${P}-${CBUILD}:${PATH}"
        fi
 
        # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
@@ -446,6 +433,7 @@ src_configure() {
                append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
        fi
 
+       hprefixify setup.py
        econf "${myeconfargs[@]}"
 
        if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
@@ -462,7 +450,9 @@ src_compile() {
        # Ensure sed works as expected
        # https://bugs.gentoo.org/594768
        local -x LC_ALL=C
-       export PYTHONSTRICTEXTENSIONBUILD=1
+       # Prevent using distutils bundled by setuptools.
+       # https://bugs.gentoo.org/823728
+       export SETUPTOOLS_USE_DISTUTILS=stdlib
 
        # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
        # end up writing bytecode & violating sandbox.
@@ -501,11 +491,6 @@ src_test() {
                return
        fi
 
-       # this just happens to skip test_support.test_freeze that is broken
-       # without bundled expat
-       # TODO: get a proper skip for it upstream
-       local -x LOGNAME=buildbot
-
        local test_opts=(
                --verbose3
                -u-network
@@ -528,12 +513,7 @@ src_test() {
 src_install() {
        local libdir=${ED}/usr/lib/python${PYVER}
 
-       # the Makefile rules are broken
-       # https://github.com/python/cpython/issues/100221
-       mkdir -p "${libdir}"/lib-dynload || die
-
-       # -j1 hack for now for bug #843458
-       emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
+       emake DESTDIR="${D}" TEST_MODULES=no altinstall
 
        # Fix collisions between different slots of Python.
        rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
@@ -559,6 +539,9 @@ src_install() {
        fi
 
        rm -r "${libdir}"/ensurepip/_bundled || die
+       if ! use ensurepip; then
+               rm -r "${libdir}"/ensurepip || die
+       fi
        if ! use sqlite; then
                rm -r "${libdir}/"sqlite3 || die
        fi

diff --git a/dev-lang/python/python-3.11.11_p1.ebuild 
b/dev-lang/python/python-3.11.11_p2.ebuild
similarity index 100%
rename from dev-lang/python/python-3.11.11_p1.ebuild
rename to dev-lang/python/python-3.11.11_p2.ebuild

diff --git a/dev-lang/python/python-3.12.8_p1.ebuild 
b/dev-lang/python/python-3.11.12.ebuild
similarity index 83%
rename from dev-lang/python/python-3.12.8_p1.ebuild
rename to dev-lang/python/python-3.11.12.ebuild
index 7d5e02c..35dfc9a 100644
--- a/dev-lang/python/python-3.12.8_p1.ebuild
+++ b/dev-lang/python/python-3.11.12.ebuild
@@ -4,8 +4,8 @@
 EAPI="8"
 WANT_LIBTOOL="none"
 
-inherit autotools check-reqs flag-o-matic multiprocessing pax-utils
-inherit python-utils-r1 toolchain-funcs verify-sig
+inherit autotools check-reqs eapi9-ver flag-o-matic multiprocessing pax-utils
+inherit prefix python-utils-r1 toolchain-funcs verify-sig
 
 MY_PV=${PV/_rc/rc}
 MY_P="Python-${MY_PV%_p*}"
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="
        bluetooth build debug +ensurepip examples gdbm libedit
        +ncurses pgo +readline +sqlite +ssl test tk valgrind
@@ -51,7 +51,7 @@ RDEPEND="
        >=sys-libs/zlib-1.1.3:=
        virtual/libcrypt:=
        virtual/libintl
-       ensurepip? ( dev-python/ensurepip-pip )
+       ensurepip? ( dev-python/ensurepip-wheels )
        gdbm? ( sys-libs/gdbm:=[berkdb] )
        kernel_linux? ( sys-apps/util-linux:= )
        ncurses? ( >=sys-libs/ncurses-5.2:= )
@@ -72,12 +72,7 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
        bluetooth? ( net-wireless/bluez )
-       test? (
-               app-arch/xz-utils
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-               dev-python/ensurepip-wheel
-       )
+       test? ( app-arch/xz-utils )
        valgrind? ( dev-debug/valgrind )
 "
 # autoconf-archive needed to eautoreconf
@@ -85,7 +80,7 @@ BDEPEND="
        dev-build/autoconf-archive
        app-alternatives/awk
        virtual/pkgconfig
-       verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
+       verify-sig? ( sec-keys/openpgp-keys-python )
 "
 RDEPEND+="
        !build? ( app-misc/mime-types )
@@ -122,22 +117,24 @@ src_unpack() {
 
 src_prepare() {
        # Ensure that internal copies of expat and libffi are not used.
-       # TODO: Makefile has annoying deps on expat headers
-       #rm -r Modules/expat || die
+       rm -r Modules/expat || die
+       rm -r Modules/_ctypes/libffi* || die
 
        local PATCHES=(
                "${WORKDIR}/${PATCHSET}"
-               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
+               "${FILESDIR}"/${PN}-3.10.14-libressl.patch
        )
 
        default
 
+       # https://bugs.gentoo.org/850151
+       sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" setup.py || die
+
        # force the correct number of jobs
        # https://bugs.gentoo.org/737660
-       sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
-
-       # breaks tests when using --with-wheel-pkg-dir
-       rm -r Lib/test/wheeldata || die
+       local jobs=$(makeopts_jobs)
+       sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
+       sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
 
        eautoreconf
 }
@@ -176,33 +173,33 @@ build_cbuild_python() {
 
        mkdir "${WORKDIR}"/${P}-${CBUILD} || die
        pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
+       # We disable _ctypes and _crypt for CBUILD because Python's setup.py 
can't handle locating
+       # libdir correctly for cross.
+       PYTHON_DISABLE_MODULES+=" _ctypes _crypt" \
+               ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
 
        # Avoid as many dependencies as possible for the cross build.
-       mkdir Modules || die
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               _dbm _gdbm
-               _sqlite3
-               _hashlib _ssl
-               _curses _curses_panel
-               readline
-               _tkinter
-               pyexpat
-               zlib
-               # We disabled these for CBUILD because Python's setup.py can't 
handle locating
-               # libdir correctly for cross. This should be rechecked for the 
pure Makefile approach,
-               # and uncommented if needed.
-               #_ctypes _crypt
+       cat >> Makefile <<-EOF || die
+               MODULE_NIS_STATE=disabled
+               MODULE__DBM_STATE=disabled
+               MODULE__GDBM_STATE=disabled
+               MODULE__DBM_STATE=disabled
+               MODULE__SQLITE3_STATE=disabled
+               MODULE__HASHLIB_STATE=disabled
+               MODULE__SSL_STATE=disabled
+               MODULE__CURSES_STATE=disabled
+               MODULE__CURSES_PANEL_STATE=disabled
+               MODULE_READLINE_STATE=disabled
+               MODULE__TKINTER_STATE=disabled
+               MODULE_PYEXPAT_STATE=disabled
+               MODULE_ZLIB_STATE=disabled
        EOF
 
-       ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
-
        # Unfortunately, we do have to build this immediately, and
        # not in src_compile, because CHOST configure for Python
        # will check the existence of the --with-build-python value
        # immediately.
-       emake
+       PYTHON_DISABLE_MODULES+=" _ctypes _crypt" emake
        popd &> /dev/null || die
 }
 
@@ -258,6 +255,7 @@ src_configure() {
                        ;;
                powerpc64-*) # big endian
                        COMMON_TEST_SKIPS+=(
+                               -x test_descr
                                -x test_gdb
                        )
                        ;;
@@ -274,6 +272,7 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
+                               -x test_descr
                                -x test_gdb
                                # bug 931908
                                -x test_exceptions
@@ -391,6 +390,7 @@ src_configure() {
                --without-ensurepip
                --without-lto
                --with-system-expat
+               --with-system-ffi
                --with-system-libmpdec
                --with-platlibdir=lib
                --with-pkg-config=yes
@@ -402,6 +402,9 @@ src_configure() {
                $(use_with valgrind)
        )
 
+       # disable implicit optimization/debugging flags
+       local -x OPT=
+
        # https://bugs.gentoo.org/700012
        if tc-is-lto; then
                append-cflags $(test-flags-CC -ffat-lto-objects)
@@ -410,22 +413,6 @@ src_configure() {
                )
        fi
 
-       # Force-disable modules we don't want built.
-       # See Modules/Setup for docs on how this works. Setup.local contains 
our local deviations.
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               $(usev !gdbm '_gdbm _dbm')
-               $(usev !sqlite '_sqlite3')
-               $(usev !ssl '_hashlib _ssl')
-               $(usev !ncurses '_curses _curses_panel')
-               $(usev !readline 'readline')
-               $(usev !tk '_tkinter')
-       EOF
-
-       # disable implicit optimization/debugging flags
-       local -x OPT=
-
        if tc-is-cross-compiler ; then
                build_cbuild_python
                myeconfargs+=(
@@ -446,6 +433,7 @@ src_configure() {
                append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
        fi
 
+       hprefixify setup.py
        econf "${myeconfargs[@]}"
 
        if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
@@ -454,6 +442,20 @@ src_configure() {
                die "Broken sem_open function (bug 496328)"
        fi
 
+       # force-disable modules we don't want built
+       local disable_modules=( NIS )
+       use gdbm || disable_modules+=( _GDBM _DBM )
+       use sqlite || disable_modules+=( _SQLITE3 )
+       use ssl || disable_modules+=( _HASHLIB _SSL )
+       use ncurses || disable_modules+=( _CURSES _CURSES_PANEL )
+       use readline || disable_modules+=( READLINE )
+       use tk || disable_modules+=( _TKINTER )
+
+       local mod
+       for mod in "${disable_modules[@]}"; do
+               echo "MODULE_${mod}_STATE=disabled"
+       done >> Makefile || die
+
        # install epython.py as part of stdlib
        echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
 }
@@ -462,6 +464,9 @@ src_compile() {
        # Ensure sed works as expected
        # https://bugs.gentoo.org/594768
        local -x LC_ALL=C
+       # Prevent using distutils bundled by setuptools.
+       # https://bugs.gentoo.org/823728
+       export SETUPTOOLS_USE_DISTUTILS=stdlib
        export PYTHONSTRICTEXTENSIONBUILD=1
 
        # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
@@ -528,10 +533,6 @@ src_test() {
 src_install() {
        local libdir=${ED}/usr/lib/python${PYVER}
 
-       # the Makefile rules are broken
-       # https://github.com/python/cpython/issues/100221
-       mkdir -p "${libdir}"/lib-dynload || die
-
        # -j1 hack for now for bug #843458
        emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
 
@@ -559,6 +560,9 @@ src_install() {
        fi
 
        rm -r "${libdir}"/ensurepip/_bundled || die
+       if ! use ensurepip; then
+               rm -r "${libdir}"/ensurepip || die
+       fi
        if ! use sqlite; then
                rm -r "${libdir}/"sqlite3 || die
        fi
@@ -616,3 +620,16 @@ src_install() {
                ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
        fi
 }
+
+pkg_postinst() {
+       if ver_replacing -lt 3.11.0_beta4-r2; then
+               ewarn "Python 3.11.0b4 has changed its module ABI.  The .pyc 
files"
+               ewarn "installed previously are no longer valid and will be 
regenerated"
+               ewarn "(or ignored) on the next import.  This may cause sandbox 
failures"
+               ewarn "when installing some packages and checksum mismatches 
when removing"
+               ewarn "old versions.  To actively prevent this, rebuild all 
packages"
+               ewarn "installing Python 3.11 modules, e.g. using:"
+               ewarn
+               ewarn "  emerge -1v /usr/lib/python3.11/site-packages"
+       fi
+}

diff --git a/dev-lang/python/python-3.13.0.ebuild 
b/dev-lang/python/python-3.13.0.ebuild
deleted file mode 100644
index 4cf0b5b..0000000
--- a/dev-lang/python/python-3.13.0.ebuild
+++ /dev/null
@@ -1,676 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-LLVM_COMPAT=( 18 )
-LLVM_OPTIONAL=1
-WANT_LIBTOOL="none"
-
-inherit autotools check-reqs eapi9-ver flag-o-matic linux-info llvm-r1
-inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
-inherit verify-sig
-
-MY_PV=${PV/_}
-MY_P="Python-${MY_PV%_p*}"
-PYVER=$(ver_cut 1-2)
-PATCHSET="python-gentoo-patches-${MY_PV}"
-
-DESCRIPTION="An interpreted, interactive, object-oriented programming language"
-HOMEPAGE="
-       https://www.python.org/
-       https://github.com/python/cpython/
-"
-SRC_URI="
-       https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-       verify-sig? (
-               https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
-       )
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="PSF-2"
-SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="
-       bluetooth build debug +ensurepip examples gdbm jit
-       libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
-"
-REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-# Do not add a dependency on dev-lang/python to this ebuild.
-# If you need to apply a patch which requires python for bootstrapping, please
-# run the bootstrap code on your dev box and include the results in the
-# patchset. See bug 447752.
-
-RDEPEND="
-       app-arch/bzip2:=
-       app-arch/xz-utils:=
-       app-crypt/libb2
-       >=dev-libs/expat-2.1:=
-       dev-libs/libffi:=
-       dev-libs/mpdecimal:=
-       dev-python/gentoo-common
-       >=sys-libs/zlib-1.1.3:=
-       virtual/libintl
-       ensurepip? ( dev-python/ensurepip-pip )
-       gdbm? ( sys-libs/gdbm:=[berkdb] )
-       kernel_linux? ( sys-apps/util-linux:= )
-       ncurses? ( >=sys-libs/ncurses-5.2:= )
-       readline? (
-               !libedit? ( >=sys-libs/readline-4.1:= )
-               libedit? ( dev-libs/libedit:= )
-       )
-       sqlite? ( >=dev-db/sqlite-3.3.8:3= )
-       ssl? ( >=dev-libs/openssl-1.1.1:= )
-       tk? (
-               >=dev-lang/tcl-8.0:=
-               >=dev-lang/tk-8.0:=
-               dev-tcltk/blt:=
-               dev-tcltk/tix
-       )
-"
-# bluetooth requires headers from bluez
-DEPEND="
-       ${RDEPEND}
-       bluetooth? ( net-wireless/bluez )
-       test? (
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-               dev-python/ensurepip-wheel
-       )
-       valgrind? ( dev-debug/valgrind )
-"
-# autoconf-archive needed to eautoreconf
-BDEPEND="
-       dev-build/autoconf-archive
-       app-alternatives/awk
-       virtual/pkgconfig
-       jit? (
-               $(llvm_gen_dep '
-                       llvm-core/clang:${LLVM_SLOT}
-                       llvm-core/llvm:${LLVM_SLOT}
-               ')
-       )
-       verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
-"
-RDEPEND+="
-       !build? ( app-misc/mime-types )
-"
-if [[ ${PV} != *_alpha* ]]; then
-       RDEPEND+="
-               dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]
-       "
-fi
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
-
-# large file tests involve a 2.5G file being copied (duplicated)
-CHECKREQS_DISK_BUILD=5500M
-
-QA_PKGCONFIG_VERSION=${PYVER}
-# false positives -- functions specific to *BSD
-QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
-
-declare -rgA PYTHON_KERNEL_CHECKS=(
-       ["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
-       ["DNOTIFY"]="test_fcntl" # bug 938662
-)
-
-pkg_pretend() {
-       if use pgo || use test; then
-               check-reqs_pkg_pretend
-       fi
-
-       if use jit; then
-               ewarn "USE=jit is considered experimental upstream.  Using it"
-               ewarn "could lead to unexpected breakage, including race 
conditions"
-               ewarn "and crashes, respectively.  Please do not file Gentoo 
bugs, unless"
-               ewarn "you can reproduce the problem with 
dev-lang/python[-jit].  Instead,"
-               ewarn "please consider reporting JIT problems upstream."
-       fi
-}
-
-pkg_setup() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               use jit && llvm-r1_pkg_setup
-               if use test || use pgo; then
-                       check-reqs_pkg_setup
-
-                       local CONFIG_CHECK
-                       for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-                               CONFIG_CHECK+="~${f} "
-                       done
-                       linux-info_pkg_setup
-               fi
-       fi
-}
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
-       fi
-       default
-}
-
-src_prepare() {
-       # Ensure that internal copies of expat and libffi are not used.
-       # TODO: Makefile has annoying deps on expat headers
-       #rm -r Modules/expat || die
-
-       local PATCHES=(
-               "${WORKDIR}/${PATCHSET}"
-               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
-       )
-
-       default
-
-       # force the correct number of jobs
-       # https://bugs.gentoo.org/737660
-       sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
-
-       # breaks tests when using --with-wheel-pkg-dir
-       rm -r Lib/test/wheeldata || die
-
-       eautoreconf
-}
-
-build_cbuild_python() {
-       # Hack to workaround get_libdir not being able to handle CBUILD, bug 
#794181
-       local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) 
--keep-system-libs --libs-only-L libffi)
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       #
-       # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD 
Python anyway)
-       local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
-       local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-       local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
-       local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
-
-       # We need to build our own Python on CBUILD first, and feed it in.
-       # bug #847910
-       local myeconfargs_cbuild=(
-               "${myeconfargs[@]}"
-
-               --prefix="${BROOT}"/usr
-               --libdir="${cbuild_libdir:2}"
-
-               # Avoid needing to load the right libpython.so.
-               --disable-shared
-
-               # As minimal as possible for the mini CBUILD Python
-               # we build just for cross to satisfy --with-build-python.
-               --without-lto
-               --without-readline
-               --disable-optimizations
-       )
-
-       mkdir "${WORKDIR}"/${P}-${CBUILD} || die
-       pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
-
-       # Avoid as many dependencies as possible for the cross build.
-       mkdir Modules || die
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               _dbm _gdbm
-               _sqlite3
-               _hashlib _ssl
-               _curses _curses_panel
-               readline
-               _tkinter
-               pyexpat
-               zlib
-               # We disabled these for CBUILD because Python's setup.py can't 
handle locating
-               # libdir correctly for cross. This should be rechecked for the 
pure Makefile approach,
-               # and uncommented if needed.
-               #_ctypes
-       EOF
-
-       ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
-
-       # Unfortunately, we do have to build this immediately, and
-       # not in src_compile, because CHOST configure for Python
-       # will check the existence of the --with-build-python value
-       # immediately.
-       emake
-       popd &> /dev/null || die
-}
-
-src_configure() {
-       # disable automagic bluetooth headers detection
-       if ! use bluetooth; then
-               local -x ac_cv_header_bluetooth_bluetooth_h=no
-       fi
-
-       append-flags -fwrapv
-       filter-flags -malign-double
-
-       # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
-       # PKG_CONFIG needed for cross.
-       tc-export CXX PKG_CONFIG
-
-       local dbmliborder=
-       if use gdbm; then
-               dbmliborder+="${dbmliborder:+:}gdbm"
-       fi
-
-       # Set baseline test skip flags.
-       COMMON_TEST_SKIPS=(
-               # this is actually test_gdb.test_pretty_print
-               -x test_pretty_print
-               # https://bugs.gentoo.org/933840
-               -x test_perf_profiler
-       )
-
-       # Arch-specific skips.  See #931888 for a collection of these.
-       case ${CHOST} in
-               alpha*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_builtin
-                               -x test_capi
-                               -x test_cmath
-                               -x test_float
-                               # timeout
-                               -x test_free_threading
-                               -x test_math
-                               -x test_numeric_tower
-                               -x test_random
-                               -x test_statistics
-                               # bug 653850
-                               -x test_resource
-                               -x test_strtod
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               mips*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_ctypes
-                               -x test_external_inspection
-                               -x test_statistics
-                       )
-                       ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               riscv*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_urllib2
-                       )
-                       ;;
-               sparc*)
-                       COMMON_TEST_SKIPS+=(
-                               # bug 788022
-                               -x test_multiprocessing_fork
-                               -x test_multiprocessing_forkserver
-                               -x test_multiprocessing_spawn
-
-                               -x test_ctypes
-                               -x test_gdb
-                               # bug 931908
-                               -x test_exceptions
-                       )
-                       ;;
-       esac
-
-       # Kernel-config specific skips
-       for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-               if ! linux_config_exists || ! linux_chkconfig_present 
"${option}"
-               then
-                       COMMON_TEST_SKIPS+=( -x 
"${PYTHON_KERNEL_CHECKS[${option}]}" )
-               fi
-       done
-
-       # musl-specific skips
-       use elibc_musl && COMMON_TEST_SKIPS+=(
-               # various musl locale deficiencies
-               -x test__locale
-               -x test_c_locale_coercion
-               -x test_locale
-               -x test_re
-
-               # known issues with find_library on musl
-               # https://bugs.python.org/issue21622
-               -x test_ctypes
-
-               # fpathconf, ttyname errno values
-               -x test_os
-       )
-
-       if use pgo; then
-               local profile_task_flags=(
-                       -m test
-                       "-j$(makeopts_jobs)"
-                       --pgo-extended
-                       --verbose3
-                       -u-network
-
-                       # We use a timeout because of how often we've had hang 
issues
-                       # here. It also matches the default upstream 
PROFILE_TASK.
-                       --timeout 1200
-
-                       "${COMMON_TEST_SKIPS[@]}"
-
-                       -x test_dtrace
-
-                       # All of these seem to occasionally hang for PGO 
inconsistently
-                       # They'll even hang here but be fine in src_test 
sometimes.
-                       # bug #828535 (and related: bug #788022)
-                       -x test_asyncio
-                       -x test_httpservers
-                       -x test_logging
-                       -x test_multiprocessing_fork
-                       -x test_socket
-                       -x test_xmlrpc
-
-                       # Hangs (actually runs indefinitely executing itself w/ 
many cpython builds)
-                       # bug #900429
-                       -x test_tools
-
-                       # Fails in profiling run, passes in src_test().
-                       -x test_capi
-               )
-
-               # Arch-specific skips.  See #931888 for a collection of these.
-               case ${CHOST} in
-                       alpha*)
-                               profile_task_flags+=(
-                                       -x test_os
-                               )
-                               ;;
-                       hppa*)
-                               profile_task_flags+=(
-                                       -x test_descr
-                                       # bug 931908
-                                       -x test_exceptions
-                                       -x test_os
-                               )
-                               ;;
-                       powerpc64-*) # big endian
-                               profile_task_flags+=(
-                                       # bug 931908
-                                       -x test_exceptions
-                               )
-                               ;;
-                       riscv*)
-                               profile_task_flags+=(
-                                       -x test_statistics
-                               )
-                               ;;
-               esac
-
-               if has_version "app-arch/rpm" ; then
-                       # Avoid sandbox failure (attempts to write to 
/var/lib/rpm)
-                       profile_task_flags+=(
-                               -x test_distutils
-                       )
-               fi
-               local -x PROFILE_TASK="${profile_task_flags[*]}"
-       fi
-
-       local myeconfargs=(
-               # glibc-2.30 removes it; since we can't cleanly force-rebuild
-               # Python on glibc upgrade, remove it proactively to give
-               # a chance for users rebuilding python before glibc
-               ac_cv_header_stropts_h=no
-
-               # libressl doesn't find hashlib (From OpenBSD)
-               ac_cv_working_openssl_hashlib=yes
-
-               --enable-shared
-               --without-static-libpython
-               --enable-ipv6
-               --infodir='${prefix}/share/info'
-               --mandir='${prefix}/share/man'
-               --with-computed-gotos
-               --with-dbmliborder="${dbmliborder}"
-               --with-libc=
-               --enable-loadable-sqlite-extensions
-               --without-ensurepip
-               --without-lto
-               --with-system-expat
-               --with-system-libmpdec
-               --with-platlibdir=lib
-               --with-pkg-config=yes
-               --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
-               --enable-gil
-
-               $(use_with debug assertions)
-               $(use_enable jit experimental-jit)
-               $(use_enable pgo optimizations)
-               $(use_with readline readline "$(usex libedit editline 
readline)")
-               $(use_with valgrind)
-       )
-
-       # https://bugs.gentoo.org/700012
-       if tc-is-lto; then
-               append-cflags $(test-flags-CC -ffat-lto-objects)
-               myeconfargs+=(
-                       --with-lto
-               )
-       fi
-
-       # Force-disable modules we don't want built.
-       # See Modules/Setup for docs on how this works. Setup.local contains 
our local deviations.
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               $(usev !gdbm '_gdbm _dbm')
-               $(usev !sqlite '_sqlite3')
-               $(usev !ssl '_hashlib _ssl')
-               $(usev !ncurses '_curses _curses_panel')
-               $(usev !readline 'readline')
-               $(usev !tk '_tkinter')
-       EOF
-
-       # disable implicit optimization/debugging flags
-       local -x OPT=
-
-       if tc-is-cross-compiler ; then
-               build_cbuild_python
-               myeconfargs+=(
-                       # Point the imminent CHOST build to the Python we just
-                       # built for CBUILD.
-                       --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
-               )
-       fi
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       local -x CFLAGS_NODIST=${CFLAGS}
-       local -x LDFLAGS_NODIST=${LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-
-       # Fix implicit declarations on cross and prefix builds. Bug #674070.
-       if use ncurses; then
-               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
-       fi
-
-       econf "${myeconfargs[@]}"
-
-       if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
-               eerror "configure has detected that the sem_open function is 
broken."
-               eerror "Please ensure that /dev/shm is mounted as a tmpfs with 
mode 1777."
-               die "Broken sem_open function (bug 496328)"
-       fi
-
-       # install epython.py as part of stdlib
-       echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
-}
-
-src_compile() {
-       # Ensure sed works as expected
-       # https://bugs.gentoo.org/594768
-       local -x LC_ALL=C
-       export PYTHONSTRICTEXTENSIONBUILD=1
-
-       # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
-       # end up writing bytecode & violating sandbox.
-       # bug #831897
-       local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
-
-       # Gentoo hack to disable accessing system site-packages
-       export GENTOO_CPYTHON_BUILD=1
-
-       if use pgo ; then
-               # bug 660358
-               local -x COLUMNS=80
-               local -x PYTHONDONTWRITEBYTECODE=
-               local -x TMPDIR=/tmp
-       fi
-
-       # also need to clear the flags explicitly here or they end up
-       # in _sysconfigdata*
-       emake CPPFLAGS= CFLAGS= LDFLAGS=
-
-       # Restore saved value from above.
-       local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
-
-       # Work around bug 329499. See also bug 413751 and 457194.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E python
-       else
-               pax-mark m python
-       fi
-}
-
-src_test() {
-       # Tests will not work when cross compiling.
-       if tc-is-cross-compiler; then
-               elog "Disabling tests due to crosscompiling."
-               return
-       fi
-
-       # this just happens to skip test_support.test_freeze that is broken
-       # without bundled expat
-       # TODO: get a proper skip for it upstream
-       local -x LOGNAME=buildbot
-
-       local test_opts=(
-               --verbose3
-               -u-network
-               -j "$(makeopts_jobs)"
-               "${COMMON_TEST_SKIPS[@]}"
-       )
-
-       # bug 660358
-       local -x COLUMNS=80
-       local -x PYTHONDONTWRITEBYTECODE=
-       local -x TMPDIR=/tmp
-
-       nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
-               CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
-       local ret=${?}
-
-       [[ ${ret} -eq 0 ]] || die "emake test failed"
-}
-
-src_install() {
-       local libdir=${ED}/usr/lib/python${PYVER}
-
-       # -j1 hack for now for bug #843458
-       emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
-
-       # Fix collisions between different slots of Python.
-       rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
-
-       # Cheap hack to get version with ABIFLAGS
-       local abiver=$(cd "${ED}/usr/include"; echo python*)
-       if [[ ${abiver} != python${PYVER} ]]; then
-               # Replace python3.X with a symlink to python3.Xm
-               rm "${ED}/usr/bin/python${PYVER}" || die
-               dosym "${abiver}" "/usr/bin/python${PYVER}"
-               # Create python3.X-config symlink
-               dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
-               # Create python-3.5m.pc symlink
-               dosym "python-${PYVER}.pc" 
"/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
-       fi
-
-       # python seems to get rebuilt in src_install (bug 569908)
-       # Work around it for now.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E "${ED}/usr/bin/${abiver}"
-       else
-               pax-mark m "${ED}/usr/bin/${abiver}"
-       fi
-
-       rm -r "${libdir}"/ensurepip/_bundled || die
-       if ! use sqlite; then
-               rm -r "${libdir}/"sqlite3 || die
-       fi
-       if ! use tk; then
-               rm -r "${ED}/usr/bin/idle${PYVER}" || die
-               rm -r "${libdir}/"{idlelib,tkinter} || die
-       fi
-
-       ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
-
-       dodoc Misc/{ACKS,HISTORY,NEWS}
-
-       if use examples; then
-               docinto examples
-               find Tools -name __pycache__ -exec rm -fr {} + || die
-               dodoc -r Tools
-       fi
-       insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
-       local libname=$(
-               printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' |
-               emake --no-print-directory -s -f - 2>/dev/null
-       )
-       newins Tools/gdb/libpython.py "${libname}"-gdb.py
-
-       newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
-       newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
-       sed \
-               -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
-               -e "s:@PYDOC@:pydoc${PYVER}:" \
-               -i "${ED}/etc/conf.d/pydoc-${PYVER}" \
-               "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
-
-       # python-exec wrapping support
-       local pymajor=${PYVER%.*}
-       local EPYTHON=python${PYVER}
-       local scriptdir=${D}$(python_get_scriptdir)
-       mkdir -p "${scriptdir}" || die
-       # python and pythonX
-       ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die
-       ln -s "python${pymajor}" "${scriptdir}/python" || die
-       # python-config and pythonX-config
-       # note: we need to create a wrapper rather than symlinking it due
-       # to some random dirname(argv[0]) magic performed by python-config
-       cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
-               #!/bin/sh
-               exec "${abiver}-config" "\${@}"
-       EOF
-       chmod +x "${scriptdir}/python${pymajor}-config" || die
-       ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die
-       # pydoc
-       ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die
-       # idle
-       if use tk; then
-               ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
-       fi
-}
-
-pkg_postinst() {
-       if ver_replacing -lt 3.13.0_beta2; then
-               ewarn "Python 3.13.0b2 has changed its module ABI.  The .pyc 
files"
-               ewarn "installed previously are no longer valid and will be 
regenerated"
-               ewarn "(or ignored) on the next import.  This may cause sandbox 
failures"
-               ewarn "when installing some packages and checksum mismatches 
when removing"
-               ewarn "old versions.  To actively prevent this, rebuild all 
packages"
-               ewarn "installing Python 3.13 modules, e.g. using:"
-               ewarn
-               ewarn "  emerge -1v /usr/lib/python3.13/site-packages"
-       fi
-}

diff --git a/dev-lang/python/python-3.13.1.ebuild 
b/dev-lang/python/python-3.13.1.ebuild
deleted file mode 100644
index 52f4550..0000000
--- a/dev-lang/python/python-3.13.1.ebuild
+++ /dev/null
@@ -1,668 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-LLVM_COMPAT=( 18 )
-LLVM_OPTIONAL=1
-WANT_LIBTOOL="none"
-
-inherit autotools check-reqs flag-o-matic linux-info llvm-r1
-inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
-inherit verify-sig
-
-MY_PV=${PV/_}
-MY_P="Python-${MY_PV%_p*}"
-PYVER=$(ver_cut 1-2)
-PATCHSET="python-gentoo-patches-${MY_PV}"
-
-DESCRIPTION="An interpreted, interactive, object-oriented programming language"
-HOMEPAGE="
-       https://www.python.org/
-       https://github.com/python/cpython/
-"
-SRC_URI="
-       https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-       verify-sig? (
-               https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
-       )
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="PSF-2"
-SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="
-       bluetooth build debug +ensurepip examples gdbm jit
-       libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
-"
-REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-# Do not add a dependency on dev-lang/python to this ebuild.
-# If you need to apply a patch which requires python for bootstrapping, please
-# run the bootstrap code on your dev box and include the results in the
-# patchset. See bug 447752.
-
-RDEPEND="
-       app-arch/bzip2:=
-       app-arch/xz-utils:=
-       app-crypt/libb2
-       >=dev-libs/expat-2.1:=
-       dev-libs/libffi:=
-       dev-libs/mpdecimal:=
-       dev-python/gentoo-common
-       >=sys-libs/zlib-1.1.3:=
-       virtual/libintl
-       ensurepip? ( dev-python/ensurepip-pip )
-       gdbm? ( sys-libs/gdbm:=[berkdb] )
-       kernel_linux? ( sys-apps/util-linux:= )
-       ncurses? ( >=sys-libs/ncurses-5.2:= )
-       readline? (
-               !libedit? ( >=sys-libs/readline-4.1:= )
-               libedit? ( dev-libs/libedit:= )
-       )
-       sqlite? ( >=dev-db/sqlite-3.3.8:3= )
-       ssl? ( >=dev-libs/openssl-1.1.1:= )
-       tk? (
-               >=dev-lang/tcl-8.0:=
-               >=dev-lang/tk-8.0:=
-               dev-tcltk/blt:=
-               dev-tcltk/tix
-       )
-"
-# bluetooth requires headers from bluez
-DEPEND="
-       ${RDEPEND}
-       bluetooth? ( net-wireless/bluez )
-       test? (
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-               dev-python/ensurepip-wheel
-       )
-       valgrind? ( dev-debug/valgrind )
-"
-# autoconf-archive needed to eautoreconf
-BDEPEND="
-       dev-build/autoconf-archive
-       app-alternatives/awk
-       virtual/pkgconfig
-       jit? (
-               $(llvm_gen_dep '
-                       llvm-core/clang:${LLVM_SLOT}
-                       llvm-core/llvm:${LLVM_SLOT}
-               ')
-       )
-       verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
-"
-RDEPEND+="
-       !build? ( app-misc/mime-types )
-"
-if [[ ${PV} != *_alpha* ]]; then
-       RDEPEND+="
-               dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]
-       "
-fi
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
-
-# large file tests involve a 2.5G file being copied (duplicated)
-CHECKREQS_DISK_BUILD=5500M
-
-QA_PKGCONFIG_VERSION=${PYVER}
-# false positives -- functions specific to *BSD
-QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
-
-declare -rgA PYTHON_KERNEL_CHECKS=(
-       ["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
-       ["DNOTIFY"]="test_fcntl" # bug 938662
-)
-
-pkg_pretend() {
-       if use pgo || use test; then
-               check-reqs_pkg_pretend
-       fi
-
-       if use jit; then
-               ewarn "USE=jit is considered experimental upstream.  Using it"
-               ewarn "could lead to unexpected breakage, including race 
conditions"
-               ewarn "and crashes, respectively.  Please do not file Gentoo 
bugs, unless"
-               ewarn "you can reproduce the problem with 
dev-lang/python[-jit].  Instead,"
-               ewarn "please consider reporting JIT problems upstream."
-       fi
-}
-
-pkg_setup() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               use jit && llvm-r1_pkg_setup
-               if use test || use pgo; then
-                       check-reqs_pkg_setup
-
-                       local CONFIG_CHECK
-                       for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-                               CONFIG_CHECK+="~${f} "
-                       done
-                       linux-info_pkg_setup
-               fi
-       fi
-}
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
-       fi
-       default
-}
-
-src_prepare() {
-       # Ensure that internal copies of expat and libffi are not used.
-       # TODO: Makefile has annoying deps on expat headers
-       #rm -r Modules/expat || die
-
-       local PATCHES=(
-               "${WORKDIR}/${PATCHSET}"
-               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
-       )
-
-       default
-
-       # force the correct number of jobs
-       # https://bugs.gentoo.org/737660
-       sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
-
-       # breaks tests when using --with-wheel-pkg-dir
-       rm -r Lib/test/wheeldata || die
-
-       eautoreconf
-}
-
-build_cbuild_python() {
-       # Hack to workaround get_libdir not being able to handle CBUILD, bug 
#794181
-       local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) 
--keep-system-libs --libs-only-L libffi)
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       #
-       # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD 
Python anyway)
-       local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
-       local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-       local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
-       local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
-
-       # We need to build our own Python on CBUILD first, and feed it in.
-       # bug #847910
-       local myeconfargs_cbuild=(
-               "${myeconfargs[@]}"
-
-               --prefix="${BROOT}"/usr
-               --libdir="${cbuild_libdir:2}"
-
-               # Avoid needing to load the right libpython.so.
-               --disable-shared
-
-               # As minimal as possible for the mini CBUILD Python
-               # we build just for cross to satisfy --with-build-python.
-               --without-lto
-               --without-readline
-               --disable-optimizations
-       )
-
-       mkdir "${WORKDIR}"/${P}-${CBUILD} || die
-       pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
-
-       # Avoid as many dependencies as possible for the cross build.
-       mkdir Modules || die
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               _dbm _gdbm
-               _sqlite3
-               _hashlib _ssl
-               _curses _curses_panel
-               readline
-               _tkinter
-               pyexpat
-               zlib
-               # We disabled these for CBUILD because Python's setup.py can't 
handle locating
-               # libdir correctly for cross. This should be rechecked for the 
pure Makefile approach,
-               # and uncommented if needed.
-               #_ctypes
-       EOF
-
-       ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
-
-       # Unfortunately, we do have to build this immediately, and
-       # not in src_compile, because CHOST configure for Python
-       # will check the existence of the --with-build-python value
-       # immediately.
-       emake
-       popd &> /dev/null || die
-}
-
-src_configure() {
-       # disable automagic bluetooth headers detection
-       if ! use bluetooth; then
-               local -x ac_cv_header_bluetooth_bluetooth_h=no
-       fi
-
-       append-flags -fwrapv
-       filter-flags -malign-double
-
-       # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
-       # PKG_CONFIG needed for cross.
-       tc-export CXX PKG_CONFIG
-
-       local dbmliborder=
-       if use gdbm; then
-               dbmliborder+="${dbmliborder:+:}gdbm"
-       fi
-
-       # Set baseline test skip flags.
-       COMMON_TEST_SKIPS=(
-               # this is actually test_gdb.test_pretty_print
-               -x test_pretty_print
-               # https://bugs.gentoo.org/933840
-               -x test_perf_profiler
-       )
-
-       # Arch-specific skips.  See #931888 for a collection of these.
-       case ${CHOST} in
-               alpha*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_builtin
-                               -x test_capi
-                               -x test_cmath
-                               -x test_float
-                               # timeout
-                               -x test_free_threading
-                               -x test_math
-                               -x test_numeric_tower
-                               -x test_random
-                               -x test_statistics
-                               # bug 653850
-                               -x test_resource
-                               -x test_strtod
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               mips*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_ctypes
-                               -x test_external_inspection
-                               -x test_statistics
-                       )
-                       ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               riscv*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_urllib2
-                       )
-                       ;;
-               sparc*)
-                       COMMON_TEST_SKIPS+=(
-                               # bug 788022
-                               -x test_multiprocessing_fork
-                               -x test_multiprocessing_forkserver
-                               -x test_multiprocessing_spawn
-
-                               -x test_ctypes
-                               -x test_gdb
-                               # bug 931908
-                               -x test_exceptions
-                       )
-                       ;;
-       esac
-
-       # Kernel-config specific skips
-       for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-               if ! linux_config_exists || ! linux_chkconfig_present 
"${option}"
-               then
-                       COMMON_TEST_SKIPS+=( -x 
"${PYTHON_KERNEL_CHECKS[${option}]}" )
-               fi
-       done
-
-       # musl-specific skips
-       use elibc_musl && COMMON_TEST_SKIPS+=(
-               # various musl locale deficiencies
-               -x test__locale
-               -x test_c_locale_coercion
-               -x test_locale
-               -x test_re
-
-               # known issues with find_library on musl
-               # https://bugs.python.org/issue21622
-               -x test_ctypes
-
-               # fpathconf, ttyname errno values
-               -x test_os
-       )
-
-       if use pgo; then
-               local profile_task_flags=(
-                       -m test
-                       "-j$(makeopts_jobs)"
-                       --pgo-extended
-                       --verbose3
-                       -u-network
-
-                       # We use a timeout because of how often we've had hang 
issues
-                       # here. It also matches the default upstream 
PROFILE_TASK.
-                       --timeout 1200
-
-                       "${COMMON_TEST_SKIPS[@]}"
-
-                       -x test_dtrace
-
-                       # All of these seem to occasionally hang for PGO 
inconsistently
-                       # They'll even hang here but be fine in src_test 
sometimes.
-                       # bug #828535 (and related: bug #788022)
-                       -x test_asyncio
-                       -x test_httpservers
-                       -x test_logging
-                       -x test_multiprocessing_fork
-                       -x test_socket
-                       -x test_xmlrpc
-
-                       # Hangs (actually runs indefinitely executing itself w/ 
many cpython builds)
-                       # bug #900429
-                       -x test_tools
-
-                       # Fails in profiling run, passes in src_test().
-                       -x test_capi
-
-                       # Fails with LibreSSL
-                       # https://github.com/libressl/portable/issues/1133
-                       -x test_hashlib
-                       -x test_ssl
-               )
-
-               # Arch-specific skips.  See #931888 for a collection of these.
-               case ${CHOST} in
-                       alpha*)
-                               profile_task_flags+=(
-                                       -x test_os
-                               )
-                               ;;
-                       hppa*)
-                               profile_task_flags+=(
-                                       -x test_descr
-                                       # bug 931908
-                                       -x test_exceptions
-                                       -x test_os
-                               )
-                               ;;
-                       powerpc64-*) # big endian
-                               profile_task_flags+=(
-                                       # bug 931908
-                                       -x test_exceptions
-                               )
-                               ;;
-                       riscv*)
-                               profile_task_flags+=(
-                                       -x test_statistics
-                               )
-                               ;;
-               esac
-
-               if has_version "app-arch/rpm" ; then
-                       # Avoid sandbox failure (attempts to write to 
/var/lib/rpm)
-                       profile_task_flags+=(
-                               -x test_distutils
-                       )
-               fi
-               local -x PROFILE_TASK="${profile_task_flags[*]}"
-       fi
-
-       local myeconfargs=(
-               # glibc-2.30 removes it; since we can't cleanly force-rebuild
-               # Python on glibc upgrade, remove it proactively to give
-               # a chance for users rebuilding python before glibc
-               ac_cv_header_stropts_h=no
-
-               # libressl doesn't find hashlib (From OpenBSD)
-               ac_cv_working_openssl_hashlib=yes
-
-               --enable-shared
-               --without-static-libpython
-               --enable-ipv6
-               --infodir='${prefix}/share/info'
-               --mandir='${prefix}/share/man'
-               --with-computed-gotos
-               --with-dbmliborder="${dbmliborder}"
-               --with-libc=
-               --enable-loadable-sqlite-extensions
-               --without-ensurepip
-               --without-lto
-               --with-system-expat
-               --with-system-libmpdec
-               --with-platlibdir=lib
-               --with-pkg-config=yes
-               --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
-               --enable-gil
-
-               $(use_with debug assertions)
-               $(use_enable jit experimental-jit)
-               $(use_enable pgo optimizations)
-               $(use_with readline readline "$(usex libedit editline 
readline)")
-               $(use_with valgrind)
-       )
-
-       # https://bugs.gentoo.org/700012
-       if tc-is-lto; then
-               append-cflags $(test-flags-CC -ffat-lto-objects)
-               myeconfargs+=(
-                       --with-lto
-               )
-       fi
-
-       # Force-disable modules we don't want built.
-       # See Modules/Setup for docs on how this works. Setup.local contains 
our local deviations.
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               $(usev !gdbm '_gdbm _dbm')
-               $(usev !sqlite '_sqlite3')
-               $(usev !ssl '_hashlib _ssl')
-               $(usev !ncurses '_curses _curses_panel')
-               $(usev !readline 'readline')
-               $(usev !tk '_tkinter')
-       EOF
-
-       # disable implicit optimization/debugging flags
-       local -x OPT=
-
-       if tc-is-cross-compiler ; then
-               build_cbuild_python
-               myeconfargs+=(
-                       # Point the imminent CHOST build to the Python we just
-                       # built for CBUILD.
-                       --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
-               )
-       fi
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       local -x CFLAGS_NODIST=${CFLAGS}
-       local -x LDFLAGS_NODIST=${LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-
-       # Fix implicit declarations on cross and prefix builds. Bug #674070.
-       if use ncurses; then
-               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
-       fi
-
-       econf "${myeconfargs[@]}"
-
-       if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
-               eerror "configure has detected that the sem_open function is 
broken."
-               eerror "Please ensure that /dev/shm is mounted as a tmpfs with 
mode 1777."
-               die "Broken sem_open function (bug 496328)"
-       fi
-
-       # install epython.py as part of stdlib
-       echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
-}
-
-src_compile() {
-       # Ensure sed works as expected
-       # https://bugs.gentoo.org/594768
-       local -x LC_ALL=C
-       export PYTHONSTRICTEXTENSIONBUILD=1
-
-       # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
-       # end up writing bytecode & violating sandbox.
-       # bug #831897
-       local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
-
-       # Gentoo hack to disable accessing system site-packages
-       export GENTOO_CPYTHON_BUILD=1
-
-       if use pgo ; then
-               # bug 660358
-               local -x COLUMNS=80
-               local -x PYTHONDONTWRITEBYTECODE=
-               local -x TMPDIR=/var/tmp
-       fi
-
-       # also need to clear the flags explicitly here or they end up
-       # in _sysconfigdata*
-       emake CPPFLAGS= CFLAGS= LDFLAGS=
-
-       # Restore saved value from above.
-       local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
-
-       # Work around bug 329499. See also bug 413751 and 457194.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E python
-       else
-               pax-mark m python
-       fi
-}
-
-src_test() {
-       # Tests will not work when cross compiling.
-       if tc-is-cross-compiler; then
-               elog "Disabling tests due to crosscompiling."
-               return
-       fi
-
-       # this just happens to skip test_support.test_freeze that is broken
-       # without bundled expat
-       # TODO: get a proper skip for it upstream
-       local -x LOGNAME=buildbot
-
-       local test_opts=(
-               --verbose3
-               -u-network
-               -j "$(makeopts_jobs)"
-               "${COMMON_TEST_SKIPS[@]}"
-       )
-
-       # bug 660358
-       local -x COLUMNS=80
-       local -x PYTHONDONTWRITEBYTECODE=
-       local -x TMPDIR=/var/tmp
-
-       nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
-               CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
-       local ret=${?}
-
-       [[ ${ret} -eq 0 ]] || die "emake test failed"
-}
-
-src_install() {
-       local libdir=${ED}/usr/lib/python${PYVER}
-
-       # -j1 hack for now for bug #843458
-       emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
-
-       # Fix collisions between different slots of Python.
-       rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
-
-       # Cheap hack to get version with ABIFLAGS
-       local abiver=$(cd "${ED}/usr/include"; echo python*)
-       if [[ ${abiver} != python${PYVER} ]]; then
-               # Replace python3.X with a symlink to python3.Xm
-               rm "${ED}/usr/bin/python${PYVER}" || die
-               dosym "${abiver}" "/usr/bin/python${PYVER}"
-               # Create python3.X-config symlink
-               dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
-               # Create python-3.5m.pc symlink
-               dosym "python-${PYVER}.pc" 
"/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
-       fi
-
-       # python seems to get rebuilt in src_install (bug 569908)
-       # Work around it for now.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E "${ED}/usr/bin/${abiver}"
-       else
-               pax-mark m "${ED}/usr/bin/${abiver}"
-       fi
-
-       rm -r "${libdir}"/ensurepip/_bundled || die
-       if ! use sqlite; then
-               rm -r "${libdir}/"sqlite3 || die
-       fi
-       if ! use tk; then
-               rm -r "${ED}/usr/bin/idle${PYVER}" || die
-               rm -r "${libdir}/"{idlelib,tkinter} || die
-       fi
-
-       ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
-
-       dodoc Misc/{ACKS,HISTORY,NEWS}
-
-       if use examples; then
-               docinto examples
-               find Tools -name __pycache__ -exec rm -fr {} + || die
-               dodoc -r Tools
-       fi
-       insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
-       local libname=$(
-               printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' |
-               emake --no-print-directory -s -f - 2>/dev/null
-       )
-       newins Tools/gdb/libpython.py "${libname}"-gdb.py
-
-       newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
-       newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
-       sed \
-               -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
-               -e "s:@PYDOC@:pydoc${PYVER}:" \
-               -i "${ED}/etc/conf.d/pydoc-${PYVER}" \
-               "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
-
-       # python-exec wrapping support
-       local pymajor=${PYVER%.*}
-       local EPYTHON=python${PYVER}
-       local scriptdir=${D}$(python_get_scriptdir)
-       mkdir -p "${scriptdir}" || die
-       # python and pythonX
-       ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die
-       ln -s "python${pymajor}" "${scriptdir}/python" || die
-       # python-config and pythonX-config
-       # note: we need to create a wrapper rather than symlinking it due
-       # to some random dirname(argv[0]) magic performed by python-config
-       cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
-               #!/bin/sh
-               exec "${abiver}-config" "\${@}"
-       EOF
-       chmod +x "${scriptdir}/python${pymajor}-config" || die
-       ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die
-       # pydoc
-       ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die
-       # idle
-       if use tk; then
-               ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
-       fi
-}

diff --git a/dev-lang/python/python-3.13.1_p1.ebuild 
b/dev-lang/python/python-3.13.1_p1.ebuild
deleted file mode 100644
index 6a31745..0000000
--- a/dev-lang/python/python-3.13.1_p1.ebuild
+++ /dev/null
@@ -1,638 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-LLVM_COMPAT=( 18 )
-LLVM_OPTIONAL=1
-WANT_LIBTOOL="none"
-
-inherit autotools check-reqs flag-o-matic linux-info llvm-r1
-inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
-inherit verify-sig
-
-MY_PV=${PV}
-MY_P="Python-${MY_PV%_p*}"
-PYVER=$(ver_cut 1-2)
-PATCHSET="python-gentoo-patches-${MY_PV}"
-
-DESCRIPTION="An interpreted, interactive, object-oriented programming language"
-HOMEPAGE="
-       https://www.python.org/
-       https://github.com/python/cpython/
-"
-SRC_URI="
-       https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-       verify-sig? (
-               https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
-       )
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="PSF-2"
-SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="
-       bluetooth build debug +ensurepip examples gdbm jit
-       libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
-"
-REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-# Do not add a dependency on dev-lang/python to this ebuild.
-# If you need to apply a patch which requires python for bootstrapping, please
-# run the bootstrap code on your dev box and include the results in the
-# patchset. See bug 447752.
-
-RDEPEND="
-       app-arch/bzip2:=
-       app-arch/xz-utils:=
-       app-crypt/libb2
-       >=dev-libs/expat-2.1:=
-       dev-libs/libffi:=
-       dev-libs/mpdecimal:=
-       dev-python/gentoo-common
-       >=sys-libs/zlib-1.1.3:=
-       virtual/libintl
-       ensurepip? ( dev-python/ensurepip-pip )
-       gdbm? ( sys-libs/gdbm:=[berkdb] )
-       kernel_linux? ( sys-apps/util-linux:= )
-       ncurses? ( >=sys-libs/ncurses-5.2:= )
-       readline? (
-               !libedit? ( >=sys-libs/readline-4.1:= )
-               libedit? ( dev-libs/libedit:= )
-       )
-       sqlite? ( >=dev-db/sqlite-3.3.8:3= )
-       ssl? ( >=dev-libs/openssl-1.1.1:= )
-       tk? (
-               >=dev-lang/tcl-8.0:=
-               >=dev-lang/tk-8.0:=
-               dev-tcltk/blt:=
-               dev-tcltk/tix
-       )
-"
-# bluetooth requires headers from bluez
-DEPEND="
-       ${RDEPEND}
-       bluetooth? ( net-wireless/bluez )
-       test? (
-               dev-python/ensurepip-pip
-               dev-python/ensurepip-setuptools
-               dev-python/ensurepip-wheel
-       )
-       valgrind? ( dev-debug/valgrind )
-"
-# autoconf-archive needed to eautoreconf
-BDEPEND="
-       dev-build/autoconf-archive
-       app-alternatives/awk
-       virtual/pkgconfig
-       jit? (
-               $(llvm_gen_dep '
-                       llvm-core/clang:${LLVM_SLOT}
-                       llvm-core/llvm:${LLVM_SLOT}
-               ')
-       )
-       verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
-"
-RDEPEND+="
-       !build? ( app-misc/mime-types )
-"
-if [[ ${PV} != *_alpha* ]]; then
-       RDEPEND+="
-               dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]
-       "
-fi
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
-
-# large file tests involve a 2.5G file being copied (duplicated)
-CHECKREQS_DISK_BUILD=5500M
-
-QA_PKGCONFIG_VERSION=${PYVER}
-# false positives -- functions specific to *BSD
-QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
-
-declare -rgA PYTHON_KERNEL_CHECKS=(
-       ["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
-       ["DNOTIFY"]="test_fcntl" # bug 938662
-)
-
-pkg_pretend() {
-       if use pgo || use test; then
-               check-reqs_pkg_pretend
-       fi
-
-       if use jit; then
-               ewarn "USE=jit is considered experimental upstream.  Using it"
-               ewarn "could lead to unexpected breakage, including race 
conditions"
-               ewarn "and crashes, respectively.  Please do not file Gentoo 
bugs, unless"
-               ewarn "you can reproduce the problem with 
dev-lang/python[-jit].  Instead,"
-               ewarn "please consider reporting JIT problems upstream."
-       fi
-}
-
-pkg_setup() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               use jit && llvm-r1_pkg_setup
-               if use test || use pgo; then
-                       check-reqs_pkg_setup
-
-                       local CONFIG_CHECK
-                       for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-                               CONFIG_CHECK+="~${f} "
-                       done
-                       linux-info_pkg_setup
-               fi
-       fi
-}
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
-       fi
-       default
-}
-
-src_prepare() {
-       # Ensure that internal copies of expat and libffi are not used.
-       # TODO: Makefile has annoying deps on expat headers
-       #rm -r Modules/expat || die
-
-       local PATCHES=(
-               "${WORKDIR}/${PATCHSET}"
-               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
-       )
-
-       default
-
-       # force the correct number of jobs
-       # https://bugs.gentoo.org/737660
-       sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
-
-       # breaks tests when using --with-wheel-pkg-dir
-       rm -r Lib/test/wheeldata || die
-
-       eautoreconf
-}
-
-build_cbuild_python() {
-       # Hack to workaround get_libdir not being able to handle CBUILD, bug 
#794181
-       local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) 
--keep-system-libs --libs-only-L libffi)
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       #
-       # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD 
Python anyway)
-       local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
-       local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-       local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
-       local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
-
-       # We need to build our own Python on CBUILD first, and feed it in.
-       # bug #847910
-       local myeconfargs_cbuild=(
-               "${myeconfargs[@]}"
-
-               --prefix="${BROOT}"/usr
-               --libdir="${cbuild_libdir:2}"
-
-               # Avoid needing to load the right libpython.so.
-               --disable-shared
-
-               # As minimal as possible for the mini CBUILD Python
-               # we build just for cross to satisfy --with-build-python.
-               --without-lto
-               --without-readline
-               --disable-optimizations
-       )
-
-       mkdir "${WORKDIR}"/${P}-${CBUILD} || die
-       pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
-
-       # Avoid as many dependencies as possible for the cross build.
-       mkdir Modules || die
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               _dbm _gdbm
-               _sqlite3
-               _hashlib _ssl
-               _curses _curses_panel
-               readline
-               _tkinter
-               pyexpat
-               zlib
-               # We disabled these for CBUILD because Python's setup.py can't 
handle locating
-               # libdir correctly for cross. This should be rechecked for the 
pure Makefile approach,
-               # and uncommented if needed.
-               #_ctypes
-       EOF
-
-       ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
-
-       # Unfortunately, we do have to build this immediately, and
-       # not in src_compile, because CHOST configure for Python
-       # will check the existence of the --with-build-python value
-       # immediately.
-       emake
-       popd &> /dev/null || die
-}
-
-src_configure() {
-       # disable automagic bluetooth headers detection
-       if ! use bluetooth; then
-               local -x ac_cv_header_bluetooth_bluetooth_h=no
-       fi
-
-       append-flags -fwrapv
-       filter-flags -malign-double
-
-       # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
-       # PKG_CONFIG needed for cross.
-       tc-export CXX PKG_CONFIG
-
-       local dbmliborder=
-       if use gdbm; then
-               dbmliborder+="${dbmliborder:+:}gdbm"
-       fi
-
-       # Set baseline test skip flags.
-       COMMON_TEST_SKIPS=(
-               # this is actually test_gdb.test_pretty_print
-               -x test_pretty_print
-               # https://bugs.gentoo.org/933840
-               -x test_perf_profiler
-       )
-
-       # Arch-specific skips.  See #931888 for a collection of these.
-       case ${CHOST} in
-               alpha*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_builtin
-                               -x test_capi
-                               -x test_cmath
-                               -x test_float
-                               # timeout
-                               -x test_free_threading
-                               -x test_math
-                               -x test_numeric_tower
-                               -x test_random
-                               -x test_statistics
-                               # bug 653850
-                               -x test_resource
-                               -x test_strtod
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               mips*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_ctypes
-                               -x test_external_inspection
-                               -x test_statistics
-                       )
-                       ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               riscv*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_urllib2
-                       )
-                       ;;
-               sparc*)
-                       COMMON_TEST_SKIPS+=(
-                               # bug 788022
-                               -x test_multiprocessing_fork
-                               -x test_multiprocessing_forkserver
-                               -x test_multiprocessing_spawn
-
-                               -x test_ctypes
-                               -x test_gdb
-                               # bug 931908
-                               -x test_exceptions
-                       )
-                       ;;
-       esac
-
-       # Kernel-config specific skips
-       for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
-               if ! linux_config_exists || ! linux_chkconfig_present 
"${option}"
-               then
-                       COMMON_TEST_SKIPS+=( -x 
"${PYTHON_KERNEL_CHECKS[${option}]}" )
-               fi
-       done
-
-       # musl-specific skips
-       use elibc_musl && COMMON_TEST_SKIPS+=(
-               # various musl locale deficiencies
-               -x test__locale
-               -x test_c_locale_coercion
-               -x test_locale
-               -x test_re
-
-               # known issues with find_library on musl
-               # https://bugs.python.org/issue21622
-               -x test_ctypes
-
-               # fpathconf, ttyname errno values
-               -x test_os
-       )
-
-       if use pgo; then
-               local profile_task_flags=(
-                       -m test
-                       "-j$(makeopts_jobs)"
-                       --pgo-extended
-                       --verbose3
-                       -u-network
-
-                       # We use a timeout because of how often we've had hang 
issues
-                       # here. It also matches the default upstream 
PROFILE_TASK.
-                       --timeout 1200
-
-                       "${COMMON_TEST_SKIPS[@]}"
-
-                       -x test_dtrace
-
-                       # All of these seem to occasionally hang for PGO 
inconsistently
-                       # They'll even hang here but be fine in src_test 
sometimes.
-                       # bug #828535 (and related: bug #788022)
-                       -x test_asyncio
-                       -x test_httpservers
-                       -x test_logging
-                       -x test_multiprocessing_fork
-                       -x test_socket
-                       -x test_xmlrpc
-
-                       # Hangs (actually runs indefinitely executing itself w/ 
many cpython builds)
-                       # bug #900429
-                       -x test_tools
-
-                       # Fails with LibreSSL
-                       # https://github.com/libressl/portable/issues/1133
-                       -x test_hashlib
-                       -x test_ssl
-               )
-
-               if has_version "app-arch/rpm" ; then
-                       # Avoid sandbox failure (attempts to write to 
/var/lib/rpm)
-                       profile_task_flags+=(
-                               -x test_distutils
-                       )
-               fi
-               # PGO sometimes fails randomly
-               local -x PROFILE_TASK="${profile_task_flags[*]} || true"
-       fi
-
-       local myeconfargs=(
-               # glibc-2.30 removes it; since we can't cleanly force-rebuild
-               # Python on glibc upgrade, remove it proactively to give
-               # a chance for users rebuilding python before glibc
-               ac_cv_header_stropts_h=no
-
-               # libressl doesn't find hashlib (From OpenBSD)
-               ac_cv_working_openssl_hashlib=yes
-
-               --enable-shared
-               --without-static-libpython
-               --enable-ipv6
-               --infodir='${prefix}/share/info'
-               --mandir='${prefix}/share/man'
-               --with-computed-gotos
-               --with-dbmliborder="${dbmliborder}"
-               --with-libc=
-               --enable-loadable-sqlite-extensions
-               --without-ensurepip
-               --without-lto
-               --with-system-expat
-               --with-system-libmpdec
-               --with-platlibdir=lib
-               --with-pkg-config=yes
-               --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
-               --enable-gil
-
-               $(use_with debug assertions)
-               $(use_enable jit experimental-jit)
-               $(use_enable pgo optimizations)
-               $(use_with readline readline "$(usex libedit editline 
readline)")
-               $(use_with valgrind)
-       )
-
-       # https://bugs.gentoo.org/700012
-       if tc-is-lto; then
-               append-cflags $(test-flags-CC -ffat-lto-objects)
-               myeconfargs+=(
-                       --with-lto
-               )
-       fi
-
-       # Force-disable modules we don't want built.
-       # See Modules/Setup for docs on how this works. Setup.local contains 
our local deviations.
-       cat > Modules/Setup.local <<-EOF || die
-               *disabled*
-               nis
-               $(usev !gdbm '_gdbm _dbm')
-               $(usev !sqlite '_sqlite3')
-               $(usev !ssl '_hashlib _ssl')
-               $(usev !ncurses '_curses _curses_panel')
-               $(usev !readline 'readline')
-               $(usev !tk '_tkinter')
-       EOF
-
-       # disable implicit optimization/debugging flags
-       local -x OPT=
-
-       if tc-is-cross-compiler ; then
-               build_cbuild_python
-               myeconfargs+=(
-                       # Point the imminent CHOST build to the Python we just
-                       # built for CBUILD.
-                       --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
-               )
-       fi
-
-       # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
-       # propagated to sysconfig for built extensions
-       local -x CFLAGS_NODIST=${CFLAGS}
-       local -x LDFLAGS_NODIST=${LDFLAGS}
-       local -x CFLAGS= LDFLAGS=
-
-       # Fix implicit declarations on cross and prefix builds. Bug #674070.
-       if use ncurses; then
-               append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
-       fi
-
-       econf "${myeconfargs[@]}"
-
-       if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
-               eerror "configure has detected that the sem_open function is 
broken."
-               eerror "Please ensure that /dev/shm is mounted as a tmpfs with 
mode 1777."
-               die "Broken sem_open function (bug 496328)"
-       fi
-
-       # install epython.py as part of stdlib
-       echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
-}
-
-src_compile() {
-       # Ensure sed works as expected
-       # https://bugs.gentoo.org/594768
-       local -x LC_ALL=C
-       export PYTHONSTRICTEXTENSIONBUILD=1
-
-       # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
-       # end up writing bytecode & violating sandbox.
-       # bug #831897
-       local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
-
-       # Gentoo hack to disable accessing system site-packages
-       export GENTOO_CPYTHON_BUILD=1
-
-       if use pgo ; then
-               # bug 660358
-               local -x COLUMNS=80
-               local -x PYTHONDONTWRITEBYTECODE=
-               local -x TMPDIR=/var/tmp
-       fi
-
-       # also need to clear the flags explicitly here or they end up
-       # in _sysconfigdata*
-       emake CPPFLAGS= CFLAGS= LDFLAGS=
-
-       # Restore saved value from above.
-       local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
-
-       # Work around bug 329499. See also bug 413751 and 457194.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E python
-       else
-               pax-mark m python
-       fi
-}
-
-src_test() {
-       # Tests will not work when cross compiling.
-       if tc-is-cross-compiler; then
-               elog "Disabling tests due to crosscompiling."
-               return
-       fi
-
-       # this just happens to skip test_support.test_freeze that is broken
-       # without bundled expat
-       # TODO: get a proper skip for it upstream
-       local -x LOGNAME=buildbot
-
-       local test_opts=(
-               --verbose3
-               -u-network
-               -j "$(makeopts_jobs)"
-               "${COMMON_TEST_SKIPS[@]}"
-       )
-
-       # bug 660358
-       local -x COLUMNS=80
-       local -x PYTHONDONTWRITEBYTECODE=
-       local -x TMPDIR=/var/tmp
-
-       nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
-               CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
-       local ret=${?}
-
-       [[ ${ret} -eq 0 ]] || die "emake test failed"
-}
-
-src_install() {
-       local libdir=${ED}/usr/lib/python${PYVER}
-
-       # -j1 hack for now for bug #843458
-       emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
-
-       # Fix collisions between different slots of Python.
-       rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
-
-       # Cheap hack to get version with ABIFLAGS
-       local abiver=$(cd "${ED}/usr/include"; echo python*)
-       if [[ ${abiver} != python${PYVER} ]]; then
-               # Replace python3.X with a symlink to python3.Xm
-               rm "${ED}/usr/bin/python${PYVER}" || die
-               dosym "${abiver}" "/usr/bin/python${PYVER}"
-               # Create python3.X-config symlink
-               dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
-               # Create python-3.5m.pc symlink
-               dosym "python-${PYVER}.pc" 
"/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
-       fi
-
-       # python seems to get rebuilt in src_install (bug 569908)
-       # Work around it for now.
-       if has_version dev-libs/libffi[pax-kernel]; then
-               pax-mark E "${ED}/usr/bin/${abiver}"
-       else
-               pax-mark m "${ED}/usr/bin/${abiver}"
-       fi
-
-       rm -r "${libdir}"/ensurepip/_bundled || die
-       if ! use sqlite; then
-               rm -r "${libdir}/"sqlite3 || die
-       fi
-       if ! use tk; then
-               rm -r "${ED}/usr/bin/idle${PYVER}" || die
-               rm -r "${libdir}/"{idlelib,tkinter} || die
-       fi
-
-       ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
-
-       dodoc Misc/{ACKS,HISTORY,NEWS}
-
-       if use examples; then
-               docinto examples
-               find Tools -name __pycache__ -exec rm -fr {} + || die
-               dodoc -r Tools
-       fi
-       insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
-       local libname=$(
-               printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' |
-               emake --no-print-directory -s -f - 2>/dev/null
-       )
-       newins Tools/gdb/libpython.py "${libname}"-gdb.py
-
-       newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
-       newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
-       sed \
-               -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
-               -e "s:@PYDOC@:pydoc${PYVER}:" \
-               -i "${ED}/etc/conf.d/pydoc-${PYVER}" \
-               "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
-
-       # python-exec wrapping support
-       local pymajor=${PYVER%.*}
-       local EPYTHON=python${PYVER}
-       local scriptdir=${D}$(python_get_scriptdir)
-       mkdir -p "${scriptdir}" || die
-       # python and pythonX
-       ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die
-       ln -s "python${pymajor}" "${scriptdir}/python" || die
-       # python-config and pythonX-config
-       # note: we need to create a wrapper rather than symlinking it due
-       # to some random dirname(argv[0]) magic performed by python-config
-       cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
-               #!/bin/sh
-               exec "${abiver}-config" "\${@}"
-       EOF
-       chmod +x "${scriptdir}/python${pymajor}-config" || die
-       ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die
-       # pydoc
-       ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die
-       # idle
-       if use tk; then
-               ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
-       fi
-}

diff --git a/dev-lang/python/python-3.9.20_p2.ebuild 
b/dev-lang/python/python-3.9.22.ebuild
similarity index 98%
rename from dev-lang/python/python-3.9.20_p2.ebuild
rename to dev-lang/python/python-3.9.22.ebuild
index 57acde6..d7397c7 100644
--- a/dev-lang/python/python-3.9.20_p2.ebuild
+++ b/dev-lang/python/python-3.9.22.ebuild
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="
        bluetooth build debug +ensurepip examples gdbm +ncurses pgo
        +readline +sqlite +ssl test tk valgrind
@@ -264,6 +264,11 @@ src_configure() {
                        # Hangs (actually runs indefinitely executing itself w/ 
many cpython builds)
                        # bug #900429
                        -x test_tools
+
+                       # Fails with LibreSSL
+                       # https://github.com/libressl/portable/issues/1133
+                       -x test_hashlib
+                       -x test_ssl
                )
 
                # Arch-specific skips.  See #931888 for a collection of these.
@@ -450,7 +455,7 @@ src_compile() {
                # bug 660358
                local -x COLUMNS=80
                local -x PYTHONDONTWRITEBYTECODE=
-               local -x TMPDIR=/tmp
+               local -x TMPDIR=/var/tmp
        fi
 
        # also need to clear the flags explicitly here or they end up
@@ -485,7 +490,7 @@ src_test() {
        # bug 660358
        local -x COLUMNS=80
        local -x PYTHONDONTWRITEBYTECODE=
-       local -x TMPDIR=/tmp
+       local -x TMPDIR=/var/tmp
 
        nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
                CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty


Reply via email to