commit:     2b750288f9c701a7141fa2de51dde02892c2cb39
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 11 20:29:08 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct 11 20:29:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b750288

dev-lang/python: avoid overlinking libcrypt

Also drops crypt.h from Python.h.

Bug: https://bugs.gentoo.org/802210
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-lang/python/Manifest                                |  7 ++++---
 .../{python-3.10.0.ebuild => python-3.10.0_p1.ebuild}   |  2 +-
 .../{python-3.7.12.ebuild => python-3.7.12_p1.ebuild}   |  2 +-
 .../{python-3.9.7.ebuild => python-3.8.12_p1.ebuild}    | 17 ++++-------------
 .../{python-3.9.7.ebuild => python-3.9.7_p1.ebuild}     |  2 +-
 5 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index 60709468685..cf101c469d4 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -19,12 +19,13 @@ DIST Python-3.9.6.tar.xz.asc 833 BLAKE2B 
41901bfb80a901f2f14e86769e6d08ded8f7565
 DIST Python-3.9.7.tar.xz 19123232 BLAKE2B 
69dfba6974c8c74de1b71977d28cad4d7c26615695f48a99444d2eb83d657b4bd8d22e7f6e94b1b2dcbcc5605c0aee08c609b9564e306f48588e2a7f471209b2
 SHA512 
55139776ab58a40f9e1e70613d7071d559ef9e51e32a77791422aac134322c21a49f0348c42813214b69789c589367eae43e16d4ae838a73daf37617e966b735
 DIST Python-3.9.7.tar.xz.asc 833 BLAKE2B 
2d9c47e47d9a625e393a8b456dd5b10dd485fc13ca7c236b5fd304c373879bea8ab3c67ff99c3a81350443f6ccba20718466a221a05faada6b82cfe92943fdbf
 SHA512 
7ff9f845f520efab3b4a0e95da3ffe055ee5777a4173a5b2cc1fd2419dc2b4faf30d1e711e372df36e34bc971ecfcde88a7cd815cfe2d8080ccb575a1ae8e101
 DIST python-gentoo-patches-2.7.18_p13.tar.xz 33296 BLAKE2B 
91b711458aff4f6337ee1b34aff58d7edda6725644a64c9320076a1e04c816729ed163d82333cfe4dfef379a9ad5ef50ba00abdbbfed4503b0f92c8f0b7ca683
 SHA512 
97f3657a4a95e8492aa710801b974a56e6dd4636e475aea45cbbe76e7ae32d00f07b05769887f05e49cb0df8584ac9499a7ce842bad77f837a7c869f9b769b07
-DIST python-gentoo-patches-3.10.0.tar.xz 8528 BLAKE2B 
5217172056a00196969dc462c7b89e629fe2dbf258cac9b3695b8e61441426d024f6656e984c61966f954b4599bf7a88071b3902791d66fc787ff992d052bbe1
 SHA512 
6bdd9741b065dc6482c66d9a78cc58d72ee754d588cdbe427cbe7ba3ce3cb917f655e8a22053b5561134b15587694ea3f440518b5443e379cebe49585af64c82
+DIST python-gentoo-patches-3.10.0_p1.tar.xz 10068 BLAKE2B 
1c9817b449831559f0a0b722c02a5f55d94b3dfde98e5882c1403fe24a4addf7074ab39c09b91cff6fd7ace2e4b6e8ed899d9a0b9ffd6612ce315c4c192bd309
 SHA512 
39aa41dbf17b6dc5255491c75031a3dae6962b44125e426dbfdce365a6533c5dae9856b1fff8016a189124b7cff72d2665ce99da344c2f9dff005ba685e8c2c4
 DIST python-gentoo-patches-3.10.0rc2.tar.xz 8488 BLAKE2B 
d7c1e45e63bf5bfe5d41823ea183608f4bcb44694feb18ee6d315250f1563684ce87dec29f46c16da223b6bbd1d20e75791d347ae6ac1d4b5130ba3f08c55ca1
 SHA512 
c2ca3b60f33131b20037fc0f53a5ce655e9978c5fa42d0b8e2c6b56aec24f6f37d8997fa146a446e5fd72b5d2c4b017d5e4fb71318a51dbb45f5d3b0ea4ed4ad
 DIST python-gentoo-patches-3.6.14_p1.tar.xz 16576 BLAKE2B 
902a9073e6d3e40cfba105680d9947b64a4bfa1632381bc71afbd2691350dccb36f498bf17ac7dfc8ce331dfc3fb7e3cdd539cea3f5e9db1c49210ad4d124182
 SHA512 
