From 10cf1697eff1421007ce14cfc32260879567ae1f Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 29 Dec 2020 13:21:37 +0000 Subject: [PATCH] Drop python 2.7 support from a few ports --- devel/py-colorama/Makefile | 2 +- devel/py-fudge/Makefile | 2 +- devel/py-game/Makefile | 2 +- devel/py-nose/Makefile | 2 +- devel/py-pbr/Makefile | 2 +- devel/py-pinocchio/Makefile | 2 +- devel/py-repoze.lru/Makefile | 2 +- devel/py-wsgiutils/Makefile | 2 +- security/py-pycrypto/Makefile | 2 +- textproc/py-cloud_sptheme/Makefile | 2 +- textproc/py-libxml2/Makefile | 2 +- textproc/py-sphinxcontrib-fulltoc/Makefile | 2 +- www/py-flup6/Makefile | 2 +- www/py-paste/Makefile | 2 +- www/py-pastedeploy/Makefile | 2 +- www/py-routes/Makefile | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/devel/py-colorama/Makefile b/devel/py-colorama/Makefile index 2ff546982610..482b369a5506 100644 --- a/devel/py-colorama/Makefile +++ b/devel/py-colorama/Makefile @@ -13,7 +13,7 @@ COMMENT= Cross-platform API to print colored terminal text from Python apps LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/devel/py-fudge/Makefile b/devel/py-fudge/Makefile index 8f4d182c1cf5..747272393bdd 100644 --- a/devel/py-fudge/Makefile +++ b/devel/py-fudge/Makefile @@ -12,7 +12,7 @@ COMMENT= Python module for using fake objects to test real ones LICENSE= MIT -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile index cda8a3061e8c..29b8b7543684 100644 --- a/devel/py-game/Makefile +++ b/devel/py-game/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \ RUN_DEPENDS= ${PYNUMPY} \ v4l_compat>0:multimedia/v4l_compat -USES= compiler:c11 jpeg pkgconfig python sdl xorg +USES= compiler:c11 jpeg pkgconfig python:3.6+ sdl xorg USE_SDL= sdl2 ttf2 image2 mixer2 USE_PYTHON= autoplist distutils USE_XORG= x11 diff --git a/devel/py-nose/Makefile b/devel/py-nose/Makefile index 2dde7352204b..98efc7105c8b 100644 --- a/devel/py-nose/Makefile +++ b/devel/py-nose/Makefile @@ -14,7 +14,7 @@ COMMENT= Discovery-based unittest extension LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/lgpl.txt -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils .include diff --git a/devel/py-pbr/Makefile b/devel/py-pbr/Makefile index 5a4983d7a34c..29e0379b26a1 100644 --- a/devel/py-pbr/Makefile +++ b/devel/py-pbr/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} -USES= python shebangfix +USES= python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= pbr/tests/testpackage/setup.py diff --git a/devel/py-pinocchio/Makefile b/devel/py-pinocchio/Makefile index 3fadbf7c8432..9b1646cffee9 100644 --- a/devel/py-pinocchio/Makefile +++ b/devel/py-pinocchio/Makefile @@ -14,7 +14,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} NO_ARCH= yes -USES= python +USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/devel/py-repoze.lru/Makefile b/devel/py-repoze.lru/Makefile index 3deeae54c271..12e79a2ca10f 100644 --- a/devel/py-repoze.lru/Makefile +++ b/devel/py-repoze.lru/Makefile @@ -15,7 +15,7 @@ LICENSE_NAME= Repoze Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/devel/py-wsgiutils/Makefile b/devel/py-wsgiutils/Makefile index dd50756a390b..66bd0128153a 100644 --- a/devel/py-wsgiutils/Makefile +++ b/devel/py-wsgiutils/Makefile @@ -14,7 +14,7 @@ COMMENT= Utility libraries for development of simple WSGI programs LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/security/py-pycrypto/Makefile b/security/py-pycrypto/Makefile index 07a63cc03939..6a72ceecf7b4 100644 --- a/security/py-pycrypto/Makefile +++ b/security/py-pycrypto/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pycryptodome-* -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist GNU_CONFIGURE= yes diff --git a/textproc/py-cloud_sptheme/Makefile b/textproc/py-cloud_sptheme/Makefile index 1adf71a06443..5530ef3ff858 100644 --- a/textproc/py-cloud_sptheme/Makefile +++ b/textproc/py-cloud_sptheme/Makefile @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PY_SPHINX} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-fulltoc>=1.1:textproc/py-sphinxcontrib-fulltoc@${PY_FLAVOR} -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index c2841e263a35..155a2fdc9c01 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -14,7 +14,7 @@ DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist USE_GNOME= libxml2 -USES= gettext-runtime gnome python +USES= gettext-runtime gnome python:3.6+ USE_PYTHON= autoplist distutils CPPFLAGS+= `${PYTHON_CMD}-config --cflags` diff --git a/textproc/py-sphinxcontrib-fulltoc/Makefile b/textproc/py-sphinxcontrib-fulltoc/Makefile index 411840361529..30d199aacba7 100644 --- a/textproc/py-sphinxcontrib-fulltoc/Makefile +++ b/textproc/py-sphinxcontrib-fulltoc/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8.1:devel/py-pbr@${PY_FLAVOR} RUN_DEPENDS= ${PY_SPHINX} -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/www/py-flup6/Makefile b/www/py-flup6/Makefile index a7c9ef4d6fbb..b01c50ef4a44 100644 --- a/www/py-flup6/Makefile +++ b/www/py-flup6/Makefile @@ -11,7 +11,7 @@ COMMENT= Random assortment of WSGI servers LICENSE= BSD2CLAUSE -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/www/py-paste/Makefile b/www/py-paste/Makefile index 1e9919eb83ab..cded6651f9df 100644 --- a/www/py-paste/Makefile +++ b/www/py-paste/Makefile @@ -20,7 +20,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes diff --git a/www/py-pastedeploy/Makefile b/www/py-pastedeploy/Makefile index e7f687f51f63..9ede80a6c192 100644 --- a/www/py-pastedeploy/Makefile +++ b/www/py-pastedeploy/Makefile @@ -15,7 +15,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.6:www/py-paste@${PY_FLAVOR} -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/www/py-routes/Makefile b/www/py-routes/Makefile index 54cd849da4ce..06d39c6f2206 100644 --- a/www/py-routes/Makefile +++ b/www/py-routes/Makefile @@ -16,7 +16,7 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.lru>=0.3:devel/py-repoze.lru@${PY_FLAVOR} -USES= python +USES= python:3.6+ USE_PYTHON= autoplist distutils .include