pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang python*: remove no-egg support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d43ef28bc03
branches:  trunk
changeset: 371687:8d43ef28bc03
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 12 08:49:01 2022 +0000

description:
python*: remove no-egg support

This was added in the pkgsrc stone age when pkgsrc had no egg support,
and then carried forward up to python 3.10. This ends now.

Bump PKGREVISION.

diffstat:

 lang/python27/Makefile                                        |   4 +-
 lang/python27/distinfo                                        |   3 +-
 lang/python27/patches/patch-Lib_distutils_command_install.py  |  17 -----------
 lang/python310/Makefile                                       |   4 +-
 lang/python310/distinfo                                       |   3 +-
 lang/python310/patches/patch-Lib_distutils_command_install.py |  12 -------
 lang/python37/Makefile                                        |   4 +-
 lang/python37/distinfo                                        |   3 +-
 lang/python37/patches/patch-Lib_distutils_command_install.py  |  12 -------
 lang/python38/Makefile                                        |   4 +-
 lang/python38/distinfo                                        |   3 +-
 lang/python38/patches/patch-Lib_distutils_command_install.py  |  12 -------
 lang/python39/Makefile                                        |   4 +-
 lang/python39/distinfo                                        |   3 +-
 14 files changed, 15 insertions(+), 73 deletions(-)

diffs (211 lines):

diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python27/Makefile
--- a/lang/python27/Makefile    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python27/Makefile    Wed Jan 12 08:49:01 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.96 2021/12/08 16:05:22 adam Exp $
+# $NetBSD: Makefile,v 1.97 2022/01/12 08:49:01 wiz Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python27-${PY_DISTVERSION}
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python27/distinfo
--- a/lang/python27/distinfo    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python27/distinfo    Wed Jan 12 08:49:01 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.87 2021/10/27 23:58:55 gutteridge Exp $
+$NetBSD: distinfo,v 1.88 2022/01/12 08:49:01 wiz Exp $
 
 BLAKE2s (Python-2.7.18.tar.xz) = 1b673ec8c9362a178e044691392bc4f67ad13457d7fddd84a88de346f23f9812
 SHA512 (Python-2.7.18.tar.xz) = a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c0274ff5401bda6fc21bf24337477ccac49e8026c5d651e4b4cafb5eb5086f6c
@@ -15,7 +15,6 @@
 SHA1 (patch-Lib_ctypes_test_test__parameters.py) = 8f8bb50515bc7e89ab59363b10af4d5391957eb7
 SHA1 (patch-Lib_ctypes_util.py) = 6fa516c7b43f08992427a0afcbe80c17bcc070f1
 SHA1 (patch-Lib_distutils_command_build__ext.py) = ea4feba4e93dbcff07050c82a00d591bb650e934
-SHA1 (patch-Lib_distutils_command_install.py) = e6aef090b444b455fe351308d251e670329b7dc3
 SHA1 (patch-Lib_distutils_command_install__egg__info.py) = ec7f9e0cd04489b1f6497c44d75bff6864ad1047
 SHA1 (patch-Lib_distutils_tests_test__build__ext.py) = 6b3c8c8d1d351836b239c049d34d132953bd4786
 SHA1 (patch-Lib_distutils_unixccompiler.py) = db16c9aca2f29730945f28247b88b18828739bbb
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python27/patches/patch-Lib_distutils_command_install.py
--- a/lang/python27/patches/patch-Lib_distutils_command_install.py      Wed Jan 12 08:42:26 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2018/06/17 19:21:21 adam Exp $
-
-Add a knob (enviroment variable) for disabling installation of egg metadata
-in extensions until we have infrastructure in place for dealing w/ it.
-
---- Lib/distutils/command/install.py.orig      2014-12-10 15:59:34.000000000 +0000
-+++ Lib/distutils/command/install.py
-@@ -666,7 +666,8 @@ class install (Command):
-                     ('install_headers', has_headers),
-                     ('install_scripts', has_scripts),
-                     ('install_data',    has_data),
--                    ('install_egg_info', lambda self:True),
-                    ]
-+    if not os.environ.has_key('PKGSRC_PYTHON_NO_EGG'):
-+        sub_commands += [('install_egg_info', lambda self:True),]
- 
- # class install
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python310/Makefile
--- a/lang/python310/Makefile   Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python310/Makefile   Wed Jan 12 08:49:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/12/30 15:18:11 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/12 08:49:01 wiz Exp $
 
