pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Python 2 fade-out
On Wed, May 08, 2024 at 01:18:52PM -0400, Greg Troxel wrote:
> Greg Troxel <gdt%lexort.com@localhost> writes:
>
> > I've just applied this to my tree and will continue pkg_rr as updates
> > happen and see what breaks. I'll also try to build unifi, pinenty,
> > rdiff-backup after removing everything that only it needs (pkgin ar).
>
> There is breakage; various things that need to have 27 versions don't
> say so because their upstreams apparently simply support both. However,
> adding 27 back to those is easy and seems to work.
>
> New diff, missing doc comments.
>
> With this, the newly-added bulk-test-python27 passes. The list of
> things known to matter for 27 is:
>
> DEPENDS+= getmail<6:../../mail/getmail
> DEPENDS+= gimp-[0-9]*:../../graphics/gimp
> DEPENDS+= mailman<3:../../mail/mailman
> # omit for now: broken for boost reasons, not py27
> #DEPENDS+= mongodb-[0-9]*:../../databases/mongodb3
> DEPENDS+= rdiff-backup-[0-9]*:../../sysutils/rdiff-backup
>
> Please let me know if I left something out.
I've also had to mark py-ecdsa (via py-dns1 from mailman).
Thomas
Index: lang/py-six/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/py-six/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- lang/py-six/Makefile 30 Apr 2023 19:40:20 -0000 1.21
+++ lang/py-six/Makefile 9 May 2024 09:17:47 -0000
@@ -15,6 +15,7 @@
PYSETUPTESTTARGET= pytest
+PYTHON_27_ACCEPTED= yes
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} > 300
Index: lang/python/pyversion.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python/pyversion.mk,v
retrieving revision 1.157
diff -u -r1.157 pyversion.mk
--- lang/python/pyversion.mk 7 Nov 2023 11:36:57 -0000 1.157
+++ lang/python/pyversion.mk 9 May 2024 09:17:47 -0000
@@ -31,7 +31,7 @@
# preferred over later ones.
#
# Possible values: 312 311 310 39 38 27
-# Default: 312 311 310 39 38 27
+# Default: 312 311 310 39 38
#
# PYTHON_VERSIONS_INCOMPATIBLE
# The Python versions that are NOT acceptable for the package.
@@ -107,7 +107,10 @@
.else
PYTHON_VERSION_DEFAULT?= 310
.endif
-PYTHON_VERSIONS_ACCEPTED?= 312 311 310 39 38 27
+PYTHON_VERSIONS_ACCEPTED?= 312 311 310 39 38
+.if defined(PYTHON_27_ACCEPTED)
+PYTHON_VERSIONS_ACCEPTED+= 27
+.endif
PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default
# transform the list into individual variables
Index: security/py-cryptodome/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/py-cryptodome/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- security/py-cryptodome/Makefile 12 Jan 2024 13:15:47 -0000 1.53
+++ security/py-cryptodome/Makefile 9 May 2024 09:18:04 -0000
@@ -18,6 +18,7 @@
CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh
+PYTHON_27_ACCEPTED= yes
.include "../../lang/python/egg.mk"
# Python 3 builds of this package get an extra "abi3" suffix added
Index: security/py-ecdsa/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/py-ecdsa/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- security/py-ecdsa/Makefile 10 Apr 2024 11:16:20 -0000 1.16
+++ security/py-ecdsa/Makefile 9 May 2024 09:18:04 -0000
@@ -15,6 +15,8 @@
USE_LANGUAGES= # none
+PYTHON_27_ACCEPTED= yes
+
do-test:
cd ${WRKSRC}/src && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
Home |
Main Index |
Thread Index |
Old Index