4aa354f1ca8d9bb3c30b666ef61cac8380741342102aeb9ea77cc06ae62179f595acc1c2e6321e9c2395abbc3fbc649ecc93b80443d139859924524989539992
 DIST python-gentoo-patches-3.6.15.tar.xz 15300 BLAKE2B 
f49fd96f6ad1a1c94fea6b83acd229a81754b86061e243044ead4b9a9d5122a2e43b270b68722c359c084c05a566a3ad70aa46588ab7a005ee560ee118b92b8b
 SHA512 
cc33491a33f3f1d990cf494d53b91b74db761142e8aebe1bd4b128ef10a268ff945e5ba08daad39cee095612a8e52265d6988873ecf9c073377cbbc10735aa39
 DIST python-gentoo-patches-3.7.11_p1.tar.xz 18540 BLAKE2B 
717f3b279368faa355e9b306ede5aa3cf750b7a862e50553caf4efe19b6b8d40431974fbb510414291c4c91623addebff54fd6d4f7f7553c686c5382174bc81f
 SHA512 
e403d2364bbe600d7c3dba8f70157b1f243b00848e3826e6f350d7dbbdd0966229fbf9aa11e0e87fb5ab93b8ea69893f389e5b92c22d7315f99657d69695ded2
-DIST python-gentoo-patches-3.7.12.tar.xz 17292 BLAKE2B 
f2e6629c8386c352254f8335fbfc53ddd5e7d86e1b6b71d57b6ff84f11974bf58ab894e687e866c4af60c25f43db01b11427f10c0755b494fa1f579af1b68750
 SHA512 
d6a1fb5e9ecf2691060f24078039dcbdafa4a27f17b7ede843bbda45016e86756a57e453da3e370b57c74d05c6dc894aa201f356e13ce94d3d9776fcbb673ed2
+DIST python-gentoo-patches-3.7.12_p1.tar.xz 19112 BLAKE2B 
e9964244af3db544dd6e96d85ca4bc24d7131b48eda85df5bafa3fb36474a024cecbbf4b27324e1f35f76ae6a1aed31dd7896e831b79b574b45a4371afcc7e5b
 SHA512 
9ec996c2904f99bd6651ed1b700eabd91f2b82b1e9e0f3d9572243886a9c7139bf8ac2af04169485d3ca6339e1a87044cba203f6f0aee9609d2a1d53c812548d
 DIST python-gentoo-patches-3.8.12.tar.xz 14936 BLAKE2B 
1cb6cdb0bb659b1bc3f8a4ecd80da74b41a9fa2f4d5646ac4b48ddecd5124677cb24574a425404fedab4fb9c7faba4b1cb54cc3482785559a54fa3e9b3ca13f1
 SHA512 
86c30622bbf6847efcdf2bc43d916b05ee78ab17f45b93148a01cf4c181592029ecc52e8c4887112d97aeece63a92ee0f685a689287c133443cf51b3f8171fb9
+DIST python-gentoo-patches-3.8.12_p1.tar.xz 16632 BLAKE2B 
cce7a41d020af1ffc55a01ef67b20bcb16c68adbccc1e44ef166d1707e817ed6c3bae70f84c56553f27bca449015e273014c0be73bc2f9b4e25844ddce385486
 SHA512 
4621727c2e9cc1c5519e021210e16a97e7167ea831445dfdd07f5b0ed642b5919834244111708a971ce098b10b439797e1c76827eccab803f801052c671f1ae6
 DIST python-gentoo-patches-3.9.6_p2.tar.xz 14720 BLAKE2B 
e14634229b65a29f5294694949c138bfa6146810349d1207a07d84eeca529571eb9c760b58ddbe6e8d96d50d1a3e0d1dfe42328c53c977a9eeb22ecd553317dc
 SHA512 
5d84b8bb4e5584e3ef8e6298af000e772240ad93ed0aaadf1d785db947f1e79aecae7313b8dbeb65849212c9930e683be6e18e42ef6c41a3c27d60f75df08a01
-DIST python-gentoo-patches-3.9.7.tar.xz 12764 BLAKE2B 
0cdd255ee1b90f117a7b11cf3ce96d48fe6e8b7b0d43958c473c23489fa4b512f7d8c385fc7c67ba0e62946fd22a608c3f088a3220934136c056bdd14e802752
 SHA512 
64ba96a5b07ff986b07c2694cd917d5542513cdf2d8ec96940bc2a730a479538968789121e6608feb1bae5465eafbae176726d79f2ddf025a0b7f59b67404b07
+DIST python-gentoo-patches-3.9.7_p1.tar.xz 14444 BLAKE2B 
c976beb1205b0b777ff3375f538758bf28443bcf4c953fe161545791763da043e32582c398ec8151478afc40e53f963e080d29420066305c12963c953887e4b8
 SHA512 