-PKGREVISION= 3
+PKGREVISION= 4
 .include "dist.mk"
 
 PKGNAME=       python310-${PY_DISTVERSION}
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python310/distinfo
--- a/lang/python310/distinfo   Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python310/distinfo   Wed Jan 12 08:49:01 2022 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.8 2022/01/11 15:13:20 tnn Exp $
+$NetBSD: distinfo,v 1.9 2022/01/12 08:49:01 wiz Exp $
 
 BLAKE2s (Python-3.10.1.tar.xz) = a7004c16f0c40d927424d512cd5130cd2955315f50d804c289fc10d48f5a1d5c
 SHA512 (Python-3.10.1.tar.xz) = 1c559e33f1252e51bafb941c380de16f142c0735858363c84cb8dbed6767843de3af126889c2826ffb94bd4777d7cdfc31040301c8c74de56af52b80b1aa9e76
 Size (Python-3.10.1.tar.xz) = 18775460 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
-SHA1 (patch-Lib_distutils_command_install.py) = 2c73a416e07ff8532a002f2e3f7a44dc79d51186
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 8a91e8f4f86517a62408c3a10ed5eb50c4091fbf
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
 SHA1 (patch-Lib_sysconfig.py) = bc6d91bf8f7121456b26ea7f080f588c96f2596f
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python310/patches/patch-Lib_distutils_command_install.py
--- a/lang/python310/patches/patch-Lib_distutils_command_install.py     Wed Jan 12 08:42:26 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2021/10/05 19:07:13 adam Exp $
-
---- Lib/distutils/command/install.py.orig      2021-07-10 00:51:07.000000000 +0000
-+++ Lib/distutils/command/install.py
-@@ -675,5 +675,6 @@ class install(Command):
-                     ('install_headers', has_headers),
-                     ('install_scripts', has_scripts),
-                     ('install_data',    has_data),
--                    ('install_egg_info', lambda self:True),
-                    ]
-+    if not os.environ.get('PKGSRC_PYTHON_NO_EGG'):
-+        sub_commands += [('install_egg_info', lambda self:True),]
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python37/Makefile
--- a/lang/python37/Makefile    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python37/Makefile    Wed Jan 12 08:49:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2021/12/30 15:16:14 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/01/12 08:49:01 wiz Exp $
 
-PKGREVISION= 2
+PKGREVISION= 3
 .include "dist.mk"
 
 PKGNAME=       python37-${PY_DISTVERSION}
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python37/distinfo
--- a/lang/python37/distinfo    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python37/distinfo    Wed Jan 12 08:49:01 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2021/10/26 10:51:52 nia Exp $
+$NetBSD: distinfo,v 1.30 2022/01/12 08:49:01 wiz Exp $
 
 BLAKE2s (Python-3.7.12.tar.xz) = 74fece84e0ce91742bfcc2686d964158fe4d1f5c537e7be61e63d28d21efc495
 SHA512 (Python-3.7.12.tar.xz) = e1a5942908c1d1469c0ab129fb4287d4ba6eb2a030e88fd71c043fe187a1bc86c00878dab29147199617a361a0c60d9e720fe3bc58bc7bc4cc8ec4bb50c7ea2a
