Commit a637a246 authored by antoine's avatar antoine
Browse files

Drop python 2.7 support from a few ports

With hat:	portmgr
parent 30151437
...@@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:accessibility/at-spi2-core ...@@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:accessibility/at-spi2-core
CONFLICTS= at-spi-1.[0-9]* CONFLICTS= at-spi-1.[0-9]*
PORTSCOUT= limitw:1,even PORTSCOUT= limitw:1,even
USES= gettext gmake gnome localbase pathfix pkgconfig python tar:xz USES= gettext gmake gnome localbase pathfix pkgconfig python:3.6+ tar:xz
USE_PYTHON= flavors py3kplist USE_PYTHON= flavors py3kplist
USE_GNOME= intlhack pygobject3 USE_GNOME= intlhack pygobject3
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
......
...@@ -14,7 +14,7 @@ COMMENT= Generic-purpose lossless compression algorithm ...@@ -14,7 +14,7 @@ COMMENT= Generic-purpose lossless compression algorithm
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++0x python shebangfix zip USES= compiler:c++0x python:3.6+ shebangfix zip
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
SHEBANG_FILES= python/bro.py SHEBANG_FILES= python/bro.py
......
...@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} ...@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum34>=1.0.4,<2.0:devel/py-enum34@${PY_FLAVOR} py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum34>=1.0.4,<2.0:devel/py-enum34@${PY_FLAVOR}
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
post-install: post-install:
......
...@@ -12,7 +12,7 @@ COMMENT= Read and write bzip2-compressed files ...@@ -12,7 +12,7 @@ COMMENT= Read and write bzip2-compressed files
LICENSE= APACHE20 LICENSE= APACHE20
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
NO_ARCH= yes NO_ARCH= yes
......
...@@ -18,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ...@@ -18,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
NO_ARCH= yes NO_ARCH= yes
......
...@@ -19,7 +19,7 @@ LIB_DEPENDS= liblz4.so:archivers/liblz4 ...@@ -19,7 +19,7 @@ LIB_DEPENDS= liblz4.so:archivers/liblz4
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python USES= python:3.6+
USE_PYTHON= distutils py3kplist USE_PYTHON= distutils py3kplist
post-install: post-install:
......
...@@ -15,7 +15,7 @@ LICENSE= LGPL21 ...@@ -15,7 +15,7 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
USES= dos2unix python USES= dos2unix python:3.6+
USE_PYTHON= concurrent distutils autoplist USE_PYTHON= concurrent distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
......
...@@ -12,7 +12,7 @@ COMMENT= LZ-based in-memory string compression ...@@ -12,7 +12,7 @@ COMMENT= LZ-based in-memory string compression
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
NO_ARCH= yes NO_ARCH= yes
......
...@@ -14,7 +14,7 @@ COMMENT= LHA(.lzh) file extract interface ...@@ -14,7 +14,7 @@ COMMENT= LHA(.lzh) file extract interface
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= python USES= python:3.6+
USE_PYTHON= distutils autoplist USE_PYTHON= distutils autoplist
post-install: post-install:
......
...@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING ...@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblzo2.so:archivers/lzo2 LIB_DEPENDS= liblzo2.so:archivers/lzo2
USES= localbase python USES= localbase python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
.include <bsd.port.mk> .include <bsd.port.mk>
...@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ...@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsnappy.so:archivers/snappy LIB_DEPENDS= libsnappy.so:archivers/snappy
USES= python USES= python:3.6+
USE_PYTHON= distutils autoplist USE_PYTHON= distutils autoplist
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
......
...@@ -13,7 +13,7 @@ COMMENT= Fast CSS minifier for Python ...@@ -13,7 +13,7 @@ COMMENT= Fast CSS minifier for Python
LICENSE= APACHE20 LICENSE= APACHE20
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
.include <bsd.port.mk> .include <bsd.port.mk>
...@@ -12,7 +12,7 @@ COMMENT= Fast javascript minifier for Python ...@@ -12,7 +12,7 @@ COMMENT= Fast javascript minifier for Python
LICENSE= APACHE20 LICENSE= APACHE20
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
.include <bsd.port.mk> .include <bsd.port.mk>
...@@ -14,6 +14,6 @@ LICENSE= MIT ...@@ -14,6 +14,6 @@ LICENSE= MIT
NO_ARCH= yes NO_ARCH= yes
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
USES= python USES= python:3.6+
.include <bsd.port.mk> .include <bsd.port.mk>
...@@ -13,7 +13,7 @@ COMMENT= Zopfli module for python ...@@ -13,7 +13,7 @@ COMMENT= Zopfli module for python
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
USES= python zip USES= python:3.6+ zip
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk> .include <bsd.port.mk>
...@@ -17,7 +17,7 @@ BROKEN_FreeBSD_12_powerpc64= fails to build: cffi.error.CDefError: parse error ...@@ -17,7 +17,7 @@ BROKEN_FreeBSD_12_powerpc64= fails to build: cffi.error.CDefError: parse error
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libzstd.so:archivers/zstd LIB_DEPENDS= libzstd.so:archivers/zstd
USES= localbase python USES= localbase python:3.6+
USE_PYTHON= distutils autoplist USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --system-zstd PYDISTUTILS_BUILDARGS= --system-zstd
......
...@@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE ...@@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libzstd.so:archivers/zstd LIB_DEPENDS= libzstd.so:archivers/zstd
USES= python localbase USES= python:3.6+ localbase
USE_PYTHON= distutils autoplist USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --external PYDISTUTILS_BUILDARGS= --external
......
...@@ -13,7 +13,7 @@ COMMENT= Compute positions of the planets and stars ...@@ -13,7 +13,7 @@ COMMENT= Compute positions of the planets and stars
LICENSE= LGPL3 LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
USES= python USES= python:3.6+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
post-install: post-install:
......
...@@ -15,7 +15,7 @@ LICENSE= MIT ...@@ -15,7 +15,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nltk>=0:textproc/py-nltk@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nltk>=0:textproc/py-nltk@${PY_FLAVOR}
USES= python USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes NO_ARCH= yes
......
...@@ -14,7 +14,7 @@ COMMENT= Parse METAR-coded weather reports ...@@ -14,7 +14,7 @@ COMMENT= Parse METAR-coded weather reports
LICENSE= BSD2CLAUSE LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes NO_ARCH= yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment