svn commit: r559997 - in head: devel/boost-python-libs devel/mercurial devel/py-backports devel/py-capstone devel/py-cycler devel/py-dateutil devel/py-lxml devel/py-olefile devel/py-polib devel/py-...
Antoine Brodin
antoine at FreeBSD.org
Sun Jan 3 09:11:58 UTC 2021
Author: antoine
Date: Sun Jan 3 09:11:52 2021
New Revision: 559997
URL: https://svnweb.freebsd.org/changeset/ports/559997
Log:
Remove python 2.7 support from a few ports
Modified:
head/devel/boost-python-libs/Makefile
head/devel/mercurial/Makefile
head/devel/py-backports/Makefile
head/devel/py-capstone/Makefile
head/devel/py-cycler/Makefile
head/devel/py-dateutil/Makefile
head/devel/py-lxml/Makefile
head/devel/py-olefile/Makefile
head/devel/py-polib/Makefile
head/devel/py-prettytable0/Makefile
head/devel/py-pyasn1-modules/Makefile
head/devel/py-pyasn1/Makefile
head/devel/py-pycerberus/Makefile
head/devel/py-wheel/Makefile
head/devel/pydbus-common/Makefile
head/devel/pygobject3-common/Makefile
head/graphics/py-cairo/Makefile
head/math/py-kiwisolver/Makefile
head/math/py-numpy/Makefile
head/net/py-ldap/Makefile
head/security/py-bcrypt/Makefile
head/security/py-paramiko/Makefile
head/security/py-pynacl/Makefile
head/textproc/py-genshi/Makefile
head/textproc/py-markdown/Makefile
head/textproc/py-sphinxcontrib-adadomain/Makefile
head/textproc/py-xlrd/Makefile
Modified: head/devel/boost-python-libs/Makefile
==============================================================================
--- head/devel/boost-python-libs/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/boost-python-libs/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -11,7 +11,7 @@ BUILD_DEPENDS= bjam:devel/boost-jam \
${PYNUMPY}
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= python
+USES= python:3.6+
USE_PYTHON= flavors
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS
Modified: head/devel/mercurial/Makefile
==============================================================================
--- head/devel/mercurial/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/mercurial/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= Fast, lightweight source control management s
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cpe python shebangfix
+USES= cpe python:3.6+ shebangfix
SHEBANG_FILES= contrib/hgweb.fcgi hgweb.cgi
USE_PYTHON= autoplist distutils
Modified: head/devel/py-backports/Makefile
==============================================================================
--- head/devel/py-backports/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-backports/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -11,7 +11,7 @@ COMMENT= Shared namespace shim for py-backports.* port
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_PYTHON= flavors py3kplist
NO_ARCH= yes
Modified: head/devel/py-capstone/Makefile
==============================================================================
--- head/devel/py-capstone/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-capstone/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libcapstone.so:devel/capstone4
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
MAKE_ENV+= LIBCAPSTONE_PATH= # Prevent bundled libcapstone from being built
Modified: head/devel/py-cycler/Makefile
==============================================================================
--- head/devel/py-cycler/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-cycler/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
Modified: head/devel/py-dateutil/Makefile
==============================================================================
--- head/devel/py-dateutil/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-dateutil/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -20,7 +20,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel
${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_LOCALE= en_US.UTF-8
USE_PYTHON= autoplist distutils
Modified: head/devel/py-lxml/Makefile
==============================================================================
--- head/devel/py-lxml/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-lxml/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= Pythonic binding for the libxml2 and libxslt
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt
-USES= compiler gnome python uniquefiles:dirs
+USES= compiler gnome python:3.6+ uniquefiles:dirs
USE_GNOME= libxml2 libxslt
USE_PYTHON= autoplist concurrent distutils
Modified: head/devel/py-olefile/Makefile
==============================================================================
--- head/devel/py-olefile/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-olefile/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -15,7 +15,7 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
Modified: head/devel/py-polib/Makefile
==============================================================================
--- head/devel/py-polib/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-polib/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg at FreeBSD.org
COMMENT= Python library to parse and manage gettext catalogs
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
Modified: head/devel/py-prettytable0/Makefile
==============================================================================
--- head/devel/py-prettytable0/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-prettytable0/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -14,7 +14,7 @@ COMMENT= Library for displaying tabular data in an ASC
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/devel/py-pyasn1-modules/Makefile
==============================================================================
--- head/devel/py-pyasn1-modules/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-pyasn1-modules/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.4.1:deve
OPTIONS_DEFINE= DOCS
-USES= python shebangfix
+USES= python:3.6+ shebangfix
SHEBANG_FILES= tools/*.py
USE_PYTHON= autoplist concurrent distutils
Modified: head/devel/py-pyasn1/Makefile
==============================================================================
--- head/devel/py-pyasn1/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-pyasn1/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= ASN.1 toolkit for Python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
Modified: head/devel/py-pycerberus/Makefile
==============================================================================
--- head/devel/py-pycerberus/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-pycerberus/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= Highly flexible, no magic input validation li
LICENSE= MIT
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
Modified: head/devel/py-wheel/Makefile
==============================================================================
--- head/devel/py-wheel/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/py-wheel/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -24,7 +24,7 @@ SIGNATURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dirspec>
${PYTHON_PKGNAMEPREFIX}keyring>=1.3:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>=0.25:devel/py-xdg@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
.include <bsd.port.mk>
Modified: head/devel/pydbus-common/Makefile
==============================================================================
--- head/devel/pydbus-common/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/pydbus-common/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -65,7 +65,7 @@ do-install-HTMLDOCS-on:
LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib
RUN_DEPENDS+= pydbus-common>=0:devel/pydbus-common
USE_LDCONFIG= yes
-USES+= python
+USES+= python:3.6+
USE_PYTHON= flavors py3kplist
post-install:
Modified: head/devel/pygobject3-common/Makefile
==============================================================================
--- head/devel/pygobject3-common/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/devel/pygobject3-common/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -56,7 +56,7 @@ LIB_DEPENDS+= libffi.so:devel/libffi
RUN_DEPENDS+= pygobject3-common>=0:devel/pygobject3-common
.if ${SLAVE_PORT} == python
-USES+= python
+USES+= python:3.6+
USE_PYTHON= flavors py3kplist
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
Modified: head/graphics/py-cairo/Makefile
==============================================================================
--- head/graphics/py-cairo/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/graphics/py-cairo/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -20,7 +20,7 @@ LICENSE_FILE_MPL11= ${WRKSRC}/COPYING-MPL-1.1
PORTSCOUT= limitw:1,even
-USES= compiler:c11 gnome pkgconfig python
+USES= compiler:c11 gnome pkgconfig python:3.6+
USE_PYTHON= distutils py3kplist
USE_GNOME= cairo
Modified: head/math/py-kiwisolver/Makefile
==============================================================================
--- head/math/py-kiwisolver/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/math/py-kiwisolver/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -12,7 +12,7 @@ COMMENT= Fast implementation of the Cassowary constrai
LICENSE= BSD3CLAUSE
-USES= compiler:c++11-lang python
+USES= compiler:c++11-lang python:3.6+
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>
Modified: head/math/py-numpy/Makefile
==============================================================================
--- head/math/py-numpy/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/math/py-numpy/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -21,7 +21,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= compiler:c11 fortran python zip
+USES= compiler:c11 fortran python:3.6+ zip
USE_PYTHON= allflavors autoplist concurrent cython distutils
GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
Modified: head/net/py-ldap/Makefile
==============================================================================
--- head/net/py-ldap/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/net/py-ldap/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${PY_FLAVOR}
CONFLICTS_INSTALL= py27-pyldap
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
USE_OPENLDAP= yes
WANT_OPENLDAP_VER= 24
Modified: head/security/py-bcrypt/Makefile
==============================================================================
--- head/security/py-bcrypt/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/security/py-bcrypt/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/
${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
do-test:
Modified: head/security/py-paramiko/Makefile
==============================================================================
--- head/security/py-paramiko/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/security/py-paramiko/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:secu
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}paramiko1
Modified: head/security/py-pynacl/Makefile
==============================================================================
--- head/security/py-pynacl/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/security/py-pynacl/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.27.0:devel/py-hypothesis@${PY_FLAVOR}
-USES= python localbase
+USES= python:3.6+ localbase
USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= BUNDLED_NACL
Modified: head/textproc/py-genshi/Makefile
==============================================================================
--- head/textproc/py-genshi/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/textproc/py-genshi/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= Toolkit for generation of output for the web
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= BABEL
@@ -24,13 +24,6 @@ BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.8:d
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} < 3.3
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/genshi/*.so
-.else
NO_ARCH= yes
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/textproc/py-markdown/Makefile
==============================================================================
--- head/textproc/py-markdown/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/textproc/py-markdown/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -21,7 +21,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-n
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
Modified: head/textproc/py-sphinxcontrib-adadomain/Makefile
==============================================================================
--- head/textproc/py-sphinxcontrib-adadomain/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/textproc/py-sphinxcontrib-adadomain/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PY_SPHINX}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
Modified: head/textproc/py-xlrd/Makefile
==============================================================================
--- head/textproc/py-xlrd/Makefile Sun Jan 3 08:46:19 2021 (r559996)
+++ head/textproc/py-xlrd/Makefile Sun Jan 3 09:11:52 2021 (r559997)
@@ -13,7 +13,7 @@ COMMENT= Reading data and formatting information from
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
More information about the svn-ports-all
mailing list