@@ -8,7 +8,6 @@
 SHA1 (patch-Lib_ctypes_macholib_dyld.py) = 267f0b39f116bc9df0b24c277b48ce59cfecd397
 SHA1 (patch-Lib_ctypes_test_test__macholib.py) = 76bb73619e5a27aa1009d4c65e3be1f69b9b6e91
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
-SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python37/patches/patch-Lib_distutils_command_install.py
--- a/lang/python37/patches/patch-Lib_distutils_command_install.py      Wed Jan 12 08:42:26 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2018/07/03 03:55:40 adam Exp $
-
---- Lib/distutils/command/install.py.orig      2016-12-23 02:21:19.000000000 +0000
-+++ Lib/distutils/command/install.py
-@@ -652,5 +652,6 @@ class install(Command):
-                     ('install_headers', has_headers),
-                     ('install_scripts', has_scripts),
-                     ('install_data',    has_data),
--                    ('install_egg_info', lambda self:True),
-                    ]
-+    if not os.environ.get('PKGSRC_PYTHON_NO_EGG'):
-+        sub_commands += [('install_egg_info', lambda self:True),]
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python38/Makefile
--- a/lang/python38/Makefile    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python38/Makefile    Wed Jan 12 08:49:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2021/12/30 15:12:57 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2022/01/12 08:49:01 wiz Exp $
 
-PKGREVISION= 2
+PKGREVISION= 3
 .include "dist.mk"
 
 PKGNAME=       python38-${PY_DISTVERSION}
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python38/distinfo
--- a/lang/python38/distinfo    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python38/distinfo    Wed Jan 12 08:49:01 2022 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.24 2021/10/26 10:51:52 nia Exp $
+$NetBSD: distinfo,v 1.25 2022/01/12 08:49:01 wiz Exp $
 
 BLAKE2s (Python-3.8.12.tar.xz) = f8a4544d78160cb58e9da8b3624bda7e7e0c0c90df702ac309fe3f6f768bcf89
 SHA512 (Python-3.8.12.tar.xz) = 2f93fe5ff83f470c7b6a1b7f29f499a2a010fabd649e9fe65ad3fbfa21b6e1966e77c9b7ac012d978159bc3fe63fec2d64bc6982fc2ee1714d3fa0e47631f279
 Size (Python-3.8.12.tar.xz) = 18443568 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
-SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python38/patches/patch-Lib_distutils_command_install.py
--- a/lang/python38/patches/patch-Lib_distutils_command_install.py      Wed Jan 12 08:42:26 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2019/10/15 16:50:11 adam Exp $
-
---- Lib/distutils/command/install.py.orig      2016-12-23 02:21:19.000000000 +0000
-+++ Lib/distutils/command/install.py
-@@ -652,5 +652,6 @@ class install(Command):
-                     ('install_headers', has_headers),
-                     ('install_scripts', has_scripts),
-                     ('install_data',    has_data),
--                    ('install_egg_info', lambda self:True),
-                    ]
-+    if not os.environ.get('PKGSRC_PYTHON_NO_EGG'):
-+        sub_commands += [('install_egg_info', lambda self:True),]
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python39/Makefile
--- a/lang/python39/Makefile    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python39/Makefile    Wed Jan 12 08:49:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2021/12/30 15:08:35 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/01/12 08:49:01 wiz Exp $
 
-PKGREVISION= 2
+PKGREVISION= 3
 .include "dist.mk"
 
 PKGNAME=       python39-${PY_DISTVERSION}
diff -r 77a6d8bd2751 -r 8d43ef28bc03 lang/python39/distinfo
--- a/lang/python39/distinfo    Wed Jan 12 08:42:26 2022 +0000
+++ b/lang/python39/distinfo    Wed Jan 12 08:49:01 2022 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.20 2022/01/11 15:13:20 tnn Exp $
+$NetBSD: distinfo,v 1.21 2022/01/12 08:49:01 wiz Exp $
 
 BLAKE2s (Python-3.9.9.tar.xz) = bb0cf5c1cb3212d82b69ab4e965f03b77736610c84bd032f31a5debdd25e6a30
 SHA512 (Python-3.9.9.tar.xz) = 0ab29fb9a7ecb808bd08d84d28908d5a934e0f021853da0f7a9c94670eb30c8dbbc233d461afdb3995b0de59275ef7e1de43e82d7f848802cbd6e6e50b7b25a6
 Size (Python-3.9.9.tar.xz) = 19144372 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
-SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
 SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2



Home | Main Index | Thread Index | Old Index