mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Remove python 2.7 support from a few ports
This commit is contained in:
parent
372b15d95a
commit
68ee054688
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559997
@ -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
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Fast, lightweight source control management system
|
||||
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
|
||||
|
||||
|
@ -11,7 +11,7 @@ COMMENT= Shared namespace shim for py-backports.* ports
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= flavors py3kplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -20,7 +20,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \
|
||||
${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
|
||||
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
||||
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
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= wg@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>
|
||||
|
@ -14,7 +14,7 @@ COMMENT= Library for displaying tabular data in an ASCII table format
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.4.1:devel/py-pyasn1@${PY_FLAVOR}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= python shebangfix
|
||||
USES= python:3.6+ shebangfix
|
||||
SHEBANG_FILES= tools/*.py
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
|
@ -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
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Highly flexible, no magic input validation library
|
||||
LICENSE= MIT
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,7 +24,7 @@ SIGNATURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dirspec>=13.05:devel/py-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>
|
||||
|
@ -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:
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
@ -12,7 +12,7 @@ COMMENT= Fast implementation of the Cassowary constraint solver
|
||||
|
||||
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>
|
||||
|
@ -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//
|
||||
|
@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1@${PY_FLAVOR} \
|
||||
${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
|
||||
|
@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \
|
||||
${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:
|
||||
|
@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR
|
||||
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
|
||||
|
@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi@${PY_FLAVOR} \
|
||||
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
|
||||
|
@ -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:devel/py-babel@${PY_FLAVOR}
|
||||
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>
|
||||
|
@ -21,7 +21,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
||||
${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
|
||||
|
@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
|
||||
|
||||
RUN_DEPENDS= ${PY_SPHINX}
|
||||
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Reading data and formatting information from Excel files
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user