svn commit: r560874 - in head: devel/py-cffi devel/py-click devel/py-incremental devel/py-packaging devel/py-pathlib2 devel/py-pip devel/py-pyparsing devel/py-virtualenv dns/py-idna graphics/py-ima...
Antoine Brodin
antoine at FreeBSD.org
Sat Jan 9 16:34:13 UTC 2021
Author: antoine
Date: Sat Jan 9 16:34:07 2021
New Revision: 560874
URL: https://svnweb.freebsd.org/changeset/ports/560874
Log:
Remove python 2.7 support from a few ports
Modified:
head/devel/py-cffi/Makefile
head/devel/py-click/Makefile
head/devel/py-incremental/Makefile
head/devel/py-packaging/Makefile
head/devel/py-pathlib2/Makefile
head/devel/py-pip/Makefile
head/devel/py-pyparsing/Makefile
head/devel/py-virtualenv/Makefile
head/dns/py-idna/Makefile
head/graphics/py-imagesize/Makefile
head/net/py-pysocks/Makefile
head/net/py-urllib3/Makefile
head/security/py-certifi/Makefile
head/security/py-cryptography/Makefile
head/security/py-openssl/Makefile
head/sysutils/py-scandir/Makefile
head/textproc/py-alabaster/Makefile
head/textproc/py-chardet/Makefile
head/textproc/py-docutils/Makefile
head/textproc/py-pypa-docs-theme/Makefile
head/textproc/py-pystemmer/Makefile
head/textproc/py-python-docs-theme/Makefile
head/textproc/py-snowballstemmer/Makefile
head/textproc/py-sphinx18/Makefile
head/textproc/py-sphinx_rtd_theme/Makefile
head/textproc/py-sphinxcontrib-websupport11/Makefile
head/textproc/py-towncrier/Makefile
head/www/py-requests/Makefile
Modified: head/devel/py-cffi/Makefile
==============================================================================
--- head/devel/py-cffi/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-cffi/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -17,7 +17,7 @@ LIB_DEPENDS= libffi.so:devel/libffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:devel/py-pycparser@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= compiler:c11 localbase python
+USES= compiler:c11 localbase python:3.6+
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.pre.mk>
Modified: head/devel/py-click/Makefile
==============================================================================
--- head/devel/py-click/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-click/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
Modified: head/devel/py-incremental/Makefile
==============================================================================
--- head/devel/py-incremental/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-incremental/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -14,7 +14,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
Modified: head/devel/py-packaging/Makefile
==============================================================================
--- head/devel/py-packaging/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-packaging/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -17,7 +17,7 @@ LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.2:devel/py-pyparsing@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/devel/py-pathlib2/Makefile
==============================================================================
--- head/devel/py-pathlib2/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-pathlib2/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -15,19 +15,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}scandir>=0:sysutils/py-scandir@${PY_FLAVOR}
-.endif
-
do-test:
@(cd ${WRKSRC} && \
${PYTHON_CMD} test_pathlib2.py && \
${PYTHON_CMD} test_pathlib2_with_py2_unicode_literals.py)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/py-pip/Makefile
==============================================================================
--- head/devel/py-pip/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-pip/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -41,7 +41,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:s
git:devel/git \
svn:devel/subversion
-USES= python shebangfix
+USES= python:3.6+ shebangfix
USE_PYTHON= autoplist concurrent distutils
MAKE_ENV= PYTHONPATH=${WRKSRC}/src/
Modified: head/devel/py-pyparsing/Makefile
==============================================================================
--- head/devel/py-pyparsing/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-pyparsing/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ COMMENT= General parsing module for Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/devel/py-virtualenv/Makefile
==============================================================================
--- head/devel/py-virtualenv/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/devel/py-virtualenv/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -17,9 +17,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py
DOCS_BUILD_DEPENDS= ${PY_SPHINX} \
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}towncrier>0:textproc/py-towncrier@${PY_FLAVOR}
-.if ${FLAVOR:U:Mpy27}
-DOCS_BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
-.endif
DOCS_BINARY_ALIAS= towncrier=towncrier-${PYTHON_VER}
DOCS_PORTDOCS= *
DOCS_VARS= PYDISTUTILS_BUILD_TARGET="build build_sphinx"
@@ -37,7 +34,7 @@ OPTIONS_DEFINE= DOCS
PYDISTUTILS_BUILDARGS= -c ${WRKSRC}/docs
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
Modified: head/dns/py-idna/Makefile
==============================================================================
--- head/dns/py-idna/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/dns/py-idna/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE PSFL
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-USES= python # Actually, 2.7,3.4-3.8
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/graphics/py-imagesize/Makefile
==============================================================================
--- head/graphics/py-imagesize/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/graphics/py-imagesize/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ COMMENT= Python image size library
LICENSE= MIT
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
Modified: head/net/py-pysocks/Makefile
==============================================================================
--- head/net/py-pysocks/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/net/py-pysocks/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -14,7 +14,7 @@ COMMENT= Python SOCKS module
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/net/py-urllib3/Makefile
==============================================================================
--- head/net/py-urllib3/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/net/py-urllib3/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -25,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:deve
${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/security/py-certifi/Makefile
==============================================================================
--- head/security/py-certifi/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/security/py-certifi/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -12,7 +12,7 @@ COMMENT= Mozilla SSL certificates
LICENSE= MPL20
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/security/py-cryptography/Makefile
==============================================================================
--- head/security/py-cryptography/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/security/py-cryptography/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -28,7 +28,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vect
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
# Python 2.7, 3.5-3.8
-USES= compiler:env python ssl
+USES= compiler:env python:3.6+ ssl
USE_PYTHON= autoplist concurrent distutils
CFLAGS+= -I${OPENSSLINC}
Modified: head/security/py-openssl/Makefile
==============================================================================
--- head/security/py-openssl/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/security/py-openssl/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -21,7 +21,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:dev
${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-USES= cpe python
+USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils pythonprefix
NO_ARCH= yes
Modified: head/sysutils/py-scandir/Makefile
==============================================================================
--- head/sysutils/py-scandir/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/sysutils/py-scandir/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -14,7 +14,7 @@ COMMENT= Fast and featureful directory iterator
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_LOCALE= en_US.UTF-8
Modified: head/textproc/py-alabaster/Makefile
==============================================================================
--- head/textproc/py-alabaster/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-alabaster/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -12,7 +12,7 @@ COMMENT= Modified Kr Sphinx theme
LICENSE= MIT
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
Modified: head/textproc/py-chardet/Makefile
==============================================================================
--- head/textproc/py-chardet/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-chardet/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -19,7 +19,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:d
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
do-test:
Modified: head/textproc/py-docutils/Makefile
==============================================================================
--- head/textproc/py-docutils/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-docutils/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ COMMENT= Python Documentation Utilities
LICENSE= BSD2CLAUSE GPLv3+ PD PSFL
LICENSE_COMB= multi
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/textproc/py-pypa-docs-theme/Makefile
==============================================================================
--- head/textproc/py-pypa-docs-theme/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-pypa-docs-theme/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-docs-theme>=0:textproc/py-python-docs-theme@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= pypa
Modified: head/textproc/py-pystemmer/Makefile
==============================================================================
--- head/textproc/py-pystemmer/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-pystemmer/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -15,7 +15,7 @@ COMMENT= Snowball Stemming Algorithms for Information
LICENSE= MIT BSD3CLAUSE
LICENSE_COMB= dual
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist cython distutils
post-install:
Modified: head/textproc/py-python-docs-theme/Makefile
==============================================================================
--- head/textproc/py-python-docs-theme/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-python-docs-theme/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -12,7 +12,7 @@ COMMENT= Sphinx theme for the CPython docs and related
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
Modified: head/textproc/py-snowballstemmer/Makefile
==============================================================================
--- head/textproc/py-snowballstemmer/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-snowballstemmer/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -11,7 +11,7 @@ COMMENT= Snowball stemming library collection for Pyth
LICENSE= BSD2CLAUSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
Modified: head/textproc/py-sphinx18/Makefile
==============================================================================
--- head/textproc/py-sphinx18/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-sphinx18/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -44,7 +44,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/p
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils concurrent
CONFLICTS_INSTALL= py*-sphinx
Modified: head/textproc/py-sphinx_rtd_theme/Makefile
==============================================================================
--- head/textproc/py-sphinx_rtd_theme/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-sphinx_rtd_theme/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
Modified: head/textproc/py-sphinxcontrib-websupport11/Makefile
==============================================================================
--- head/textproc/py-sphinxcontrib-websupport11/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-sphinxcontrib-websupport11/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -13,7 +13,7 @@ COMMENT= Sphinx API for Web Apps
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/textproc/py-towncrier/Makefile
==============================================================================
--- head/textproc/py-towncrier/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/textproc/py-towncrier/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py
${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
.include <bsd.port.mk>
Modified: head/www/py-requests/Makefile
==============================================================================
--- head/www/py-requests/Makefile Sat Jan 9 16:20:25 2021 (r560873)
+++ head/www/py-requests/Makefile Sat Jan 9 16:34:07 2021 (r560874)
@@ -22,8 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:dev
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=2.8.0:devel/py-pytest@${PY_FLAVOR}
-# Actually 2.7,3.5+
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
More information about the svn-ports-all
mailing list