283c8975885f9306e46a0047219f3a70e1000f3401affb0b55cde976be6fb6df2f1c13f4e05a479e72e0731d683fef9b22413f7cd320298295a31b19c8915b3d

diff --git a/dev-lang/python/python-3.10.0.ebuild 
b/dev-lang/python/python-3.10.0_p1.ebuild
similarity index 99%
rename from dev-lang/python/python-3.10.0.ebuild
rename to dev-lang/python/python-3.10.0_p1.ebuild
index 016c5e8dd44..33025d94f31 100644
--- a/dev-lang/python/python-3.10.0.ebuild
+++ b/dev-lang/python/python-3.10.0_p1.ebuild
@@ -15,7 +15,7 @@ PATCHSET="python-gentoo-patches-${MY_PV}"
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="https://www.python.org/";
 SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~sam/distfiles/dev-lang/python/${PATCHSET}.tar.xz
+       https://dev.gentoo.org/~floppym/python/${PATCHSET}.tar.xz
        verify-sig? (
                https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
        )"

diff --git a/dev-lang/python/python-3.7.12.ebuild 
b/dev-lang/python/python-3.7.12_p1.ebuild
similarity index 99%
rename from dev-lang/python/python-3.7.12.ebuild
rename to dev-lang/python/python-3.7.12_p1.ebuild
index 710da1dda38..72a164d65e2 100644
--- a/dev-lang/python/python-3.7.12.ebuild
+++ b/dev-lang/python/python-3.7.12_p1.ebuild
@@ -14,7 +14,7 @@ PATCHSET="python-gentoo-patches-${PV}"
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="https://www.python.org/";
 SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+       https://dev.gentoo.org/~floppym/python/${PATCHSET}.tar.xz
        verify-sig? (
                https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
        )"

diff --git a/dev-lang/python/python-3.9.7.ebuild 
b/dev-lang/python/python-3.8.12_p1.ebuild
similarity index 96%
copy from dev-lang/python/python-3.9.7.ebuild
copy to dev-lang/python/python-3.8.12_p1.ebuild
index 27fbaaa34a5..4045557b20b 100644
--- a/dev-lang/python/python-3.9.7.ebuild
+++ b/dev-lang/python/python-3.8.12_p1.ebuild
@@ -4,7 +4,7 @@
 EAPI="7"
 WANT_LIBTOOL="none"
 
-inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
+inherit autotools flag-o-matic multiprocessing pax-utils \
        python-utils-r1 toolchain-funcs verify-sig
 
 MY_PV=${PV/_rc/rc}
@@ -15,7 +15,7 @@ PATCHSET="python-gentoo-patches-${MY_PV}"
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="https://www.python.org/";
 SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+       https://dev.gentoo.org/~floppym/python/${PATCHSET}.tar.xz
        verify-sig? (
                https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
        )"
@@ -64,17 +64,6 @@ RDEPEND+=" !build? ( app-misc/mime-types )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc
 
-# large file tests involve a 2.5G file being copied (duplicated)
-CHECKREQS_DISK_BUILD=5500M
-
-pkg_pretend() {
-       use test && check-reqs_pkg_pretend
-}
-
-pkg_setup() {
-       use test && check-reqs_pkg_setup
-}
-
 src_unpack() {
        if use verify-sig; then
                verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
@@ -281,6 +270,8 @@ src_install() {
        use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
        use tk || rm -r "${ED}/usr/bin/idle${PYVER}" 
"${libdir}/"{idlelib,tkinter,test/test_tk*} || die
 
+       use wininst || rm "${libdir}/distutils/command/"wininst-*.exe || die
+
        dodoc Misc/{ACKS,HISTORY,NEWS}
 
        if use examples; then

diff --git a/dev-lang/python/python-3.9.7.ebuild 
b/dev-lang/python/python-3.9.7_p1.ebuild
similarity index 99%
rename from dev-lang/python/python-3.9.7.ebuild
rename to dev-lang/python/python-3.9.7_p1.ebuild
index 27fbaaa34a5..48660ca14fd 100644
--- a/dev-lang/python/python-3.9.7.ebuild
+++ b/dev-lang/python/python-3.9.7_p1.ebuild
@@ -15,7 +15,7 @@ PATCHSET="python-gentoo-patches-${MY_PV}"
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="https://www.python.org/";
 SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
-       https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+       https://dev.gentoo.org/~floppym/python/${PATCHSET}.tar.xz
        verify-sig? (
                https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
        )"

Reply via email to