Index: head/devel/py-cffi/Makefile =================================================================== --- head/devel/py-cffi/Makefile (revision 560873) +++ head/devel/py-cffi/Makefile (revision 560874) @@ -1,36 +1,36 @@ # Created by: William Grzybowski # $FreeBSD$ PORTNAME= cffi PORTVERSION= 1.14.4 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Foreign Function Interface for Python calling C code LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE 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 .if ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-shift-negative-value .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend*.so do-test: cd ${TEST_WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_ext -i cd ${TEST_WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include Index: head/devel/py-click/Makefile =================================================================== --- head/devel/py-click/Makefile (revision 560873) +++ head/devel/py-click/Makefile (revision 560874) @@ -1,26 +1,26 @@ # Created by: Bartek Rutkowski # $FreeBSD$ PORTNAME= click PORTVERSION= 7.1.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= robak@FreeBSD.org COMMENT= Python package for creating command line interfaces LICENSE= BSD3CLAUSE 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 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -p no:warnings .include Index: head/devel/py-incremental/Makefile =================================================================== --- head/devel/py-incremental/Makefile (revision 560873) +++ head/devel/py-incremental/Makefile (revision 560874) @@ -1,20 +1,20 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= incremental PORTVERSION= 17.5.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library that versions your Python projects LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NO_ARCH= yes -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist .include Index: head/devel/py-packaging/Makefile =================================================================== --- head/devel/py-packaging/Makefile (revision 560873) +++ head/devel/py-packaging/Makefile (revision 560874) @@ -1,25 +1,25 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= packaging PORTVERSION= 20.8 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Core utilities for Python packages LICENSE= APACHE20 BSD2CLAUSE LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE 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 .include Index: head/devel/py-pathlib2/Makefile =================================================================== --- head/devel/py-pathlib2/Makefile (revision 560873) +++ head/devel/py-pathlib2/Makefile (revision 560874) @@ -1,33 +1,27 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= pathlib2 PORTVERSION= 2.3.5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Object-oriented filesystem paths LICENSE= MIT 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 - -.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 +.include Index: head/devel/py-pip/Makefile =================================================================== --- head/devel/py-pip/Makefile (revision 560873) +++ head/devel/py-pip/Makefile (revision 560874) @@ -1,76 +1,76 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= pip PORTVERSION= 20.2.3 CATEGORIES= devel python MASTER_SITES= https://files.pythonhosted.org/packages/f9/d3/955738b20d3832dfa3cd3d9b07e29a8162edb480bf988332f5e6e48ca444/:test_setuptools \ https://files.pythonhosted.org/packages/a7/00/3df031b3ecd5444d572141321537080b40c1c25e1caa3d86cdd12e5e919c/:test_wheel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= setuptools-44.0.0-py2.py3-none-any.whl:test_setuptools \ wheel-0.35.1-py2.py3-none-any.whl:test_wheel DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= python@FreeBSD.org COMMENT= Tool for installing and managing Python packages LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt # Tests also need bzr, git, otherwise they fail TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}csv23>=0:devel/py-csv23@${PY_FLAVOR} \ ${PY_ENUM34} \ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}invoke>=0:devel/py-invoke@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>=0:devel/py-pretend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scripttest>=0:devel/py-scripttest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ hg:devel/mercurial \ git:devel/git \ svn:devel/subversion -USES= python shebangfix +USES= python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils MAKE_ENV= PYTHONPATH=${WRKSRC}/src/ NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= pypa SHEBANG_FILES= src/pip/__init__.py OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pypa-docs-theme>=g20180622:textproc/py-pypa-docs-theme@${PY_FLAVOR} \ ${PY_SPHINX} DOCS_PORTDOCS= * DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") do-test: ${MKDIR} ${WRKSRC}/tests/data/common_wheels # the tests check for these wheel files, so fetch them and copy them in ${CP} ${DISTDIR}/${DIST_SUBDIR}/setuptools-44.0.0-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${CP} ${DISTDIR}/${DIST_SUBDIR}/wheel-0.35.1-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3 cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs .include Index: head/devel/py-pyparsing/Makefile =================================================================== --- head/devel/py-pyparsing/Makefile (revision 560873) +++ head/devel/py-pyparsing/Makefile (revision 560874) @@ -1,21 +1,21 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= pyparsing PORTVERSION= 2.4.7 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org 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 .include Index: head/devel/py-virtualenv/Makefile =================================================================== --- head/devel/py-virtualenv/Makefile (revision 560873) +++ head/devel/py-virtualenv/Makefile (revision 560874) @@ -1,52 +1,49 @@ # $FreeBSD$ PORTNAME= virtualenv PORTVERSION= 16.7.5 PORTREVISION= 0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Tool for creating isolated Python environments LICENSE= MIT TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} 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" # Required by towncrier/click when Python < 3.7 # see https://click.palletsprojects.com/en/7.x/python3/ # Documentation is in English, so... MAKE_ENV= LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 GH_ACCOUNT= pypa NO_ARCH= yes OPTIONS_DEFINE= DOCS PYDISTUTILS_BUILDARGS= -c ${WRKSRC}/docs -USES= python +USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -or -name objects.inv") regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/dns/py-idna/Makefile =================================================================== --- head/dns/py-idna/Makefile (revision 560873) +++ head/dns/py-idna/Makefile (revision 560874) @@ -1,25 +1,25 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= idna PORTVERSION= 2.10 CATEGORIES= dns python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Internationalized Domain Names in Applications (IDNA) 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 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v .include Index: head/graphics/py-imagesize/Makefile =================================================================== --- head/graphics/py-imagesize/Makefile (revision 560873) +++ head/graphics/py-imagesize/Makefile (revision 560874) @@ -1,19 +1,19 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= imagesize PORTVERSION= 1.1.0 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kmoore@FreeBSD.org COMMENT= Python image size library LICENSE= MIT NO_ARCH= yes -USES= python +USES= python:3.6+ USE_PYTHON= autoplist distutils .include Index: head/net/py-pysocks/Makefile =================================================================== --- head/net/py-pysocks/Makefile (revision 560873) +++ head/net/py-pysocks/Makefile (revision 560874) @@ -1,22 +1,22 @@ # Created by: Neil Booth # $FreeBSD$ PORTNAME= pysocks PORTVERSION= 1.7.1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PySocks-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python SOCKS module LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include Index: head/net/py-urllib3/Makefile =================================================================== --- head/net/py-urllib3/Makefile (revision 560873) +++ head/net/py-urllib3/Makefile (revision 560874) @@ -1,51 +1,51 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= urllib3 PORTVERSION= 1.25.11 PORTEPOCH= 1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= HTTP library with thread-safe connection pooling, file post, and more LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-freezegun>=0:devel/py-pytest-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${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 SUB_FILES= pkg-message OPTIONS_DEFINE= BROTLI SOCKS SSL OPTIONS_DEFAULT=SOCKS SSL BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotlipy>=0.6.0:archivers/py-brotlipy@${PY_FLAVOR} SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \ ${PY_IPADDRESS} # Test 'test_ssl_read_timeout' fails with FreeBSD >= 12.0. That was already the # case with earlier versions of net/py-urllib3. do-test: @cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src ${TEST_ENV} \ ${PYTHON_CMD} -m pytest -v -rs -k 'not test_ssl_read_timeout' .include Index: head/security/py-certifi/Makefile =================================================================== --- head/security/py-certifi/Makefile (revision 560873) +++ head/security/py-certifi/Makefile (revision 560874) @@ -1,20 +1,20 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= certifi PORTVERSION= 2020.12.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Mozilla SSL certificates LICENSE= MPL20 -USES= python +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include Index: head/security/py-cryptography/Makefile =================================================================== --- head/security/py-cryptography/Makefile (revision 560873) +++ head/security/py-cryptography/Makefile (revision 560874) @@ -1,68 +1,68 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= cryptography PORTVERSION= 2.9.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Cryptographic recipes and primitives for Python developers LICENSE= APACHE20 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.BSD BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR} \ ${PY_ENUM34} \ ${PY_IPADDRESS} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR} \ ${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} LDFLAGS+= -L${OPENSSLLIB} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include # OpenSSL 1.0.2t got some curve matching parameter code backported before it # has reached its End-of-Life and security/py-cryptography already had some # code to handle this case, but it assumed OpenSSL 1.1.0+ . # # This has been fixed in 3.0-23-g241f8450 of security/py-cryptography and to be # clear: It isn't a security fix but rather a workaround to handle unnamed but # really named curves with OpenSSL 1.0.2t/u . .if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == "base" . if ${OSVERSION} >= 1103500 && ${OSVERSION} < 1200085 # 1103500 352193 2019-09-10 11.3-STABLE got OpenSSL 1.0.2t # 1200085 339270 2018-10-19 12.0-STABLE got OpenSSL 1.1.1 EXTRA_PATCHES= ${PATCHDIR}/openssl102u . endif .endif .if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 post-patch: @${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' \ ${WRKSRC}/src/_cffi_src/build_openssl.py .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -q -v -rs -o addopts= .include Index: head/security/py-openssl/Makefile =================================================================== --- head/security/py-openssl/Makefile (revision 560873) +++ head/security/py-openssl/Makefile (revision 560874) @@ -1,48 +1,48 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= openssl PORTVERSION= 19.1.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSL-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Python interface to the OpenSSL library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \ ${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 CPE_VENDOR= jean-paul_calderone CPE_PRODUCT= py${PORTNAME} # These tests will be skipped due the following reasons: # # * test_connect_refused: Avoid stalling in build environments that don't have # a internet connection # * test_set_verify_callback_exception: Fails on *BSD systems, see also # https://github.com/pyca/pyopenssl/issues/656 for further details # # The system clock must be in sync otherwise the test "test_verify_with_time" # will fail. do-test: @cd ${WRKSRC} && ${SET_ENV} LC_ALL=en_US.UTF-8 ${TEST_ENV} \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ ${PYTHON_CMD} -m pytest -rs -v -k \ 'not test_connect_refused and \ not test_set_verify_callback_exception' .include Index: head/sysutils/py-scandir/Makefile =================================================================== --- head/sysutils/py-scandir/Makefile (revision 560873) +++ head/sysutils/py-scandir/Makefile (revision 560874) @@ -1,28 +1,28 @@ # Created by: René Ladan # $FreeBSD$ PORTNAME= scandir PORTVERSION= 1.10.0 PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org 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 post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_scandir*.so do-test: ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${WRKSRC}/test/run_tests.py .include Index: head/textproc/py-alabaster/Makefile =================================================================== --- head/textproc/py-alabaster/Makefile (revision 560873) +++ head/textproc/py-alabaster/Makefile (revision 560874) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= alabaster PORTVERSION= 0.7.6 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kmoore@FreeBSD.org COMMENT= Modified Kr Sphinx theme LICENSE= MIT NO_ARCH= yes -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist .include Index: head/textproc/py-chardet/Makefile =================================================================== --- head/textproc/py-chardet/Makefile (revision 560873) +++ head/textproc/py-chardet/Makefile (revision 560874) @@ -1,28 +1,28 @@ # Created by: arved # $FreeBSD$ PORTNAME= chardet PORTVERSION= 3.0.4 PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rm@FreeBSD.org COMMENT= Universal encoding detector for Python 2 and 3 LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${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: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr .include Index: head/textproc/py-docutils/Makefile =================================================================== --- head/textproc/py-docutils/Makefile (revision 560873) +++ head/textproc/py-docutils/Makefile (revision 560874) @@ -1,38 +1,38 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= docutils PORTVERSION= 0.15.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org 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 PORTSCOUT= limit:^[0-9\.]*$$ OPTIONS_DEFINE= PYGMENTS PYGMENTS_DESC= Syntax highlighting PYGMENTS_RUN_DEPENDS= ${PY_PYGMENTS} SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \ rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html post-install: .for script in ${SCRIPTS} ${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script} .endfor do-test: cd ${WRKSRC} && ${PYTHON_CMD} test/alltests.py --verbose .include Index: head/textproc/py-pypa-docs-theme/Makefile =================================================================== --- head/textproc/py-pypa-docs-theme/Makefile (revision 560873) +++ head/textproc/py-pypa-docs-theme/Makefile (revision 560874) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= pypa-docs-theme DISTVERSION= g20180622 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Common base Sphinx theme for PyPA projects LICENSE= PSFL 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 GH_TAGNAME= d2e63fb NO_ARCH= yes .include Index: head/textproc/py-pystemmer/Makefile =================================================================== --- head/textproc/py-pystemmer/Makefile (revision 560873) +++ head/textproc/py-pystemmer/Makefile (revision 560874) @@ -1,24 +1,24 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= pystemmer PORTVERSION= 2.0.0.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP \ http://snowball.tartarus.org/wrappers/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyStemmer-${PORTVERSION} MAINTAINER= dbaio@FreeBSD.org COMMENT= Snowball Stemming Algorithms for Information Retrieval LICENSE= MIT BSD3CLAUSE LICENSE_COMB= dual -USES= python +USES= python:3.6+ USE_PYTHON= autoplist cython distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer*.so .include Index: head/textproc/py-python-docs-theme/Makefile =================================================================== --- head/textproc/py-python-docs-theme/Makefile (revision 560873) +++ head/textproc/py-python-docs-theme/Makefile (revision 560874) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= python-docs-theme DISTVERSION= 2018.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Sphinx theme for the CPython docs and related projects LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include Index: head/textproc/py-snowballstemmer/Makefile =================================================================== --- head/textproc/py-snowballstemmer/Makefile (revision 560873) +++ head/textproc/py-snowballstemmer/Makefile (revision 560874) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= snowballstemmer PORTVERSION= 1.2.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kmoore@FreeBSD.org COMMENT= Snowball stemming library collection for Python LICENSE= BSD2CLAUSE -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes OPTIONS_DEFINE= PYSTEMMER OPTIONS_DEFAULT=PYSTEMMER PYSTEMMER_DESC= Use PyStemmer to accelerate PYSTEMMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer@${PY_FLAVOR} .include Index: head/textproc/py-sphinx18/Makefile =================================================================== --- head/textproc/py-sphinx18/Makefile (revision 560873) +++ head/textproc/py-sphinx18/Makefile (revision 560874) @@ -1,59 +1,59 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= sphinx PORTVERSION= 1.8.5 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 18 DISTNAME= Sphinx-${PORTVERSION} DIST_SUBDIR= python # NOTE: before committing to this port, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's # discretion. MAINTAINER= python@FreeBSD.org COMMENT= Python documentation generator LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.11:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.11:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport11>=1.0.1:textproc/py-sphinxcontrib-websupport11@${PY_FLAVOR} \ ${PY_PYGMENTS} \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0.1:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}alabaster>=0.7<0.8:textproc/py-alabaster@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>=1.1:textproc/py-snowballstemmer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}imagesize>=0:graphics/py-imagesize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PY_TYPING} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${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 NO_ARCH= yes PORTSCOUT= limit:^1\.8\. do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= .include Index: head/textproc/py-sphinx_rtd_theme/Makefile =================================================================== --- head/textproc/py-sphinx_rtd_theme/Makefile (revision 560873) +++ head/textproc/py-sphinx_rtd_theme/Makefile (revision 560874) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= sphinx_rtd_theme PORTVERSION= 0.4.3 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= robak@FreeBSD.org COMMENT= Mobile-friendly py-sphinx theme LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NO_ARCH= yes -USES= python +USES= python:3.6+ USE_PYTHON= distutils autoplist .include Index: head/textproc/py-sphinxcontrib-websupport11/Makefile =================================================================== --- head/textproc/py-sphinxcontrib-websupport11/Makefile (revision 560873) +++ head/textproc/py-sphinxcontrib-websupport11/Makefile (revision 560874) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= sphinxcontrib-websupport PORTVERSION= 1.1.2 CATEGORIES= textproc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 11 MAINTAINER= sunpoet@FreeBSD.org 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 # sphinxcontrib-websupport 1.2.0+ requires Python 3.5+ PORTSCOUT= limit:^1\.1\. .include Index: head/textproc/py-towncrier/Makefile =================================================================== --- head/textproc/py-towncrier/Makefile (revision 560873) +++ head/textproc/py-towncrier/Makefile (revision 560874) @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= towncrier PORTVERSION= 19.2.0 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Building newsfiles for your project LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ ${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 Index: head/www/py-requests/Makefile =================================================================== --- head/www/py-requests/Makefile (revision 560873) +++ head/www/py-requests/Makefile (revision 560874) @@ -1,34 +1,33 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= requests PORTVERSION= 2.22.0 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= HTTP library written in Python for human beings LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.2:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${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 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include