diff --git a/cad/uranium/Makefile b/cad/uranium/Makefile index a875fbc09253..9be37567b1e4 100644 --- a/cad/uranium/Makefile +++ b/cad/uranium/Makefile @@ -1,33 +1,32 @@ PORTNAME= Uranium DISTVERSION= 4.13.1 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= Python framework for 3D printing applications WWW= https://github.com/Ultimaker/Uranium/blob/master/docs/overview.md LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>0:graphics/py-PyOpenGL@${PY_FLAVOR} -USES= cmake gettext python pyqt:5 +USES= cmake gettext python pycryptography:run pyqt:5 USE_PYQT= pyqt5 USE_GITHUB= yes GH_ACCOUNT= Ultimaker STRIP= NO_ARCH= yes post-patch: @${FIND} ${WRKSRC} -name "*.orig" -delete post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/uranium/scripts cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/uranium/scripts .include diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile index 5daf5ddf86f6..733b7c393c0a 100644 --- a/comms/py-esptool/Makefile +++ b/comms/py-esptool/Makefile @@ -1,58 +1,57 @@ PORTNAME= esptool DISTVERSIONPREFIX= v DISTVERSION= 4.5 PORTREVISION= 1 CATEGORIES= comms python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= loader@FreeBSD.org COMMENT= Utility to communicate with Espressif ESP8266 & ESP32 chips WWW= https://github.com/espressif/esptool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.16.0:security/py-ecdsa@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bitstring>=3.1.6,<4:devel/py-bitstring@${PY_FLAVOR}\ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reedsolo>=1.5.3,<=1.6.0:devel/py-reedsolo@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils pytest GH_ACCOUNT= espressif NO_ARCH= yes # test/test_espefuse_host.py calls the python command # through subprocess Popen(), create an alias for it. BINARY_ALIAS= python=${PYTHON_CMD} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ESPTOOL_BAUDRATE?= 115200 ESPTOOL_CHIP?= esp8266 ESPTOOL_SERIALPORT?= /dev/ttyU0 do-test: @cd ${TEST_WRKSRC} && for test in \ test/test_imagegen.py \ test/test_espsecure.py \ test/test_merge_bin.py \ test/test_image_info.py \ test/test_modules.py; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest $${test}; done @cd ${TEST_WRKSRC} && for chip in \ esp32 esp32c2 esp32c3 esp32s2 esp32s3 esp32s3beta2 esp32h2beta1 esp32c6; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest \ test/test_espefuse.py --chip $${chip}; done .if exists(${ESPTOOL_SERIALPORT}) @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} \ ${PYTHON_CMD} -m pytest test/test_esptool.py \ --port ${ESPTOOL_SERIALPORT} \ --chip ${ESPTOOL_CHIP} \ --baud ${ESPTOOL_BAUDRATE} .endif .include diff --git a/databases/py-mycli/Makefile b/databases/py-mycli/Makefile index 41312e89f1b8..255900f20ee2 100644 --- a/databases/py-mycli/Makefile +++ b/databases/py-mycli/Makefile @@ -1,42 +1,41 @@ PORTNAME= mycli PORTVERSION= 1.26.1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CLI for MySQL Database with auto-completion and syntax highlighting WWW= https://www.mycli.net/ \ https://github.com/dbcli/mycli LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cli-helpers>=2.2.1:devel/py-cli-helpers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.5:devel/py-configobj@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=1.0.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.6<4.0.0:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyaes>=1.6.1:security/py-pyaes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>=0.9.2:databases/py-pymysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.7.0:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlglot>=5.1.3:databases/py-sqlglot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.5.0:databases/py-sqlparse@${PY_FLAVOR} -USES= mysql python +USES= mysql python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= SSH SSH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR} .include .if ${PYTHON_REL} < 30900 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.0.0:devel/py-importlib-resources@${PY_FLAVOR} .endif .include diff --git a/databases/py-ormar/Makefile b/databases/py-ormar/Makefile index 214722eedfdd..265a05690c7b 100644 --- a/databases/py-ormar/Makefile +++ b/databases/py-ormar/Makefile @@ -1,52 +1,51 @@ PORTNAME= ormar DISTVERSION= 0.12.1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= meka@tilda.center COMMENT= Simple async ORM with fastapi in mind and pydantic validation WWW= https://github.com/collerek/ormar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.8.0:databases/py-databases@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.1,<1.11.0:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.0:databases/py-sqlalchemy14@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0:www/py-fastapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils TEST_ENV= PYTHONPATH=${WRKSRC}/src NO_ARCH= yes OPTIONS_DEFINE= CRYPTO OPTIONS_GROUP= DATABASES OPTIONS_GROUP_DATABASES= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= SQLITE DATABASES_DESC= Database Support CRYPTO_DESC= Support for password encryption - -CRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} +CRYPTO_USES= pycryptography:run SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR} MYSQL_USES= mysql MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiomysql>0:databases/py-aiomysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} PGSQL_USES= pgsql PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asyncpg>0:databases/py-asyncpg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} # Tests are not shipped with the package. # Upstream issue: https://github.com/collerek/ormar/issues/698 # do-test: # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} TEST_DATABASE_URLS="sqlite:///testsuite" ${PYTHON_CMD} -m pytest -v -rs -o addopts= .include diff --git a/databases/py-sqlalchemy-utils/Makefile b/databases/py-sqlalchemy-utils/Makefile index ed2de8a862b7..29effda0b6d2 100644 --- a/databases/py-sqlalchemy-utils/Makefile +++ b/databases/py-sqlalchemy-utils/Makefile @@ -1,45 +1,45 @@ PORTNAME= sqlalchemy-utils PORTVERSION= 0.41.1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= SQLAlchemy-Utils-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Various utility functions for SQLAlchemy WWW= https://github.com/kvesteri/sqlalchemy-utils LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3:databases/py-sqlalchemy14@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= ARROW BABEL COLOR ENCRYPTED INTERVALS PASSWORD PENDULUM PHONE TIMEZONE URL ARROW_DESC= Arrow type support BABEL_DESC= Babel locale type support COLOR_DESC= Color type support ENCRYPTED_DESC= Encrypted type support INTERVALS_DESC= Interval operators support PASSWORD_DESC= Password type support PENDULUM_DESC= Pendulum Date/DateTime support PHONE_DESC= Phone number type support TIMEZONE_DESC= Timezone support URL_DESC= URL type support ARROW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.3.4:devel/py-arrow@${PY_FLAVOR} BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR} COLOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colour>=0.0.4:graphics/py-colour@${PY_FLAVOR} -ENCRYPTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.6,1:security/py-cryptography@${PY_FLAVOR} +ENCRYPTED_USES= pycryptography:run INTERVALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}intervals>=0.7.1:net/py-intervals@${PY_FLAVOR} PASSWORD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6<2.0:security/py-passlib@${PY_FLAVOR} PENDULUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.5:devel/py-pendulum@${PY_FLAVOR} PHONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phonenumbers>=5.9.2:devel/py-phonenumbers@${PY_FLAVOR} TIMEZONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} URL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furl>=0.4.1:devel/py-furl@${PY_FLAVOR} .include diff --git a/devel/oci-cli/Makefile b/devel/oci-cli/Makefile index 06bb57ff66f2..f4d88921bb6e 100644 --- a/devel/oci-cli/Makefile +++ b/devel/oci-cli/Makefile @@ -1,38 +1,37 @@ PORTNAME= oci-cli DISTVERSION= 3.29.1 CATEGORIES= devel MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ale_sagra@hotmail.com COMMENT= Command Line Interface for Oracle Cloud Infrastructure WWW= https://github.com/oracle/oci-cli/ LICENSE= APACHE20 UPL LICENSE_COMB= dual LICENSE_GROUPS_UPL= FSF GPL OSI LICENSE_NAME_UPL= Universal Permissive License LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt LICENSE_FILE_UPL= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_UPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=1.0.0:devel/py-arrow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0.4:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.2.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.10.0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oci>=2.104.3:devel/py-oci@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=22.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.29:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.4:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${PY_FLAVOR} -USES= python:3.8-3.11 +USES= python:3.8-3.11 pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/osc/Makefile b/devel/osc/Makefile index 768f1b074c4e..26ba12e6809c 100644 --- a/devel/osc/Makefile +++ b/devel/osc/Makefile @@ -1,34 +1,33 @@ PORTNAME= osc PORTVERSION= 1.1.4 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Command Line Interface to work with an openSUSE Build Service WWW= https://en.opensuse.org/openSUSE:OSC \ https://github.com/openSUSE/osc LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_GITHUB= yes GH_ACCOUNT= openSUSE USE_PYTHON= autoplist distutils noflavors pytest NO_ARCH= yes CPE_VENDOR= suse CPE_PRODUCT= opensuse_osc PORTDOCS= * PYTEST_BROKEN_TESTS= testPrdiffDiffstat OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/py-adb/Makefile b/devel/py-adb/Makefile index 35b505efb0ed..b317508d25f5 100644 --- a/devel/py-adb/Makefile +++ b/devel/py-adb/Makefile @@ -1,26 +1,25 @@ PORTNAME= adb DISTVERSION= 1.3.0-9 DISTVERSIONSUFFIX= -gd0be33c CATEGORIES= devel comms python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Pure-python implementation of ADB and Fastboot protocols WWW= https://github.com/google/python-adb LICENSE= APACHE20 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libusb1>=1.0.16:devel/py-libusb1@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libusb1>=1.0.16:devel/py-libusb1@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= google GH_PROJECT= python-${PORTNAME} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils pytest NO_ARCH= yes .include diff --git a/devel/py-aiortc/Makefile b/devel/py-aiortc/Makefile index 4b7b18e06b3e..67b993ce33de 100644 --- a/devel/py-aiortc/Makefile +++ b/devel/py-aiortc/Makefile @@ -1,33 +1,32 @@ PORTNAME= aiortc PORTVERSION= 1.5.0 PORTREVISION= 2 CATEGORIES= devel multimedia python www MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= WebRTC and ORTC in Python WWW= https://github.com/aiortc/aiortc/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} LIB_DEPENDS= libopus.so:audio/opus \ libvpx.so:multimedia/libvpx RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}aioice>=0.9.0:devel/py-aioice@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}av>=9.0.0:multimedia/py-av@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.2:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}google-crc32c>=1.1:devel/py-google-crc32c@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=23.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyee>=9.0.0:devel/py-pyee@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pylibsrtp>=0.5.6:devel/py-pylibsrtp@${PY_FLAVOR} -USES= localbase python +USES= localbase python pycryptography:run USE_PYTHON= autoplist concurrent distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/codecs/*.so .include diff --git a/devel/py-azure-identity/Makefile b/devel/py-azure-identity/Makefile index b98a8899d89e..49dfcaef4a88 100644 --- a/devel/py-azure-identity/Makefile +++ b/devel/py-azure-identity/Makefile @@ -1,24 +1,23 @@ PORTNAME= azure-identity DISTVERSION= 1.6.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Identity Library for Python WWW= https://pypi.org/project/azure-identity/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-core>=1.0.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msal>=1.7.0<2.0.0:devel/py-msal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msal-extensions>=0.3.0:devel/py-msal-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} -USES= azurepy python zip +USES= azurepy python pycryptography:run zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/py-azure-keyvault/Makefile b/devel/py-azure-keyvault/Makefile index 633c61ac4677..23f2baccd4db 100644 --- a/devel/py-azure-keyvault/Makefile +++ b/devel/py-azure-keyvault/Makefile @@ -1,24 +1,23 @@ PORTNAME= azure-keyvault PORTVERSION= 1.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Key Vault Client Library for Python WWW= https://pypi.org/project/azure-keyvault/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msrest>=0.5.0:net-mgmt/py-msrest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrestazure>=0.4.32:net-mgmt/py-msrestazure@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1:www/py-azure-common@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} -USES= azurepy python zip +USES= azurepy python pycryptography:run zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/py-azure-multiapi-storage/Makefile b/devel/py-azure-multiapi-storage/Makefile index e844f6df9700..886f97eb5adb 100644 --- a/devel/py-azure-multiapi-storage/Makefile +++ b/devel/py-azure-multiapi-storage/Makefile @@ -1,25 +1,24 @@ PORTNAME= azure-multiapi-storage PORTVERSION= 1.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Storage Client Library with multi API version support WWW= https://pypi.org/project/azure-multiapi-storage/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=0:www/py-azure-common@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-core>=1.10.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrest>=0.6.18:net-mgmt/py-msrest@${PY_FLAVOR} -USES= azurepy python +USES= azurepy python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/py-azure-storage-common/Makefile b/devel/py-azure-storage-common/Makefile index b33e63bff660..d58d629261ee 100644 --- a/devel/py-azure-storage-common/Makefile +++ b/devel/py-azure-storage-common/Makefile @@ -1,23 +1,22 @@ PORTNAME= azure-storage-common PORTVERSION= 2.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Storage Common Client Library for Python WWW= https://pypi.org/project/azure-storage-common/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1.5:www/py-azure-common@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} -USES= azurepy python +USES= azurepy python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/py-castellan/Makefile b/devel/py-castellan/Makefile index 7fc6cc502212..0f81e14df1bc 100644 --- a/devel/py-castellan/Makefile +++ b/devel/py-castellan/Makefile @@ -1,34 +1,33 @@ PORTNAME= castellan PORTVERSION= 4.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generic Key Manager interface for OpenStack WWW= https://docs.openstack.org/castellan/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.7:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=6.4.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-barbicanclient>=5.5.0:net/py-python-barbicanclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} -USES= python shebangfix +USES= python pycryptography:run shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes SHEBANG_GLOB= *.sh .include diff --git a/devel/py-cursive/Makefile b/devel/py-cursive/Makefile index afbb38c785a1..45a6f4dc54b7 100644 --- a/devel/py-cursive/Makefile +++ b/devel/py-cursive/Makefile @@ -1,28 +1,27 @@ PORTNAME= cursive PORTVERSION= 0.2.3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Cursive implements OpenStack-specific validation of digital signatures WWW= https://opendev.org/x/cursive LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}castellan>=0.4.0:devel/py-castellan@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=1.14.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/devel/py-moto/Makefile b/devel/py-moto/Makefile index 5edd8331f46f..06e4661210bf 100644 --- a/devel/py-moto/Makefile +++ b/devel/py-moto/Makefile @@ -1,44 +1,43 @@ PORTNAME= moto PORTVERSION= 4.1.12 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Allow your python tests to easily mock out the boto library WWW= https://github.com/getmoto/moto LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.9.201:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}botocore>=1.12.201:devel/py-botocore@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.5:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0.13.0:devel/py-responses@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.5:www/py-werkzeug@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aws-xray-sdk>=0.93:devel/py-aws-xray-sdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cfn-lint>=0.40.0:devel/py-cfn-lint@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docker>=3.0.0:sysutils/py-docker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.16:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask>=2.2.2:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Cors>=0:www/py-flask-cors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}graphql-core>=0:devel/py-graphql-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsondiff>=1.1.2:devel/py-jsondiff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.2.8:devel/py-openapi-spec-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.0.7:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-jose>=3.1.0<4.0.0:security/py-python-jose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sshpubkeys>=3.1.0:security/py-sshpubkeys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/devel/py-msal/Makefile b/devel/py-msal/Makefile index a8e05eebb5e7..dd0f4e7e4a47 100644 --- a/devel/py-msal/Makefile +++ b/devel/py-msal/Makefile @@ -1,22 +1,21 @@ PORTNAME= msal DISTVERSION= 1.20.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Authentication Library (MSAL) for Python WWW= https://github.com/AzureAD/microsoft-authentication-library-for-python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0<3:www/py-pyjwt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0.6<40,1:security/py-cryptography@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0<3:www/py-pyjwt@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/devel/py-oci/Makefile b/devel/py-oci/Makefile index 9fe4157ef1b2..245c1880c716 100644 --- a/devel/py-oci/Makefile +++ b/devel/py-oci/Makefile @@ -1,37 +1,36 @@ PORTNAME= oci PORTVERSION= 2.104.3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ale_sagra@hotmail.com COMMENT= Python interface to Oracle Cloud Infrastructure WWW= https://github.com/oracle/oci-python-sdk/ LICENSE= APACHE20 UPL LICENSE_COMB= dual LICENSE_GROUPS_UPL= FSF GPL OSI LICENSE_NAME_UPL= Universal Permissive License LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt LICENSE_FILE_UPL= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_UPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}circuitbreaker>=1.3.1:devel/py-circuitbreaker@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.2.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3<3.0.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=17.5.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz@${PY_FLAVOR} -USES= python:3.8-3.11 +USES= python:3.8-3.11 pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes # The testsuite isn't available in the sdist through PyPI, yet. Switching to # GitHub doesn't help either because the testsuite doesn't work outside # virtualenvs at the moment. # See also: https://github.com/oracle/oci-python-sdk/issues/164 # do-test: .include diff --git a/devel/py-openstacksdk/Makefile b/devel/py-openstacksdk/Makefile index 6c2fd24eb2d8..e457ab3bec81 100644 --- a/devel/py-openstacksdk/Makefile +++ b/devel/py-openstacksdk/Makefile @@ -1,37 +1,36 @@ PORTNAME= openstacksdk PORTVERSION= 1.3.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SDK for building applications to work with OpenStack WWW= https://docs.openstack.org/openstacksdk/latest/ \ https://github.com/openstack/openstacksdk LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.3.0:devel/py-appdirs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.7:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>=4.4.1:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.6.5:devel/py-dogpile.cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.9.0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonpatch>=1.16:devel/py-jsonpatch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.18.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>=0.10.4:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}os-service-types>=1.7.0:devel/py-os-service-types@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requestsexceptions>=1.2.0:devel/py-requestsexceptions@${PY_FLAVOR} -USES= python shebangfix +USES= python pycryptography:run shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes SHEBANG_GLOB= *.sh .include diff --git a/devel/py-pip/Makefile b/devel/py-pip/Makefile index 15b3a7125387..5325a5bca413 100644 --- a/devel/py-pip/Makefile +++ b/devel/py-pip/Makefile @@ -1,77 +1,76 @@ PORTNAME= pip PORTVERSION= 23.1.2 CATEGORIES= devel python MASTER_SITES= https://files.pythonhosted.org/packages/c3/9e/8a7ba2c9984a060daa6c6f9fff4d576b7ace3936239d6b771541eab972ed/:test_setuptools \ https://files.pythonhosted.org/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/:test_wheel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= setuptools-67.6.0-py3-none-any.whl:test_setuptools \ wheel-0.40.0-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 WWW= https://pip.pypa.io/en/latest/ 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}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}installer>=0:devel/py-installer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scripttest>=0:devel/py-scripttest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomli-w>=0:textproc/py-tomli-w@${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= cpe python shebangfix +USES= cpe python pycryptography:test shebangfix CPE_VENDOR= pypa USE_PYTHON= autoplist concurrent distutils pytest MAKE_ENV= PYTHONPATH=${WRKSRC}/src/ NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} USE_GITHUB= yes GH_ACCOUNT= pypa SHEBANG_FILES= src/pip/__init__.py OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}myst-parser>=0:textproc/py-myst-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=4.2,1<6.0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>=0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-inline-tabs>=0:textproc/py-sphinx-inline-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-towncrier>=0.2.0a0:textproc/py-sphinxcontrib-towncrier@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}towncrier>=0:textproc/py-towncrier@${PY_FLAVOR} DOCS_PORTDOCS= * DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" post-patch: @${RM} -r ${WRKSRC}/src/pip/_vendor/colorama/tests/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") pre-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-67.6.0-py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${CP} ${DISTDIR}/${DIST_SUBDIR}/wheel-0.40.0-py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3 .include diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile index b2c2b03357ff..2b492708a603 100644 --- a/devel/py-twisted/Makefile +++ b/devel/py-twisted/Makefile @@ -1,64 +1,64 @@ PORTNAME= twisted PORTVERSION= 22.10.0 PORTREVISION= 1 CATEGORIES= devel net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Twisted-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Asynchronous networking framework written in Python WWW= https://twistedmatrix.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Automat>=0.8.0:devel/py-Automat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hyperlink>=17.1.1:www/py-hyperlink@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=4.4.2:devel/py-zope.interface@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython-test-exception-raiser>=1.0.2<2:devel/py-cython-test-exception-raiser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} USES= cpe python:3.8-3.10 USE_PYTHON= autoplist concurrent distutils CPE_VENDOR= twistedmatrix NO_ARCH= yes OPTIONS_DEFINE= CONCH HTTP2 SERIAL TLS OPTIONS_DEFAULT=CONCH HTTP2 SERIAL TLS CONCH_DESC= Conch secure shell SSH SERIAL_DESC= Serial port extension +CONCH_USES= pycryptography:run CONCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.0.0:security/py-bcrypt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3.0<5.0:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}priority1>=1.1.0<2.0:www/py-priority1@${PY_FLAVOR} SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR} TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} # We need twisted.trial in PYTHONPATH # twisted.conch tests depend on finding certain scripts in PATH TEST_ENV= PYTHONPATH=${WRKSRC}/src PATH=${STAGEDIR}/${PREFIX}/bin:$$PATH post-patch: ${GREP} -F -Rl TLS_METHOD ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ -e 's,TLS_METHOD,TLSv1_2_METHOD,' post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m twisted.trial -e twisted .include diff --git a/dns/letsdns/Makefile b/dns/letsdns/Makefile index f671ff62e8df..a47361730442 100644 --- a/dns/letsdns/Makefile +++ b/dns/letsdns/Makefile @@ -1,23 +1,22 @@ PORTNAME= letsdns DISTVERSION= 1.0.1 PORTREVISION= 2 CATEGORIES= dns MAINTAINER= flo@FreeBSD.org COMMENT= Manage DANE TLSA records in DNS servers WWW= https://letsdns.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_GITHUB= yes GH_ACCOUNT= LetsDNS USE_PYTHON= autoplist pep517 .include diff --git a/dns/py-dns-crawler/Makefile b/dns/py-dns-crawler/Makefile index 78bd7713a3a1..31a613e3f4fb 100644 --- a/dns/py-dns-crawler/Makefile +++ b/dns/py-dns-crawler/Makefile @@ -1,39 +1,38 @@ PORTNAME= dns-crawler PORTVERSION= 1.4.9 PORTREVISION= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crawler for getting info about DNS domains and services WWW= https://gitlab.nic.cz/adam/dns-crawler LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.3.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cert-human>=1.0.7:security/py-cert-human@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=0,1:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.15:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}forcediphttpsadapter>=1.0.1:www/py-forcediphttpsadapter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}GeoIP2>=3.0.0:net/py-GeoIP2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.9:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyaml>=19.12.0:textproc/py-pyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.9.7:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyicu>=2.4.3:devel/py-pyicu@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=19.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.4.1:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.23.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=1.2.2:devel/py-rq@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/dns/py-dns-lexicon/Makefile b/dns/py-dns-lexicon/Makefile index 4cf4150b4fe7..5faef179ce61 100644 --- a/dns/py-dns-lexicon/Makefile +++ b/dns/py-dns-lexicon/Makefile @@ -1,45 +1,44 @@ PORTNAME= dns-lexicon PORTVERSION= 3.12.0 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= dns_lexicon-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Manipulate DNS records on various DNS providers in a standardized way WWW= https://github.com/AnalogJ/lexicon LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tldextract>=2:dns/py-tldextract@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= DDNS DUCKDNS GRANSY LOCALZONE OCI ROUTE53 SOFTLAYER DDNS_DESC= Dynamic DNS support DUCKDNS_DESC= Duck DNS support GRANSY_DESC= Gransy support LOCALZONE_DESC= localzone support OCI_DESC= Oracle Cloud Infrastructure (OCI) support ROUTE53_DESC= Route 53 support SOFTLAYER_DESC= SoftLayer (IBM Cloud) support DDNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=2,1:dns/py-dnspython@${PY_FLAVOR} DUCKDNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=2,1:dns/py-dnspython@${PY_FLAVOR} GRANSY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zeep>=3:net/py-zeep@${PY_FLAVOR} LOCALZONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}localzone>=0.9.8:dns/py-localzone@${PY_FLAVOR} OCI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oci>=2:devel/py-oci@${PY_FLAVOR} ROUTE53_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.25:www/py-boto3@${PY_FLAVOR} SOFTLAYER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}softlayer>=5:net/py-softlayer@${PY_FLAVOR} .include diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile index 1b9470cde16e..460dada39958 100644 --- a/dns/py-dnspython/Makefile +++ b/dns/py-dnspython/Makefile @@ -1,48 +1,48 @@ PORTNAME= dnspython PORTVERSION= 2.4.0 PORTEPOCH= 1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= DNS toolkit for Python WWW= https://www.dnspython.org/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython pep517 NO_ARCH= yes PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py xfr.py \ zonediff.py OPTIONS_DEFINE= DNSSEC DOH DOQ EXAMPLES IDNA TRIO OPTIONS_DEFAULT= DNSSEC DOH DOQ IDNA TRIO DNSSEC_DESC= DNSSEC Support DOH_DESC= DNS over HTTPS Support DOQ_DESC= DNS over QUIC Support IDNA_DESC= Internationalizede Domain Names in Application Support TRIO_DESC= TRIO Support -DNSSEC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} +DNSSEC_USES= pycryptography:run DOH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=4.0.0:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.24.1:www/py-httpx@${PY_FLAVOR} DOQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioquic>0:www/py-aioquic@${PY_FLAVOR} IDNA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR} TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.14.0:net/py-trio@${PY_FLAVOR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} do-test: cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py .include diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile index 196dafd205cd..87bd050f78ce 100644 --- a/finance/electrum/Makefile +++ b/finance/electrum/Makefile @@ -1,69 +1,68 @@ PORTNAME= electrum PORTVERSION= 4.4.5 CATEGORIES= finance python MASTER_SITES= https://download.electrum.org/${PORTVERSION}/ \ http://download.electrum.org/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Electrum-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Easy to use Bitcoin client WWW= https://electrum.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp-socks>=0.3:net/py-aiohttp-socks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.3.0:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiorpcX>=0.22.0:devel/py-aiorpcX@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bitstring>0:devel/py-bitstring@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=2.0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonrpclib-pelix>0:devel/py-jsonrpclib-pelix@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.12:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}QDarkStyle>=2.7:textproc/py-QDarkStyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}secp256k1>0:math/py-secp256k1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.9:databases/py-sqlite3@${PY_FLAVOR} -USES= cpe python shebangfix +USES= cpe python pycryptography:run shebangfix USE_PYTHON= autoplist concurrent distutils PYDISTUTILS_PKGNAME= Electrum SHEBANG_FILES= electrum/electrum SHEBANG_GLOB= *.py NO_ARCH= yes OPTIONS_DEFINE= GUI HARDWARE OPTIONS_DEFAULT= GUI HARDWARE OPTIONS_SUB= yes HARDWARE_DESC= Enable Bitcoin hardware wallet support GUI_USES= desktop-file-utils pyqt:5 GUI_USE= PYQT=pyqt5,sip HARDWARE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitbox02>=0.13.0:security/py-bitbox02@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}btchip-python>=0.1.32:security/py-btchip-python@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ckcc-protocol>=0.7.7:security/py-ckcc-protocol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keepkey>=6.3.1:security/py-keepkey@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trezor>=0.13.0:security/py-trezor@${PY_FLAVOR} HARDWARE_USE= PYTHON=cython HARDWARE_SUB_FILES= pkg-message-hwwallet HARDWARE_PLIST_FILES= "@sample etc/devd/hardware_wallet.conf.sample" post-patch-GUI-off: @${REINPLACE_CMD} -e '/electrum\.desktop/d' ${WRKSRC}/setup.py post-install-HARDWARE-on: ${INSTALL_DATA} ${FILESDIR}/hardware_wallet.conf.sample \ ${STAGEDIR}${PREFIX}/etc/devd .include diff --git a/finance/py-ccxt/Makefile b/finance/py-ccxt/Makefile index 08a13a104f56..24c05f0c60dc 100644 --- a/finance/py-ccxt/Makefile +++ b/finance/py-ccxt/Makefile @@ -1,33 +1,32 @@ PORTNAME= ccxt DISTVERSION= 2.4.101 CATEGORIES= finance python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Cryptocurrency trading API with support for 100+ exchanges WWW= https://github.com/ccxt/ccxt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2018.1.18:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6.1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} -USES= python +USES= python pycryptography:build,run USE_PYTHON= distutils autoplist pytest # 3 errors during tests, see https://github.com/ccxt/ccxt/issues/16661 NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/ccxt/test post-extract: # workaround for https://github.com/ccxt/ccxt/issues/16220 @${TOUCH} ${WRKSRC}/README.md .include diff --git a/mail/py-flanker/Makefile b/mail/py-flanker/Makefile index 0b421929eb24..c7c2d33c5c72 100644 --- a/mail/py-flanker/Makefile +++ b/mail/py-flanker/Makefile @@ -1,34 +1,33 @@ PORTNAME= flanker PORTVERSION= 0.9.11 CATEGORIES= mail python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Email address and MIME parsing library WWW= https://github.com/mailgun/flanker LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=1.0.1,1:textproc/py-chardet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0.5:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>=3.10:devel/py-ply@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0.1.20110315:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tld>=0:dns/py-tld@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=0.9.8:www/py-webob@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= CCHARDET CCHARDET_DESC= Character encoding detection via cchardet CCHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cchardet>=0.3.5:textproc/py-cchardet@${PY_FLAVOR} .include diff --git a/misc/py-apache-beam/Makefile b/misc/py-apache-beam/Makefile index cd3b4822731c..f292eb6daab1 100644 --- a/misc/py-apache-beam/Makefile +++ b/misc/py-apache-beam/Makefile @@ -1,62 +1,61 @@ PORTNAME= apache-beam DISTVERSION= 2.43.0 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Apache Beam SDK for Python WWW= https://beam.apache.org/ LICENSE= APACHE20 PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=2.2.0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}crcmod>=1.7:devel/py-crcmod@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>=0.3.1.1:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fastavro>=0.23.6:textproc/py-fastavro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fasteners>=0.3:devel/py-fasteners@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}grpcio>=1.33.1>0:devel/py-grpcio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hdfs>=2.1.0:www/py-hdfs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.8:www/py-httplib2@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}orjson<4.0:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}objsize>=0.5.2:devel/py-objsize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.7.1:devel/py-proto-plus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.12.2:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>=1.2.0:graphics/py-pydot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.8.0:databases/py-pymongo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2018.3:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=2020.6.8:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zstandard>=0.18.0:archivers/py-zstandard@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=36.0.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}freezegun>=0.3.12:devel/py-freezegun@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=0.3.12:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}joblib>=0.3.12:devel/py-joblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>=0.7.1:devel/py-parameterized@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.5:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9:textproc/py-pyhamcrest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=1.3.3:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.29.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-mock>=1.7:www/py-requests-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tenacity>=5.0.2:devel/py-tenacity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20.0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3:databases/py-sqlalchemy14@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.12:devel/py-yaml@${PY_FLAVOR} # testcontainers[mysql]>=3.0.3 is also required -USES= python zip +USES= python pycryptography:test zip USE_PYTHON= distutils cython concurrent autoplist pytest # 5 tests fail, depending on pyarrow, MySqlContainer, threadpoolctl post-install: # strip binaries @${FIND} ${STAGEDIR}${PREFIX} -name "*${PYTHON_EXT_SUFFIX}.so" | ${XARGS} ${STRIP_CMD} .include diff --git a/misc/py-cinder/Makefile b/misc/py-cinder/Makefile index a6c126a1da29..1d46cd0b71d4 100644 --- a/misc/py-cinder/Makefile +++ b/misc/py-cinder/Makefile @@ -1,127 +1,126 @@ PORTNAME= cinder PORTVERSION= 12.0.10 PORTREVISION= 23 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OpenStack Block Storage WWW= https://docs.openstack.org/cinder/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}castellan>=0.16.0:devel/py-castellan@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=1.9:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}eventlet>=0.18.2:net/py-eventlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}google-api-python-client>=1.4.2:www/py-google-api-python-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.10:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keystonemiddleware>=4.17.0:devel/py-keystonemiddleware@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.1:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oauth2client>=1.5.0:security/py-oauth2client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}os-brick>=2.2.0:devel/py-os-brick@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}os-win>=3.0.0:devel/py-os-win@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.25.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.1.0:devel/py-oslo.config@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.19.2:devel/py-oslo.context@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.db>=4.27.0:devel/py-oslo.db@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.36.0:devel/py-oslo.log@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.29.0:devel/py-oslo.messaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.31.0:devel/py-oslo.middleware@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.policy>=1.30.0:devel/py-oslo.policy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.privsep>=1.23.0:devel/py-oslo.privsep@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.reports>=1.18.0:devel/py-oslo.reports@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.rootwrap>=5.8.0:devel/py-oslo.rootwrap@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.service>=1.24.0:devel/py-oslo.service@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.versionedobjects>=1.31.2:devel/py-oslo.versionedobjects@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.vmware>=2.17.0:devel/py-oslo.vmware@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}osprofiler>=1.4.0:devel/py-osprofiler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>=2.0.0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=2.0.2:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pastedeploy>=1.5.0:www/py-pastedeploy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prettytable0>=0.7.1<0.8:devel/py-prettytable0@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=3.2.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-barbicanclient>=4.0.0:net/py-python-barbicanclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-glanceclient>=2.8.0:net/py-python-glanceclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=3.8.0:net/py-python-keystoneclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-novaclient>=9.1.0:net/py-python-novaclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-swiftclient>=3.2.0:databases/py-python-swiftclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2013.6,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}retrying>=1.2.3:devel/py-retrying@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}routes>=2.3.1:www/py-routes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rtslib-fb>=2.1.43:devel/py-rtslib-fb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.11.0:databases/py-sqlalchemy-migrate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=1.0.10:databases/py-sqlalchemy12@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}suds>=0.6:net/py-suds@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}taskflow>=2.16.0:devel/py-taskflow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tooz>=1.58.0:devel/py-tooz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptopgraphy:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes USE_RC_SUBR= cinder-api cinder-scheduler cinder-volume USERS= cinder GROUPS= cinder SUB_LIST= PYTHON_VER=${PYTHON_VER} CONFLICTS_INSTALL= py??-cinder CPE_VENDOR= openstack PORTSCOUT= skipv:2015.1.4 OPTIONS_DEFINE= MEMCACHED MONGODB OPTIONS_RADIO= DB OPTIONS_RADIO_DB= MYSQL PGSQL MEMCACHED_DESC= Memcached support MONGODB_DESC= MongoDB support (used for messaging services) MYSQL_DESC= MySQL/MariaDB support PGSQL_DESC= PostgreSQL support MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=1.56:databases/py-python-memcached@${PY_FLAVOR} MONGODB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0.2:databases/py-pymongo@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} MY_REGEX= (/etc/)(ceph|nova|pki|ssl) post-patch: # Prevent the installation of files into ${ETCDIR} by distutils. We do it # manually in the post-install target @${REINPLACE_CMD} -e '/etc\//d' ${WRKSRC}/setup.cfg ${CP} ${FILESDIR}/cinder.conf.sample ${WRKSRC}/etc/cinder/cinder.conf # Replace (hardcoded) paths of config, documentation and Python files @${GREP} -Rl -Ee '${MY_REGEX}' --null \ ${WRKSRC}/etc ${WRKSRC}/doc ${WRKSRC}/cinder | \ ${XARGS} -0 ${REINPLACE_CMD} -i '' -Ee \ "s,${MY_REGEX},${PREFIX}\1\2,g" post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/rootwrap.d .for f in api-paste.ini cinder.conf rootwrap.conf rootwrap.d/volume.filters ${INSTALL_DATA} ${WRKSRC}/etc/cinder/$f ${STAGEDIR}${ETCDIR}/$f.sample .endfor .include diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index c302e8982c3e..d90b38eab66e 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -1,118 +1,117 @@ PORTNAME= matrix-synapse DISTVERSION= 1.87.0 CATEGORIES= net-im python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PORTNAME:S/-/_/}-${DISTVERSION}.tar.gz MAINTAINER= ports@skyforge.at COMMENT= Matrix protocol reference homeserver WWW= https://www.matrix.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<=1.6.1:devel/py-poetry-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3:devel/py-setuptools-rust@${PY_FLAVOR} # Keep the RUN_DEPENDS layout similar to the pyproject.toml file RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}immutabledict>=2.0:devel/py-immutabledict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=2.1.0:devel/py-unpaddedbase64@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}canonicaljson>=2.0.0<3.0.0:devel/py-canonicaljson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}signedjson>=1.1.0<2.0.0:security/py-signedjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.9:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.7:security/py-bcrypt@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.5.2:devel/py-sortedcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymacaroons>=0.13.0:security/py-pymacaroons@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}phonenumbers>=8.2.0:devel/py-phonenumbers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.4.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.1:devel/py-typing-extensions@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.4.7:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ijson>=3.1.4:devel/py-ijson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matrix-common>=1.3.0<2.0.0:devel/py-matrix-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=16.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7.4:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysaml2>=4.5.0:security/py-pysaml2@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>=0.7.4:devel/py-parameterized@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} -USES= python cargo +USES= python pycryptography:run cargo USE_PYTHON= autoplist distutils USE_RC_SUBR= synapse WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}-${DISTVERSION} CARGO_CONFIGURE= yes CARGO_BUILD= no CARGO_TEST= no CARGO_INSTALL= no CARGO_CARGOTOML= ${WRKSRC}/rust/Cargo.toml SUB_FILES= pkg-message log.config SUB_LIST= PYTHON_CMD=${PYTHON_CMD} DBDIR=${DBDIR} LOGDIR=${LOGDIR} PIDDIR=${PIDDIR} USERS=${USERS} USERS= synapse GROUPS= synapse DBDIR?= /var/db/${PORTNAME} LOGDIR?= /var/log/${PORTNAME} PIDDIR?= /var/run/${PORTNAME} PLIST_FILES= "@sample ${ETCDIR}/log.config.sample" \ %%PYTHON_SITELIBDIR%%/synapse/synapse_rust.abi3.so DOCS= README.rst UPGRADE.rst CHANGES.md docs/postgres.md PORTDOCS= ${DOCS:T} OPTIONS_DEFINE= DOCS JWT LDAP OIDC PGSQL REDIS SQLITE URLPREVIEW OPTIONS_DEFAULT= PGSQL SQLITE JWT_DESC= Add dependencies for JSON web tokens OIDC_DESC= Add dependencies for OpenID Connect based logins REDIS_DESC= Add support replication over Redis for synapse workers URLPREVIEW_DESC= Add dependencies necessary for URL previews JWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} OIDC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.8:databases/py-psycopg2@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}txredisapi>=1.4.7:databases/py-txredisapi@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0:devel/py-lxml@${PY_FLAVOR} .include # Dependency required by Python < 3.8 .if (${PYTHON_REL} < 30800) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4:devel/py-importlib-metadata@${PY_FLAVOR} .endif post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test: cd ${WRKSRC} && PYTHONPATH="${STAGEDIR}/${PYTHON_SITELIBDIR}:." trial-${PYTHON_VER} -j 4 tests .include diff --git a/net-mgmt/py-adal/Makefile b/net-mgmt/py-adal/Makefile index 25ea2f1cb2be..ea151a5cdff6 100644 --- a/net-mgmt/py-adal/Makefile +++ b/net-mgmt/py-adal/Makefile @@ -1,24 +1,23 @@ PORTNAME= adal PORTVERSION= 1.2.7 PORTREVISION= 2 CATEGORIES= net-mgmt python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Authentication to Azure Active Directory for Python applications WWW= https://github.com/AzureAD/azure-activedirectory-library-for-python LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.1.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0<3:www/py-pyjwt@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0<3:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1.0<3:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/net-p2p/reticulum/Makefile b/net-p2p/reticulum/Makefile index e44a3224c069..5f9305573cb8 100644 --- a/net-p2p/reticulum/Makefile +++ b/net-p2p/reticulum/Makefile @@ -1,33 +1,32 @@ PORTNAME= reticulum DISTVERSION= 0.5.5 CATEGORIES= net-p2p MASTER_SITES= PYPI DISTNAME= rns-${DISTVERSION} MAINTAINER= cs@FreeBSD.org COMMENT= Self-configuring, encrypted and resilient mesh networking stack WWW= https://reticulum.network/ LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= distutils USE_RC_SUBR= reticulum GROUPS= _reticulum USERS= _reticulum SUB_LIST= USERS="${USERS}" \ GROUPS="${GROUPS}" \ PYTHON=${PYTHON_CMD} PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" NO_ARCH= yes post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/db/reticulum ${STAGEDIR}/var/run/reticulum ${STAGEDIR}/var/log/reticulum ${INSTALL_DATA} ${PATCHDIR}/config.sample ${STAGEDIR}${ETCDIR}/config.sample .include diff --git a/net/onionprobe/Makefile b/net/onionprobe/Makefile index 62fb38367847..3f6e585ae0e2 100644 --- a/net/onionprobe/Makefile +++ b/net/onionprobe/Makefile @@ -1,48 +1,47 @@ PORTNAME= onionprobe PORTVERSION= 1.0.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= egypcio@FreeBSD.org COMMENT= Test and monitor the status of Tor Onion Services WWW= https://pypi.org/project/onionprobe LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} \ ${PY_SETUPTOOLS} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stem>=0:security/py-stem@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ tor:security/tor -USES= python shebangfix +USES= python pycryptography:run shebangfix USE_PYTHON= autoplist distutils NO_ARCH= yes SHEBANG_FILES= packages/*.py \ packages/onionprobe/*.py OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_PLIST_FILES= share/man/man1/onionprobe.1.md.gz post-patch: ${REINPLACE_CMD} "s|%%ETCDIR%%|${ETCDIR}|g" \ ${WRKSRC}/docs/man/onionprobe.1.md \ ${WRKSRC}/packages/onionprobe/config.py ${CP} ${FILESDIR}/extras-setup.py ${WRKSRC}/setup.py \ && ${REINPLACE_CMD} "s|%%NAME%%|${PORTNAME}|g; s|%%VERSION%%|${PORTVERSION}|g" ${WRKSRC}/setup.py post-install-MANPAGES-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 \ && ${INSTALL_MAN} ${WRKSRC}/docs/man/onionprobe.1.md ${STAGEDIR}${PREFIX}/share/man/man1/. .include diff --git a/net/py-cepa/Makefile b/net/py-cepa/Makefile index 1cead5af834f..34cfd1b8b776 100644 --- a/net/py-cepa/Makefile +++ b/net/py-cepa/Makefile @@ -1,35 +1,34 @@ PORTNAME= cepa PORTVERSION= 1.8.4 CATEGORIES= net security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python controller library for Tor, with v3 onion client auth support WWW= https://github.com/onionshare/cepa LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}\ - ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} TEST_DEPENDS= tor:security/tor \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} -USES= python shebangfix +USES= python pycryptography:run shebangfix USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes SHEBANG_FILES= *.py CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}stem-* do-test: @cd ${WRKSRC} \ && ${PYTHON_CMD} run_tests.py -a .include diff --git a/net/py-ripe.atlas.sagan/Makefile b/net/py-ripe.atlas.sagan/Makefile index 6e24dafdc890..456eb763acac 100644 --- a/net/py-ripe.atlas.sagan/Makefile +++ b/net/py-ripe.atlas.sagan/Makefile @@ -1,22 +1,21 @@ PORTNAME= ripe.atlas.sagan PORTVERSION= 1.3.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mstucchi@ripe.net COMMENT= Parsing library for RIPE Atlas measurement results WWW= https://github.com/RIPE-NCC/ripe.atlas.sagan LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/net/py-smbprotocol/Makefile b/net/py-smbprotocol/Makefile index e924360eea3e..cc9fe8248754 100644 --- a/net/py-smbprotocol/Makefile +++ b/net/py-smbprotocol/Makefile @@ -1,22 +1,21 @@ PORTNAME= smbprotocol PORTVERSION= 1.10.1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Interact with a server using the SMB 2/3 Protocol WWW= https://github.com/jborean93/smbprotocol LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyspnego>=0:security/py-pyspnego@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyspnego>=0:security/py-pyspnego@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/net/py-transip/Makefile b/net/py-transip/Makefile index 13b6a26b3028..b18631666770 100644 --- a/net/py-transip/Makefile +++ b/net/py-transip/Makefile @@ -1,23 +1,22 @@ PORTNAME= transip PORTVERSION= 2.1.2 PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= TransIP API Connector WWW= https://github.com/benkonrath/transip-api LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}suds>=0:net/py-suds@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile index b5f3d1d2b961..ea9048154226 100644 --- a/net/py-urllib3/Makefile +++ b/net/py-urllib3/Makefile @@ -1,48 +1,48 @@ PORTNAME= urllib3 PORTVERSION= 1.26.16 PORTEPOCH= 1 CATEGORIES= net python MASTER_SITES= PYPI \ https://github.com/urllib3/urllib3/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= HTTP library with thread-safe connection pooling, file post, and more WWW= https://github.com/urllib3/urllib3 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4,1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR} USES= cpe python USE_PYTHON= autoplist concurrent distutils pytest CPE_VENDOR= python NO_ARCH= yes TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src # Test 'test_ssl_read_timeout' fails with FreeBSD >= 12.0. That was already the case with earlier versions of net/py-urllib3. PYTEST_IGNORED_TESTS= test_ssl_read_timeout SUB_FILES= pkg-message OPTIONS_DEFINE= BROTLI SOCKS SSL OPTIONS_DEFAULT=SOCKS SSL BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR} SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6<2.0:net/py-pysocks@${PY_FLAVOR} SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} +SSL_USES= pycryptography:build,test,run +SSL_USES_OFF= pycryptography:test .include diff --git a/net/scapy/Makefile b/net/scapy/Makefile index b261972fe160..90839a4b8b0e 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -1,55 +1,54 @@ PORTNAME= scapy PORTVERSION= 2.5.0 PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Powerful interactive packet manipulation program in python WWW= https://scapy.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libdnet>0:net/py-libdnet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pypcap>0:net/py-pypcap@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pypcap>0:net/py-pypcap@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= GRAPH IPYTHON P0F_BASE MANUF MATPLOT NMAP PYCRYPTO PYX SOX GRAPH_DESC= graph generation and visualization IPYTHON_DESC= Use IPython (enhanced interactive shell) MANUF_DESC= wireshark's MANUF MAC database MATPLOT_DESC= Install python matplotlibs NMAP_DESC= nmap OS signatures database P0F_BASE_DESC= p0f OS signatures database PYCRYPTO_DESC= Use py-crypto for WEP decoding PYX_DESC= PostScript and PDF graphs drawing SOX_DESC= Support for VoIP GRAPH_USES= magick:6,run GRAPH_RUN_DEPENDS= ${LOCALBASE}/bin/dot:graphics/graphviz IPYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} NMAP_RUN_DEPENDS= ${LOCALBASE}/share/nmap/nmap-os-db:security/nmap MANUF_RUN_DEPENDS= ${LOCALBASE}/share/wireshark/manuf:net/wireshark MATPLOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} P0F_BASE_RUN_DEPENDS= ${LOCALBASE}/etc/p0f.fp:net-mgmt/p0f PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} PYX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyx>0:graphics/py-pyx@${PY_FLAVOR} SOX_RUN_DEPENDS= ${LOCALBASE}/bin/sox:audio/sox post-patch: @${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py @${REINPLACE_CMD} "s,/usr/share/,${LOCALBASE}/share/," \ ${WRKSRC}/scapy/modules/nmap.py @${REINPLACE_CMD} "s,/etc/,${LOCALBASE}/etc/," \ ${WRKSRC}/scapy/modules/p0f.py @${REINPLACE_CMD} 's|"use" in line|"use" in line or "nhop" in line|' \ ${WRKSRC}/scapy/arch/unix.py .include diff --git a/news/sabnzbd/Makefile b/news/sabnzbd/Makefile index e1cc10adb619..b33a4a1d292a 100644 --- a/news/sabnzbd/Makefile +++ b/news/sabnzbd/Makefile @@ -1,86 +1,86 @@ PORTNAME= sabnzbd DISTVERSION= 4.0.2 CATEGORIES= news MASTER_SITES= https://github.com/sabnzbd/sabnzbd/releases/download/${DISTVERSION}/ DISTNAME= SABnzbd-${DISTVERSION}-src MAINTAINER= james@french.id.au COMMENT= Web-interface based binary newsgrabber in python, with nzb support WWW= https://sabnzbd.org/ LICENSE= BSD2CLAUSE BSD3CLAUSE GPLv2+ ISCL MIT PSFL LICENSE_COMB= multi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah3>=0:devel/py-cheetah3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cherrypy>=8.9.1:www/py-cherrypy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.0:textproc/py-feedparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}portend>=0:net/py-portend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sabctools>=7.1.0<7.1.0_99:news/py-sabctools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}guessit>0:multimedia/py-guessit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}puremagic>0:sysutils/py-puremagic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \ par2repair:archivers/par2cmdline \ unrar:archivers/unrar USES= python shebangfix gettext USE_RC_SUBR= sabnzbd SHEBANG_FILES= SABnzbd.py tools/msgfmt.py NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} WRKSRC= ${WRKDIR}/SABnzbd-${DISTVERSION} USERS= _sabnzbd GROUPS= _sabnzbd PORTDOCS= COPYRIGHT.txt \ INSTALL.txt \ ISSUES.txt \ README.mkd OPTIONS_DEFINE= 7ZIP SSL DOCS NOTIFY2 DBUS PYGOBJECT OPTIONS_DEFAULT= 7ZIP SSL 7ZIP_DESC= Needed for unpacking 7-Zip posts DBUS_DESC= DBUS support for system power management NOTIFY2_DESC= Notify2 support PYGOBJECT_DESC= PyGObject support for system tray icon (requires cairo) 7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} NOTIFY2_IMPLIES= DBUS NOTIFY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify2>=0:devel/py-notify2@${PY_FLAVOR} PYGOBJECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.10.2:devel/py-gobject3@${PY_FLAVOR} -SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} +SSL_USES= pycryptography:run post-patch: @${REINPLACE_CMD} -e "s:%%DATADIR%%:'${DATADIR}':g" \ ${WRKSRC}/SABnzbd.py # Generate locale files do-build: cd ${WRKSRC} && ${PYTHON_CMD} tools/make_mo.py do-install: ${INSTALL_SCRIPT} ${WRKSRC}/SABnzbd.py ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sabnzbd cd ${WRKSRC}/sabnzbd && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sabnzbd @${MKDIR} ${STAGEDIR}${DATADIR} .for i in email icons interfaces locale po tools @${MKDIR} ${STAGEDIR}${DATADIR}/${i} cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/caldera/Makefile b/security/caldera/Makefile index 2899e046379c..12b167ffd851 100644 --- a/security/caldera/Makefile +++ b/security/caldera/Makefile @@ -1,101 +1,100 @@ PORTNAME= caldera DISTVERSION= 4.2.0 CATEGORIES= security python MAINTAINER= acm@FreeBSD.org COMMENT= Automated Adversary Emulation Platform WWW= https://github.com/mitre/caldera LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp-jinja2>0:www/py-aiohttp-jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp-session>0:www/py-aiohttp-session@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp-security>0:security/py-aiohttp-security@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp-apispec>0:devel/py-aiohttp-apispec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dirhash>0:security/py-dirhash@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docker>0:sysutils/py-docker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}donut-shellcode>0:devel/py-donut-shellcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}marshmallow-enum>0:devel/py-marshmallow-enum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap3>0:net/py-ldap3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svglib>0:converters/py-svglib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asyncssh>0:security/py-asyncssh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aioftp>0:ftp/py-aioftp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyautogui>0:x11/py-pyautogui@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}selenium>0:www/py-selenium@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webdriver_manager>0:www/py-webdriver_manager@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ upx>0:archivers/upx \ base64>0:converters/base64 \ git>0:devel/git \ bash>0:shells/bash USE_GITHUB= yes GH_ACCOUNT= mitre GH_PROJECT= ${PORTNAME} GH_TUPLE= mitre:access:0e67776:access/plugins/access \ mitre:atomic:9e2c958:atomic/plugins/atomic \ mitre:builder:f2ce67c:builder/plugins/builder \ mitre:compass:fb88e02:compass/plugins/compass \ mitre:debrief:e4d4f9e:debrief/plugins/debrief \ mitre:emu:02a0f3e:emu/plugins/emu \ mitre:fieldmanual:c286e77:fieldmanual/plugins/fieldmanual \ mitre:gameboard:3d98c32:gameboard/plugins/gameboard \ mitre:human:4368dea:human/plugins/human \ mitre:manx:e7205ea:manx/plugins/manx \ mitre:response:889213a:response/plugins/response \ mitre:sandcat:7c326bd:sandcat/plugins/sandcat \ mitre:ssl:ac5bfcb:ssl/plugins/ssl \ mitre:stockpile:960f9ad:stockpile/plugins/stockpile \ mitre:training:b058b67:training/plugins/training -USES= dos2unix go:run python +USES= dos2unix go:run python pycryptography:run NO_ARCH= yes NO_BUILD= yes DOS2UNIX_REGEX= .*\.([yml]) CALDERA_USER= caldera CALDERA_GROUP= caldera USERS= ${CALDERA_USER} GROUPS= ${CALDERA_GROUP} USE_RC_SUBR= ${PORTNAME:S/-/_/} SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ WWWDIR=${WWWDIR} OPTIONS_DEFINE= HAPROXY OPTIONS_DEFAULT=HAPROXY HAPROXY_DESC= Support for HTTPS HAPROXY_RUN_DEPENDS=haproxy20>0:net/haproxy20 post-extract: ${RM} -R ${WRKSRC}/.github cd ${WRKSRC} && ${RM} .coveragerc .dockerignore .eslintrc.js .flake8 \ .git* .pre* .stylelintrc.json Dockerfile post-patch: cd ${WRKSRC} && \ ${FIND} . -type f -name "*.orig" -exec ${RM} "{}" \; do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/security/cowrie/Makefile b/security/cowrie/Makefile index 0b8b125b1f30..b2999fcf3c47 100644 --- a/security/cowrie/Makefile +++ b/security/cowrie/Makefile @@ -1,40 +1,39 @@ PORTNAME= cowrie DISTVERSIONPREFIX= v DISTVERSION= 2.5.0 CATEGORIES= security python MAINTAINER= yuri@FreeBSD.org COMMENT= Cowrie SSH/Telnet honeypot WWW= https://www.cowrie.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/docs/LICENSE.rst BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>0:devel/py-incremental@${PY_FLAVOR} RUN_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bcrypt>0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tftpy>0:ftp/py-tftpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR} -USES= python shebangfix +USES= python pycryptography:run shebangfix SHEBANG_FILES= bin/cowrie USE_GITHUB= yes USE_PYTHON= distutils noflavors autoplist CONFLICTS_INSTALL= py*-asciinema # bin/asciinema NO_ARCH= yes .include diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile index 243dfcc9d9e1..f5207dd77520 100644 --- a/security/py-SecretStorage/Makefile +++ b/security/py-SecretStorage/Makefile @@ -1,23 +1,22 @@ PORTNAME= SecretStorage PORTVERSION= 3.3.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store passwords using the SecretService DBus API WWW= https://pypi.org/project/SecretStorage/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jeepney>=0.6:devel/py-jeepney@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-acme/Makefile b/security/py-acme/Makefile index 205bc08fe50e..4e58946841df 100644 --- a/security/py-acme/Makefile +++ b/security/py-acme/Makefile @@ -1,28 +1,27 @@ PORTNAME= acme PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= ACME protocol implementation in Python WWW= https://github.com/certbot/certbot/tree/master/acme LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.5.0,1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}josepy>=1.13.0:security/py-josepy@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}josepy>=1.13.0:security/py-josepy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=17.5.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrfc3339>=0:devel/py-pyrfc3339@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.3,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils pytest NO_ARCH= yes .include "version.mk" .include diff --git a/security/py-asyncssh/Makefile b/security/py-asyncssh/Makefile index d3687c19adcc..58199d6118c9 100644 --- a/security/py-asyncssh/Makefile +++ b/security/py-asyncssh/Makefile @@ -1,42 +1,41 @@ PORTNAME= asyncssh PORTVERSION= 2.13.2 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Asynchronous SSHv2 client and server library WWW= https://github.com/ronf/asyncssh LICENSE= EPL LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6:devel/py-typing-extensions@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6:devel/py-typing-extensions@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes CPE_VENDOR= asyncssh_project OPTIONS_DEFINE= BCRYPT FIDO2 GSSAPI LIBNACL NETTLE PKCS11 PYOPENSSL OPTIONS_DEFAULT=BCRYPT FIDO2 PYOPENSSL BCRYPT_DESC= OpenSSH private key encryption FIDO2_DESC= FIDO2 support GSSAPI_DESC= GSSAPI key exchange and authentication LIBNACL_DESC= Curve25519, Ed25519 and Chacha20-Poly1305 support NETTLE_DESC= UMAC cryptographic hashes PKCS11_DESC= PKCS \#11 support PYOPENSSL_DESC= X.509 certificate authentication BCRYPT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR} FIDO2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fido2>=0.9.2:security/py-fido2@${PY_FLAVOR} GSSAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.2.0:security/py-gssapi@${PY_FLAVOR} LIBNACL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libnacl>=1.4.2:security/py-libnacl@${PY_FLAVOR} NETTLE_LIB_DEPENDS= libnettle.so:security/nettle PKCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0:security/py-python-pkcs11@${PY_FLAVOR} PYOPENSSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=17.0.0:security/py-openssl@${PY_FLAVOR} .include diff --git a/security/py-authlib/Makefile b/security/py-authlib/Makefile index b7e2e73910af..13d686a32c3d 100644 --- a/security/py-authlib/Makefile +++ b/security/py-authlib/Makefile @@ -1,23 +1,21 @@ PORTNAME= authlib PORTVERSION= 1.2.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Authlib-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ultimate Python library in building OAuth and OpenID Connect servers WWW= https://authlib.org/ \ https://github.com/lepture/authlib LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.2:security/py-cryptography@${PY_FLAVOR} - -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-azure-keyvault-keys/Makefile b/security/py-azure-keyvault-keys/Makefile index 56ab3c1230d7..8f309aa1f7c2 100644 --- a/security/py-azure-keyvault-keys/Makefile +++ b/security/py-azure-keyvault-keys/Makefile @@ -1,25 +1,24 @@ PORTNAME= azure-keyvault-keys PORTVERSION= 4.8.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Microsoft Azure Key Vault Keys Client Library for Python WWW= https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1<2:www/py-azure-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-core>=1.24.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.1:devel/py-typing-extensions@${PY_FLAVOR} -USES= python zip +USES= python pycryptography:run zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-badkeys/Makefile b/security/py-badkeys/Makefile index e6e2430d6306..159729f4ebcc 100644 --- a/security/py-badkeys/Makefile +++ b/security/py-badkeys/Makefile @@ -1,23 +1,22 @@ PORTNAME= badkeys DISTVERSION= 0.0.5 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= otis@FreeBSD.org COMMENT= Tool to check public keys for known vulnerabilities WWW= https://github.com/badkeys/badkeys LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-cert-human/Makefile b/security/py-cert-human/Makefile index 671f7711364d..cef7076bb0b0 100644 --- a/security/py-cert-human/Makefile +++ b/security/py-cert-human/Makefile @@ -1,25 +1,24 @@ PORTNAME= cert-human PORTVERSION= 1.0.7 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= cert_human-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SSL Certificates for Humans WWW= https://github.com/lifehackjim/cert_human LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-certbot/Makefile b/security/py-certbot/Makefile index a4388b27a010..16b901264745 100644 --- a/security/py-certbot/Makefile +++ b/security/py-certbot/Makefile @@ -1,61 +1,60 @@ PORTNAME= certbot PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Let's Encrypt client #' WWW= https://github.com/certbot/certbot LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.5.0,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}josepy>=1.13.0:security/py-josepy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.4:devel/py-parsedatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrfc3339>=0:devel/py-pyrfc3339@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.3,1:devel/py-pytz@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes PLIST_FILES= etc/periodic/weekly/500.certbot-${PYTHON_VER} SUB_FILES= 500.certbot pkg-message SUB_LIST= PYTHON_VER=${PYTHON_VER} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.sphinx.autointerface>=0:devel/py-repoze.sphinx.autointerface@${PY_FLAVOR} \ MANPAGES_PLIST_FILES= share/man/man1/certbot.1.gz \ share/man/man7/certbot.7.gz post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat/misc.py ${WRKSRC}/certbot/_internal/tests/cli_test.py post-build-MANPAGES-on: # Avoid gmake / ${DO_MAKE_BUILD} -C ${WRKSRC}/docs man cd ${WRKSRC}/docs && sphinx-build-${PYTHON_VER} -N -b man . _build/man post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly ${INSTALL_SCRIPT} ${WRKDIR}/500.certbot ${STAGEDIR}${PREFIX}/etc/periodic/weekly/500.certbot-${PYTHON_VER} post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/share/man/man7 .include "${.CURDIR}/../py-acme/version.mk" .include diff --git a/security/py-dfvfs/Makefile b/security/py-dfvfs/Makefile index ec6be99cdbe0..ae3fb085efdb 100644 --- a/security/py-dfvfs/Makefile +++ b/security/py-dfvfs/Makefile @@ -1,60 +1,59 @@ PORTNAME= dfvfs PORTVERSION= 20221224 CATEGORIES= security devel python MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Digital Forensics Virtual File System WWW= https://github.com/log2timeline/dfvfs LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= libbde>=a:devel/libbde \ libewf>=0:devel/libewf \ libfsapfs>=e:devel/libfsapfs \ libfsext>=e:devel/libfsext \ libfsfat>=e:devel/libfsfat \ libfshfs>=e:devel/libfshfs \ libfsntfs>=e:devel/libfsntfs \ libfsxfs>=e:devel/libfsxfs \ libfvde>=0:sysutils/libfvde \ libfwnt>=e:devel/libfwnt \ libluksde>=e:devel/libluksde \ libmodi>=e:devel/libmodi \ libphdi>=e:devel/libphdi \ libqcow>=a:devel/libqcow \ libsigscan>=e:devel/libsigscan \ libsmdev>=a:devel/libsmdev \ libsmraw>=a:devel/libsmraw \ libvhdi>=e:devel/libvhdi \ libvmdk>=e:devel/libvmdk \ libvsgpt>=e:devel/libvsgpt \ libvshadow>=0:devel/libvshadow \ libvslvm>=e:devel/libvslvm \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xattr>=0:devel/py-xattr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_LOCALE= en_US.UTF-8 USE_PYTHON= distutils autoplist concurrent DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} TEST_TARGET= run_tests.py NO_ARCH= yes # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar post-patch: ${REINPLACE_CMD} "s,share/doc/dfvfs,${DOCSDIR_REL}," ${WRKSRC}/setup.py ${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt .include diff --git a/security/py-fido2/Makefile b/security/py-fido2/Makefile index c47d3502b793..c717c0cd7a1b 100644 --- a/security/py-fido2/Makefile +++ b/security/py-fido2/Makefile @@ -1,24 +1,25 @@ PORTNAME= fido2 PORTVERSION= 1.1.2 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Provides library functionality for FIDO 2.0 WWW= https://github.com/Yubico/python-fido2 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} xRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<40,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} +# assuming xRUN_DEPENDS is a typo, add: pycryptography:run USES= python USE_PYTHON= autoplist pep517 unittest NO_ARCH= yes .include diff --git a/security/py-josepy/Makefile b/security/py-josepy/Makefile index 6945cd5d1c09..09edce09c505 100644 --- a/security/py-josepy/Makefile +++ b/security/py-josepy/Makefile @@ -1,27 +1,26 @@ PORTNAME= josepy PORTVERSION= 1.13.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= JOSE protocol implementation in Python WWW= https://josepy.readthedocs.io/en/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.5:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cache>=1.0:devel/py-pytest-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0.5:devel/py-pytest-flake8@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include diff --git a/security/py-msoffcrypto-tool/Makefile b/security/py-msoffcrypto-tool/Makefile index d285d809397c..5f0961303e5c 100644 --- a/security/py-msoffcrypto-tool/Makefile +++ b/security/py-msoffcrypto-tool/Makefile @@ -1,21 +1,20 @@ PORTNAME= msoffcrypto-tool PORTVERSION= 5.0.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python tool and library for decrypting MS Office files WWW= https://github.com/nolze/msoffcrypto-tool LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.3:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}olefile>=0.45:devel/py-olefile@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>=0.45:devel/py-olefile@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= concurrent distutils autoplist NO_ARCH= yes .include diff --git a/security/py-noiseprotocol/Makefile b/security/py-noiseprotocol/Makefile index df7bb20ace14..7652535f9f34 100644 --- a/security/py-noiseprotocol/Makefile +++ b/security/py-noiseprotocol/Makefile @@ -1,20 +1,18 @@ PORTNAME= noiseprotocol PORTVERSION= 0.3.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Python implementation of Noise Protocol Framework WWW= https://pypi.org/project/noiseprotocol/ LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} - -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile index 27e7fd99c70a..519a510871f4 100644 --- a/security/py-oauthlib/Makefile +++ b/security/py-oauthlib/Makefile @@ -1,36 +1,36 @@ PORTNAME= oauthlib PORTVERSION= 3.2.2 CATEGORIES= security net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generic, spec-compliant, thorough implementation of the OAuth request-signing logic WWW= https://github.com/oauthlib/oauthlib LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6:devel/py-pytest-cov@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN OPTIONS_DEFAULT=RSA SIGNALS SIGNEDTOKEN RSA_DESC= RSA support SIGNALS_DESC= Signal support SIGNEDTOKEN_DESC= Signed token support -RSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.0.0:security/py-cryptography@${PY_FLAVOR} +RSA_USES= pycryptography:run SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=1.4.0:devel/py-blinker@${PY_FLAVOR} -SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.0.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0<3:www/py-pyjwt@${PY_FLAVOR} +SIGNEDTOKEN_USES= pycryptography:run +SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0<3:www/py-pyjwt@${PY_FLAVOR} do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile index e100ead0b305..51636939b53c 100644 --- a/security/py-openssl/Makefile +++ b/security/py-openssl/Makefile @@ -1,53 +1,52 @@ PORTNAME= openssl DISTVERSION= 21.0.0 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSL-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Python interface to the OpenSSL library WWW= https://github.com/pyca/pyopenssl 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} +RUN_DEPENDS= ${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 pycryptography:run USE_PYTHON= autoplist concurrent distutils pythonprefix NO_ARCH= yes CPE_VENDOR= jean-paul_calderone CPE_PRODUCT= py${PORTNAME} # Use options.mk to use OSVERSION and handle redefine PORTEPOCH .include # We need to keep old py-cryptography and py-penssl for 11.x release # due to outdated OpenSSL version in base # 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 diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile index 2301bc4ea5a1..d50723de421e 100644 --- a/security/py-paramiko/Makefile +++ b/security/py-paramiko/Makefile @@ -1,33 +1,32 @@ PORTNAME= paramiko PORTVERSION= 2.11.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Python SSH2 protocol library WWW= https://www.paramiko.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.5:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.7:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}invoke>=0:devel/py-invoke@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-relaxed>=0:devel/py-pytest-relaxed@${PY_FLAVOR} -USES= cpe pytest:4 python +USES= cpe pytest:4 python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= GSSAPI GSSAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.4.1:security/py-gssapi@${PY_FLAVOR} PYTEST_ARGS= -p no:relaxed .include diff --git a/security/py-pgpy/Makefile b/security/py-pgpy/Makefile index 858d8f7ca6e9..05dc7059f343 100644 --- a/security/py-pgpy/Makefile +++ b/security/py-pgpy/Makefile @@ -1,24 +1,23 @@ PORTNAME= pgpy PORTVERSION= 0.5.3 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PGPy-${PORTVERSION} MAINTAINER= contact@evilham.com COMMENT= Pretty Good Privacy for Python WWW= https://github.com/SecurityInnovation/PGPy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-plaso/Makefile b/security/py-plaso/Makefile index 373219618794..1dbfdebac506 100644 --- a/security/py-plaso/Makefile +++ b/security/py-plaso/Makefile @@ -1,77 +1,76 @@ PORTNAME= plaso PORTVERSION= 20221229 CATEGORIES= security python MASTER_SITES= https://github.com/log2timeline/plaso/releases/download/${PORTVERSION}/ \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Automatic creation of a super timeline WWW= https://github.com/log2timeline/plaso/wiki LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= libesedb>=e:devel/libesedb \ libevt>=a:devel/libevt \ libevtx>=a:devel/libevtx \ libfwsi>=e:devel/libfwsi \ liblnk>=0:devel/liblnk \ libmsiecf>=a:devel/libmsiecf \ libolecf>=a:devel/libolecf \ libregf>=a:devel/libregf \ libscca>=a:devel/libscca \ libsigscan>=e:devel/libsigscan \ ${PYTHON_PKGNAMEPREFIX}artifacts>=0:security/py-artifacts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bencode.py>=0:converters/py-bencode.py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfvfs>=0:security/py-dfvfs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfwinreg>=0:security/py-dfwinreg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0:archivers/py-lz4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opensearch-py>=0:textproc/py-opensearch-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pefile>=0:devel/py-pefile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xattr>=0:devel/py-xattr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0:textproc/py-xlsxwriter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yara>=0:security/py-yara@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fakeredis>=0:databases/py-fakeredis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_LOCALE= en_US.UTF-8 USE_PYTHON= distutils autoplist concurrent # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} ${TAR} DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} TEST_TARGET= run_tests.py NO_ARCH= yes post-patch: ${REINPLACE_CMD} "s|'share', 'artifacts'|'share', '${PYTHON_PKGNAMEPREFIX}artifacts'|" \ ${WRKSRC}/plaso/cli/helpers/artifact_definitions.py ${REINPLACE_CMD} "s|'share', 'plaso'|'share', '${PYTHON_PKGNAMEPREFIX}plaso'|" \ ${WRKSRC}/plaso/cli/helpers/data_location.py ${REINPLACE_CMD} "s|share/doc/plaso|${DOCSDIR_REL}| ; s|share/plaso|${DATADIR_REL}|" \ ${WRKSRC}/setup.py ${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt ${MV} ${WRKSRC}/test_data/link_to_testdir ${WRKSRC}/test_data/testdir ${LN} -s testdir ${WRKSRC}/test_data/link_to_testdir .include diff --git a/security/py-pyhanko-certvalidator/Makefile b/security/py-pyhanko-certvalidator/Makefile index 8da3344eef5b..09b39a3bc089 100644 --- a/security/py-pyhanko-certvalidator/Makefile +++ b/security/py-pyhanko-certvalidator/Makefile @@ -1,27 +1,26 @@ PORTNAME= pyhanko-certvalidator PORTVERSION= 0.23.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Validates X.509 certificates and paths WWW= https://github.com/MatthiasValvekens/certvalidator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oscrypto>=1.1.0:security/py-oscrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritools>=3.0.1:net/py-uritools@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index f06663f8c409..1340caae646b 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,52 +1,51 @@ PORTNAME= pyhanko PORTVERSION= 0.19.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyHanko-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools for stamping and signing PDF files WWW= https://github.com/MatthiasValvekens/pyHanko LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.23<0.24:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzlocal>=4.3:devel/py-tzlocal@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= IMAGE_SUPPORT OPENTYPE PKGCS11 XMP IMAGE_SUPPORT_DESC= Image handling support OPENTYPE_DESC= OpenType/TrueType support PKGCS11_DESC= PKGCS\#11 support XMP_DESC= XMP (Extensible Metadata Platform) support IMAGE_SUPPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=7.2.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-barcode>=0.14.0<0.14.0_99:graphics/py-python-barcode@${PY_FLAVOR} OPENTYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.33.3:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.25.0:print/py-uharfbuzz@${PY_FLAVOR} PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0<0.8:security/py-python-pkcs11@${PY_FLAVOR} XMP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} .include .if ${PYTHON_REL} < 30900 # tzdata is from backports.zoneinfo[tzdata] RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR} .endif .include diff --git a/security/py-pysaml2/Makefile b/security/py-pysaml2/Makefile index f5f9afbb6dd3..bbac35fd965b 100644 --- a/security/py-pysaml2/Makefile +++ b/security/py-pysaml2/Makefile @@ -1,46 +1,45 @@ PORTNAME= pysaml2 PORTVERSION= 7.4.2 CATEGORIES= security devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 WWW= https://github.com/IdentityPython/pysaml2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.1,1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0,1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlschema>=1.2.1:textproc/py-xmlschema@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} -USES= cpe python:3.9+ shebangfix +USES= cpe python:3.9+ pycryptography:run shebangfix USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CPE_VENDOR= pysaml2_project SHEBANG_FILES= src/saml2/authn_context/timesync.py OPTIONS_DEFINE= S2REPOZE S2REPOZE_DESC= Repoze module support S2REPOZE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pysaml24/Makefile b/security/py-pysaml24/Makefile index 31de27a3171c..b609d2a470e0 100644 --- a/security/py-pysaml24/Makefile +++ b/security/py-pysaml24/Makefile @@ -1,43 +1,42 @@ PORTNAME= pysaml2 PORTVERSION= 4.9.0 PORTREVISION= 1 CATEGORIES= security devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 4 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 WWW= https://github.com/rohe/pysaml2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= pysaml2_project PORTSCOUT= limit:^4\. do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pysaml26/Makefile b/security/py-pysaml26/Makefile index 30189587a508..fe57cc89a04a 100644 --- a/security/py-pysaml26/Makefile +++ b/security/py-pysaml26/Makefile @@ -1,44 +1,43 @@ PORTNAME= pysaml2 PORTVERSION= 6.5.2 CATEGORIES= security devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 6 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 WWW= https://github.com/IdentityPython/pysaml2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlschema>=1.2.1:textproc/py-xmlschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= pysaml2_project PORTSCOUT= limit:^6\. do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pyspnego/Makefile b/security/py-pyspnego/Makefile index c7068359095b..b403ea8ca8b9 100644 --- a/security/py-pyspnego/Makefile +++ b/security/py-pyspnego/Makefile @@ -1,31 +1,30 @@ PORTNAME= pyspnego PORTVERSION= 0.9.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Windows Negotiate Authentication Client and Server WWW= https://github.com/jborean93/pyspnego LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0,1:security/py-cryptography@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= KERBEROS YAML KERBEROS_DESC= Kerberos authentication support YAML_DESC= YAML output support KERBEROS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.6.0:security/py-gssapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}krb5>=0.3.0:security/py-krb5@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR} .include diff --git a/security/py-python-axolotl/Makefile b/security/py-python-axolotl/Makefile index 90b7448dd1c6..f4cfa2b184c9 100644 --- a/security/py-python-axolotl/Makefile +++ b/security/py-python-axolotl/Makefile @@ -1,22 +1,21 @@ PORTNAME= python-axolotl PORTVERSION= 0.1.42 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= meka@tilda.center COMMENT= Python port of libaxolotl-android WWW= https://github.com/tgalal/python-axolotl LICENSE= GPLv3 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-axolotl-curve25519>=0:security/py-python-axolotl-curve25519@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-axolotl-curve25519>=0:security/py-python-axolotl-curve25519@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0:devel/py-protobuf@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-requests-credssp/Makefile b/security/py-requests-credssp/Makefile index 2ea9b93e5f4c..64dc016faa75 100644 --- a/security/py-requests-credssp/Makefile +++ b/security/py-requests-credssp/Makefile @@ -1,26 +1,25 @@ PORTNAME= requests-credssp PORTVERSION= 1.2.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rozhuk.im@gmail.com COMMENT= Authentication handler for using CredSSP with Python Requests WWW= https://github.com/jborean93/requests-credssp LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.3.1:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyspnego>0:security/py-pyspnego@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-securesystemslib/Makefile b/security/py-securesystemslib/Makefile index 2bd01feeecde..58073748c3b8 100644 --- a/security/py-securesystemslib/Makefile +++ b/security/py-securesystemslib/Makefile @@ -1,33 +1,32 @@ PORTNAME= securesystemslib PORTVERSION= 0.28.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Cryptographic and general-purpose routines WWW= https://github.com/secure-systems-lab/securesystemslib LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.2:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR} TEST_DEPENDS= ${LOCALBASE}/bin/gpg:security/gnupg -USES= python pytest shebangfix +USES= python pycryptography:run pytest shebangfix USE_PYTHON= autoplist pep517 PYTEST_ARGS= tests SHEBANG_FILES= securesystemslib/settings.py \ securesystemslib/schema.py \ securesystemslib/_vendor/test-ed25519-upstream.sh \ securesystemslib/keys.py \ securesystemslib/rsa_keys.py \ securesystemslib/hash.py \ securesystemslib/formats.py NO_ARCH= yes .include diff --git a/security/py-service_identity/Makefile b/security/py-service_identity/Makefile index fbc147dcbc08..fa44c36be546 100644 --- a/security/py-service_identity/Makefile +++ b/security/py-service_identity/Makefile @@ -1,24 +1,23 @@ PORTNAME= service_identity PORTVERSION= 18.1.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= axel.rau@chaos1.de COMMENT= Service identity verification for pyOpenSSL WWW= https://github.com/pyca/service_identity LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=16.0.0:devel/py-attrs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile index ac1df805e10f..131605229330 100644 --- a/security/py-social-auth-core/Makefile +++ b/security/py-social-auth-core/Makefile @@ -1,41 +1,40 @@ PORTNAME= social-auth-core DISTVERSION= 4.4.2 CATEGORIES= security www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ultima@FreeBSD.org COMMENT= Social authentication/registration mechanism for several frameworks WWW= https://github.com/python-social-auth/social-core LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python3-openid>=3.0.10:security/py-python3-openid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oauthlib>=1.0.3:security/py-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.6.1:www/py-requests-oauthlib@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpretty>=0.9.6:www/py-httpretty@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage>=3.6:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.7.1:devel/py-pytest-cov@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes OPTIONS_DEFINE= OPENID SAML OPTIONS_DEFAULT= OPENID SAML OPENID_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-jose>=3.0.0:security/py-python-jose@${PY_FLAVOR} OPENID_DESC?= OpenID connect Support SAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python3-saml>=1.5.0:security/py-python3-saml@${PY_FLAVOR} SAML_DESC?= SAML Support .include diff --git a/security/py-sshpubkeys/Makefile b/security/py-sshpubkeys/Makefile index 7b34ecd988b2..0c206146df8f 100644 --- a/security/py-sshpubkeys/Makefile +++ b/security/py-sshpubkeys/Makefile @@ -1,22 +1,21 @@ PORTNAME= sshpubkeys PORTVERSION= 3.3.1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SSH public key parser WWW= https://github.com/ojarva/python-sshpubkeys LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-sslyze/Makefile b/security/py-sslyze/Makefile index cd5cd82d47eb..a190953993b8 100644 --- a/security/py-sslyze/Makefile +++ b/security/py-sslyze/Makefile @@ -1,28 +1,27 @@ PORTNAME= sslyze PORTVERSION= 5.1.3 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast and powerful SSL/TLS scanning library WWW= https://github.com/nabla-c0d3/sslyze LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6,1<40,1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}nassl>=5<6:security/py-nassl@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nassl>=5<6:security/py-nassl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.11:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=20,1<24,1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tls-parser>=2<3:security/py-tls-parser@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/sslyze/plugins/openssl_cipher_suites/_tls12_workaround.py .include diff --git a/security/py-stem/Makefile b/security/py-stem/Makefile index 586872f918a5..05aa301fb61e 100644 --- a/security/py-stem/Makefile +++ b/security/py-stem/Makefile @@ -1,26 +1,25 @@ PORTNAME= stem PORTVERSION= 1.8.1 CATEGORIES= security net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python controller library for Tor WWW= https://stem.torproject.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py -a .include diff --git a/security/py-trustme/Makefile b/security/py-trustme/Makefile index 887c0665bc7e..6728324a85c6 100644 --- a/security/py-trustme/Makefile +++ b/security/py-trustme/Makefile @@ -1,26 +1,25 @@ PORTNAME= trustme PORTVERSION= 1.0.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Top quality TLS certs while you wait, for the discerning tester WWW= https://github.com/python-trio/trustme LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2 LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils pytest NO_ARCH= yes .include diff --git a/security/py-txtorcon/Makefile b/security/py-txtorcon/Makefile index 1c47679ee150..6496e1099f17 100644 --- a/security/py-txtorcon/Makefile +++ b/security/py-txtorcon/Makefile @@ -1,45 +1,44 @@ PORTNAME= txtorcon DISTVERSION= 23.0.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Twisted-based Tor controller client WWW= https://github.com/meejah/txtorcon LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Automat>0:devel/py-Automat@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=15.5.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.1:devel/py-zope.interface@${PY_FLAVOR} -USES= python shebangfix +USES= python pycryptography:run shebangfix USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/meejah/txtorcon/issues/376 SHEBANG_FILES= examples/*.py NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e " \ s|'share/txtorcon'|'${DOCSDIR}'| ; \ s|'share/txtorcon/examples'|'${EXAMPLESDIR}'|" \ ${WRKSRC}/setup.py post-patch-DOCS-off: @${REINPLACE_CMD} -E " \ s|(.*'${DOCSDIR}'.*)|#\1| ; \ s|(.*'docs/.*',$$)|#\1| ; \ s|(.*\+ sphinx_docs.*)|#\1|" \ ${WRKSRC}/setup.py post-patch-EXAMPLES-off: @${REINPLACE_CMD} -E "s|(.*'${EXAMPLESDIR}'.*)|#\1|" ${WRKSRC}/setup.py .include diff --git a/security/py-webauthn/Makefile b/security/py-webauthn/Makefile index 7f4cecdcf7c0..b3ac811a8c46 100644 --- a/security/py-webauthn/Makefile +++ b/security/py-webauthn/Makefile @@ -1,26 +1,25 @@ PORTNAME= webauthn PORTVERSION= 1.2.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= WebAuthn Python module WWW= https://github.com/duo-labs/py_webauthn LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.24.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=21.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cattrs>=1.8.0:devel/py-cattrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cbor2>=4.0.1:devel/py-cbor2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.4.7:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=20.0.1,1:security/py-openssl@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes .include diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile index d7d6fbef13c3..1e0c98ae7bda 100644 --- a/security/py-yubikey-manager/Makefile +++ b/security/py-yubikey-manager/Makefile @@ -1,36 +1,35 @@ PORTNAME= yubikey-manager PORTVERSION= 4.0.9 PORTREVISION= 4 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python library and command line tool for configuring a YubiKey WWW= https://developers.yubico.com/yubikey-manager/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<40,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fido2>0:security/py-fido2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb@${PY_FLAVOR} \ RSA_SecurID_getpasswd:devel/libccid \ pcsc-spy:devel/pcsc-lite \ u2f-host:security/libu2f-host \ ykpersonalize:security/ykpers TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}makefun>0:devel/py-makefun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= dos2unix python +USES= dos2unix python pycryptography:run USE_PYTHON= autoplist concurrent distutils unittest DOS2UNIX_GLOB= *.adoc *.py NO_ARCH= yes .include diff --git a/sysutils/datadog-integrations/Makefile b/sysutils/datadog-integrations/Makefile index 2ad2917c0bf2..f2c728dc4f3e 100644 --- a/sysutils/datadog-integrations/Makefile +++ b/sysutils/datadog-integrations/Makefile @@ -1,128 +1,125 @@ PORTNAME= datadog-integrations DISTVERSION= 7.24.0 CATEGORIES= sysutils MAINTAINER= uros@gruber.si COMMENT= Datadog Agent Integrations WWW= https://www.datadoghq.com/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} RUN_DEPENDS= datadog-agent>=7.24.1:sysutils/datadog-agent \ ${PYTHON_PKGNAMEPREFIX}botocore>0:devel/py-botocore@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-unixsocket>0:www/py-requests-unixsocket@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uptime>0:sysutils/py-uptime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_GITHUB= yes GH_ACCOUNT= DataDog GH_PROJECT= integrations-core ETCDIR= ${PREFIX}/etc/datadog NO_ARCH= yes NO_BUILD= yes USERS= datadog GROUPS= ${USERS} PLIST_SUB+= USER=${USERS} \ GROUP=${GROUPS} OPTIONS_DEFINE= APACHE CONSUL COREDNS DIRECTORY DISK DNS MYSQL NETWORK NGINX PHP POSTFIX PROCESS REDIS SSH SYS_CORE SYS_SWAP TCP TLS OPTIONS_SUB= yes APACHE_DESC= Apache check integration CONSUL_DESC= Consul check integration COREDNS_DESC= CoreDNS check integration DIRECTORY_DESC= Directory check integration DISK_DESC= Disk check integration DNS_DESC= DNS check integration MYSQL_DESC= MySQL check integration NETWORK_DESC= Network check integration NGINX_DESC= Nginx check integration PHP_DESC= PHP-fpm check integration POSTFIX_DESC= Postfix check integration PROCESS_DESC= Process check integration REDIS_DESC= Redis check integration SSH_DESC= SSH check integration SYS_CORE_DESC= System Core check integration SYS_SWAP_DESC= System Swap check integration TCP_DESC= TCP check integration TLS_DESC= TLS check integration APACHE_VARS= integrations+=apache conffiles+=apache CONSUL_VARS= integrations+=consul conffiles+=consul COREDNS_VARS= integrations+=coredns conffiles+=coredns DIRECTORY_VARS= integrations+=directory conffiles+=directory DISK_VARS= integrations+=disk conffiles+=disk DNS_VARS= integrations+=dns_check conffiles+=dns_check MYSQL_VARS= integrations+=mysql conffiles+=mysql NETWORK_VARS= integrations+=network conffiles+=network NGINX_VARS= integrations+=nginx conffiles+=nginx PHP_VARS= integrations+=php_fpm conffiles+=php_fpm POSTFIX_VARS= integrations+=postfix conffiles+=postfix PROCESS_VARS= integrations+=process conffiles+=process REDIS_VARS= integrations+=redisdb conffiles+=redisdb SSH_VARS= integrations+=ssh_check conffiles+=ssh_check SYS_CORE_VARS= integrations+=system_core conffiles+=system_core SYS_SWAP_VARS= integrations+=system_swap conffiles+=system_swap TCP_VARS= integrations+=tcp_check conffiles+=tcp_check TLS_VARS= integrations+=tls conffiles+=tls # find integrations-core -name setup.py | awk -F\/ '{print $2}' | sort | uniq | grep -v datadog_checks_dev | tr '\n' ' ' INTEGRATIONS= datadog_checks_base # find integrations-core -name conf.yaml.example | awk -F\/ '{print $2}' | sort | uniq | grep -v datadog_checks_dev | tr '\n' ' ' CONFFILES= DIRECTORY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR} DISK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} DNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} -MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} NETWORK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} PHP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup6>0:www/py-flup6@${PY_FLAVOR} PROCESS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} SSH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} SYS_CORE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} SYS_SWAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} -TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} +TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} .include do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d # Install core-integrations .for dir in ${INTEGRATIONS} (cd ${WRKSRC}/${dir}; \ ${PYTHON_CMD} setup.py bdist; \ ${TAR} -xzf dist/*.tar.gz -C ${STAGEDIR}) .endfor post-install: # Install core-integrations .for dir in ${CONFFILES} (cd ${WRKSRC}/${dir}; \ ${MV} datadog_checks/${dir}/data ${STAGEDIR}${ETCDIR}/conf.d/${dir}.d) .endfor .include diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile index 457ff16d9892..ec29c4654a47 100644 --- a/sysutils/py-ansible-core/Makefile +++ b/sysutils/py-ansible-core/Makefile @@ -1,106 +1,105 @@ PORTNAME= ansible-core DISTVERSION= 2.15.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= 0mp@FreeBSD.org COMMENT= Radically simple IT automation WWW= https://www.ansible.com/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<1.1.0:devel/py-resolvelib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ ${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>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ git:devel/git -USES= ansible:env cpe python:3.9+ shebangfix +USES= ansible:env cpe python:3.9+ pycryptography:run shebangfix CPE_VENDOR= redhat CPE_PRODUCT= ansible USE_PYTHON= autoplist concurrent pep517 SHEBANG_REGEX= [.]/test/.*[.]py # Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH. TEST_ENV= ${MAKE_ENV} # The "python" binary alias is needed for the tests. BINARY_ALIAS= python=${PYTHON_CMD} NO_ARCH= yes PLIST_FILES= share/man/man1/ansible-config.1.gz \ share/man/man1/ansible-console.1.gz \ share/man/man1/ansible-doc.1.gz \ share/man/man1/ansible-galaxy.1.gz \ share/man/man1/ansible-inventory.1.gz \ share/man/man1/ansible-playbook.1.gz \ share/man/man1/ansible-pull.1.gz \ share/man/man1/ansible-vault.1.gz \ share/man/man1/ansible.1.gz PORTEXAMPLES= ansible.cfg hosts OPTIONS_DEFINE= DOCS EXAMPLES post-patch: # Preserve the original paths in # test/units/cli/galaxy/test_execute_list_collection.py. # Replacing /usr/share/ansible breaks tests. ${FIND} ${WRKSRC} -not -regex '${WRKSRC}/test/units/cli/galaxy/test_execute_list_collection.py' -type f -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} \ -e 's|/etc/ansible|${ETCDIR}|g' \ -e 's|/usr/share/ansible|${DATADIR}|g' ${FIND} ${WRKSRC} -type f -name "*.bak" -delete post-install: @${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 \ ${STAGEDIR}${MAN1PREFIX}/share/man/man1 post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} post-stage: ${FIND} ${STAGEDIR}${PREFIX}/bin -type l -name ansible-\* -lname ansible \ -execdir ${RLN} ansible-${PYTHON_VER} {} \; # USE_PYTHON=autoplist doesn't add this file to pkg-plist. ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ansible_test/_data/injector/ansible-inventory pre-test: # This one file does not get its paths replaced correctly in post-patch. ${REINPLACE_CMD} 's|"/etc"|"${ETCDIR:H}"|g' \ ${WRKSRC}/test/units/playbook/test_helpers.py # This test constructs a Python script inline and uses an invalid path to it. ${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' \ ${WRKSRC}/test/units/modules/test_async_wrapper.py # Skip the SELinux tests, it's not present on FreeBSD. ${RM} ${WRKSRC}/test/units/module_utils/basic/test_selinux.py # Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1. ${RM} ${WRKSRC}/test/units/utils/test_display.py do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ./bin/ansible-test units -v --python ${PYTHON_VER} .include # Make sure that we override the unique DATADIR and ETCDIR set # by the implicit USES=uniquefiles. DATADIR= ${ANSIBLE_DATADIR} ETCDIR= ${ANSIBLE_ETCDIR} diff --git a/sysutils/py-azure-cli-core/Makefile b/sysutils/py-azure-cli-core/Makefile index 55a028590ea8..482d7bbb161b 100644 --- a/sysutils/py-azure-cli-core/Makefile +++ b/sysutils/py-azure-cli-core/Makefile @@ -1,38 +1,37 @@ PORTNAME= azure-cli-core PORTVERSION= 2.49.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Command-Line Tools Core Module WWW= https://pypi.org/project/azure-cli-core/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=2.0:devel/py-argcomplete@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-cli-telemetry>=1.0.8:sysutils/py-azure-cli-telemetry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}humanfriendly>=10.0:textproc/py-humanfriendly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0:devel/py-jmespath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}knack>=0.10.1:devel/py-knack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msal>=1.20.0:devel/py-msal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msal-extensions>=1.0.0:devel/py-msal-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>=2.0.8<4.0.0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=17.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkginfo>=1.5.0.1:sysutils/py-pkginfo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-core>=1.2.0<2.0.0:devel/py-azure-mgmt-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9:sysutils/py-psutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrestazure>=0.6.4:net-mgmt/py-msrestazure@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} -USES= azurepy python +USES= azurepy python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/sysutils/py-azure-cli/Makefile b/sysutils/py-azure-cli/Makefile index ce6dd02800f9..cb6b1960e0cc 100644 --- a/sysutils/py-azure-cli/Makefile +++ b/sysutils/py-azure-cli/Makefile @@ -1,129 +1,128 @@ PORTNAME= azure-cli PORTVERSION= 2.49.0 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Microsoft Azure Command-Line Tools WWW= https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>=4.9:devel/py-antlr4-python3-runtime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-appconfiguration>=1.1.1:devel/py-azure-appconfiguration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-batch>=13.0.0:devel/py-azure-batch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-cli-core>=${PORTVERSION}:sysutils/py-azure-cli-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-cosmos>=3.0.2:devel/py-azure-cosmos@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-datalake-store>=0.0.49:devel/py-azure-datalake-store@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-graphrbac>=0.60.0:devel/py-azure-graphrbac@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-keyvault>=1.1:devel/py-azure-keyvault@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-keyvault-administration>=4.3.0:devel/py-azure-keyvault-administration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-keyvault-certificates>=4.7.0:security/py-azure-keyvault-certificates@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-keyvault-keys>=4.8.0.b2:security/py-azure-keyvault-keys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-keyvault-secrets>=4.7.0:security/py-azure-keyvault-secrets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-loganalytics>=0.1.1:devel/py-azure-loganalytics@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-advisor>=9.0.0:devel/py-azure-mgmt-advisor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-apimanagement>=3.0.0:devel/py-azure-mgmt-apimanagement@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-applicationinsights>=1.0.0:devel/py-azure-mgmt-applicationinsights@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-appconfiguration>=3.0.0:devel/py-azure-mgmt-appconfiguration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-appcontainers>=2.0.0:devel/py-azure-mgmt-appcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-authorization>=3.0.0:devel/py-azure-mgmt-authorization@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-batch>=17.0.0:devel/py-azure-mgmt-batch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-batchai>=7.0.0.b1:devel/py-azure-mgmt-batchai@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-billing>=6.0.0:devel/py-azure-mgmt-billing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-botservice>=2.0.0.b3:devel/py-azure-mgmt-botservice@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-cdn>=12.0.0:devel/py-azure-mgmt-cdn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-cognitiveservices>=13.3.0:devel/py-azure-mgmt-cognitiveservices@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-compute>=29.1.0:devel/py-azure-mgmt-compute@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-consumption>=2.0:devel/py-azure-mgmt-consumption@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerinstance>=10.1.0:devel/py-azure-mgmt-containerinstance@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerregistry>=10.1.0:devel/py-azure-mgmt-containerregistry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerservice>=23.0.0:devel/py-azure-mgmt-containerservice@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-cosmosdb>=9.2.0:devel/py-azure-mgmt-cosmosdb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-databoxedge>=1.0.0:devel/py-azure-mgmt-databoxedge@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-analytics>=0.2.1:devel/py-azure-mgmt-datalake-analytics@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-store>=0.5.0:devel/py-azure-mgmt-datalake-store@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-datamigration>=10.0.0:devel/py-azure-mgmt-datamigration@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-devtestlabs>=4.0:devel/py-azure-mgmt-devtestlabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-dns>=8.0.0:devel/py-azure-mgmt-dns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-eventgrid>=10.2.0.b2:devel/py-azure-mgmt-eventgrid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-eventhub>=10.1.0:devel/py-azure-mgmt-eventhub@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-extendedlocation>=1.0.0.b2:devel/py-azure-mgmt-extendedlocation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-hdinsight>=9.0.0:devel/py-azure-mgmt-hdinsight@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-imagebuilder>=1.2.0:devel/py-azure-mgmt-imagebuilder@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-iotcentral>=10.0.0.b1:devel/py-azure-mgmt-iotcentral@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-iothub>=2.3.0:devel/py-azure-mgmt-iothub@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-iothubprovisioningservices>=1.1.0:devel/py-azure-mgmt-iothubprovisioningservices@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-keyvault>=10.2.0:devel/py-azure-mgmt-keyvault@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-kusto>=0.3.0:devel/py-azure-mgmt-kusto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-loganalytics>=13.0.0.b4:devel/py-azure-mgmt-loganalytics@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-managedservices>=1.0:devel/py-azure-mgmt-managedservices@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-managementgroups>=1.0.0:devel/py-azure-mgmt-managementgroups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-maps>=2.0.0:devel/py-azure-mgmt-maps@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-marketplaceordering>=1.1.0:devel/py-azure-mgmt-marketplaceordering@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-media>=9.0:devel/py-azure-mgmt-media@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-monitor>=5.0.0:devel/py-azure-mgmt-monitor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-msi>=7.0.0:devel/py-azure-mgmt-msi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-netapp>=10.0.0:devel/py-azure-mgmt-netapp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-policyinsights>=1.1.0.b2:devel/py-azure-mgmt-policyinsights@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-privatedns>=1.0.0:devel/py-azure-mgmt-privatedns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-rdbms>=10.2.0.b8:devel/py-azure-mgmt-rdbms@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-recoveryservices>=2.2.0:devel/py-azure-mgmt-recoveryservices@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-recoveryservicesbackup>=6.0.0:devel/py-azure-mgmt-recoveryservicesbackup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-redhatopenshift>=1.2.0:devel/py-azure-mgmt-redhatopenshift@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-redis>=14.1.0:devel/py-azure-mgmt-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-relay>=0.1.0:devel/py-azure-mgmt-relay@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-resource>=22.0.0:devel/py-azure-mgmt-resource@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-search>=9.0.0:devel/py-azure-mgmt-search@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-security>=3.0.0:devel/py-azure-mgmt-security@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicebus>=8.2.0:devel/py-azure-mgmt-servicebus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicefabric>=1.0.0:devel/py-azure-mgmt-servicefabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicefabricmanagedclusters>=1.0.0:devel/py-azure-mgmt-servicefabricmanagedclusters@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicelinker>=1.2.0.b1:devel/py-azure-mgmt-servicelinker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-signalr>=1.1.0:devel/py-azure-mgmt-signalr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-sql>=4.0.0.b10:devel/py-azure-mgmt-sql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-sqlvirtualmachine>=1.0.0.b5:devel/py-azure-mgmt-sqlvirtualmachine@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-storage>=21.0.0:devel/py-azure-mgmt-storage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-trafficmanager>=1.0.0:devel/py-azure-mgmt-trafficmanager@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-web>=7.0.0:devel/py-azure-mgmt-web@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-mgmt-synapse>=2.1.0.b5:devel/py-azure-mgmt-synapse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-multiapi-storage>=1.1.0:devel/py-azure-multiapi-storage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-storage-common>=1.4:devel/py-azure-storage-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-synapse-accesscontrol>=0.5.0:devel/py-azure-synapse-accesscontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-synapse-artifacts>=0.15.0:devel/py-azure-synapse-artifacts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-synapse-managedprivateendpoints>=0.4.0:devel/py-azure-synapse-managedprivateendpoints@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-synapse-spark>=0.2.0:devel/py-azure-synapse-spark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.4:devel/py-colorama@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=2.3.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fabric>=2.4:devel/py-fabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>=2.0.8:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=17.1.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scp>=0.13.2:security/py-scp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sshtunnel>=0.1.4:net/py-sshtunnel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.18:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websocket-client>=0.56.0:www/py-websocket-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}javaproperties>=0.5.1:devel/py-javaproperties@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsondiff>=2.0.0:devel/py-jsondiff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}semver>=2.13.0:devel/py-semver@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygithub>=1.55:devel/py-pygithub@${PY_FLAVOR} -USES= azurepy python +USES= azurepy python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PLIST_FILES= ${PYTHON_SITELIBDIR}/azure/cli/__main__.py post-patch: @${REINPLACE_CMD} -e "s#python#${PYTHON_CMD}#g" ${WRKSRC}/az .include diff --git a/textproc/py-pdfminer.six/Makefile b/textproc/py-pdfminer.six/Makefile index 2053e9ae68b5..d9436e07030a 100644 --- a/textproc/py-pdfminer.six/Makefile +++ b/textproc/py-pdfminer.six/Makefile @@ -1,33 +1,32 @@ PORTNAME= pdfminer.six PORTVERSION= 20220319 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= PDF parser and analyzer WWW= https://github.com/pdfminer/pdfminer.six LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= distutils concurrent autoplist CONFLICTS_INSTALL= py??-pdfminer py??-pdfminer3k NO_ARCH= yes OPTIONS_DEFINE= IMAGE OPTIONS_DEFAULT= IMAGE IMAGE_DESC= Enable support for image extraction IMAGE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} post-extract: @cd ${WRKSRC} && ${MV} tools/dumppdf.py tools/dumppdf @cd ${WRKSRC} && ${MV} tools/pdf2txt.py tools/pdf2txt .include diff --git a/www/buku/Makefile b/www/buku/Makefile index e1746135666a..4613845ae505 100644 --- a/www/buku/Makefile +++ b/www/buku/Makefile @@ -1,59 +1,58 @@ PORTNAME= buku PORTVERSION= 4.8 DISTVERSIONPREFIX= v CATEGORIES= www python MAINTAINER= sunpoet@FreeBSD.org COMMENT= Powerful command-line bookmark manager WWW= https://github.com/jarun/buku LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.1:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=1.0.1:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.23,1:net/py-urllib3@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes PLIST_FILES= share/man/man1/buku.1.gz USE_GITHUB= yes GH_ACCOUNT= jarun OPTIONS_MULTI= COMPLETION OPTIONS_MULTI_COMPLETION= BASH FISH ZSH OPTIONS_DEFAULT=BASH FISH ZSH BASH_DESC= Install bash completion FISH_DESC= Install fish completion ZSH_DESC= Install zsh completion BASH_PLIST_FILES= etc/bash_completion.d/buku-completion.bash FISH_PLIST_FILES= share/fish/completions/buku.fish ZSH_PLIST_FILES= share/zsh/site-functions/_buku post-extract: @${RM} -r ${WRKSRC}/bukuserver post-install: ${INSTALL_MAN} ${WRKSRC}/buku.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/auto-completion/bash/buku-completion.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/buku-completion.bash post-install-FISH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/auto-completion/fish/buku.fish ${STAGEDIR}${PREFIX}/share/fish/completions/buku.fish post-install-ZSH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/auto-completion/zsh/_buku ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_buku .include diff --git a/www/mitmproxy/Makefile b/www/mitmproxy/Makefile index f37b08bd1266..e6dcbcd0429b 100644 --- a/www/mitmproxy/Makefile +++ b/www/mitmproxy/Makefile @@ -1,60 +1,59 @@ PORTNAME= mitmproxy PORTVERSION= 7.0.4 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= www python MAINTAINER= gaod@hychen.org COMMENT= SSL-capable man-in-the-middle proxy WWW= https://mitmproxy.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN= incorrect depends: depends on package: py38-asgiref>=3.2.10<3.5, py38-wsproto>=1.0.0<1.1 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2.10<3.5:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blinker>=1.4<1.5:devel/py-blinker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>=1.0<1.1:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=2019.9.11:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.0<8.1:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3<3.5,1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask>=1.1.1<2.1:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h11>=0.11<0.13:net/py-h11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h2>=4.0<5:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hyperframe>=6.0<7:www/py-hyperframe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kaitaistruct>=0.7<0.10:devel/py-kaitaistruct@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap3>=2.8<2.10:net/py-ldap3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0.0:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.0<1.1.0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=20.0<20.1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.5<1.8:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.14<3.19:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}publicsuffix2>=2.20190812<3:dns/py-publicsuffix2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.4.2<2.5:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyperclip>=1.6.0<1.9:devel/py-pyperclip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16<0.17.17:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.3<2.5:devel/py-sortedcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=4.3<7:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urwid>=2.1.1<2.2:devel/py-urwid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wsproto>=1.0.0<1.1:net/py-wsproto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zstandard>=0.11<0.16:archivers/py-zstandard@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parver>0:devel/py-parver@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${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}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_GITHUB= yes USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile index 1538cb6c70b3..291c93fdc69c 100644 --- a/www/py-autobahn/Makefile +++ b/www/py-autobahn/Makefile @@ -1,74 +1,73 @@ PORTNAME= autobahn PORTVERSION= 21.11.1 DISTVERSIONPREFIX= v CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= WebSocket client & server library, WAMP real-time framework WWW= https://github.com/crossbario/autobahn-python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.4.6:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}txaio>=21.2.1:devel/py-txaio@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run CPE_VENDOR= crossbar USE_GITHUB= yes GH_ACCOUNT= crossbario GH_PROJECT= autobahn-python USE_PYTHON= autoplist distutils pytest OPTIONS_DEFINE= ACCELERATE ENCRYPTION SCRAM SERIALIZATION OPTIONS_DEFAULT= ACCELERATE ASYNCIO ENCRYPTION SCRAM SERIALIZATION \ TWISTED OPTIONS_MULTI= BACKENDS OPTIONS_MULTI_BACKENDS= ASYNCIO TWISTED OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options ACCELERATE_DESC= C-based WebSocket Acceleration ASYNCIO_DESC= Asyncronous IO Support BACKENDS_DESC= Network Backends ENCRYPTION_DESC= TLS Transport / Cryptosign Encryption & Authentication SCRAM_DESC= WAMP-SCRAM Authentication support SERIALIZATION_DESC= Serializers (MessagePack, CBOR, UBJSON, Flatbuffers) TWISTED_DESC= Twisted network backend support ACCELERATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wsaccel>=0.6.3:www/py-wsaccel@${PY_FLAVOR} ENCRYPTION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=20.0.1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyqrcode>=1.2.1:graphics/py-pyqrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytrie>=0.4.0:devel/py-pytrie@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} SCRAM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argon2-cffi>=20.1.0:security/py-argon2-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.14.5:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4:security/py-passlib@${PY_FLAVOR} SERIALIZATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cbor2>=5.2.0:devel/py-cbor2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cbor>=1.0.0:devel/py-cbor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flatbuffers>=1.12:devel/py-flatbuffers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}py-ubjson>=0.16.1:devel/py-py-ubjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ujson>=4.0.2:devel/py-ujson@${PY_FLAVOR} TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=20.3.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=20.3.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=5.2.0:devel/py-zope.interface@${PY_FLAVOR} .include OPTIONS_MULTI_BACKENDS:= ${OPTIONS_MULTI_BACKENDS:NASYNCIO} COMPLETE_OPTIONS_LIST:= ${COMPLETE_OPTIONS_LIST:NASYNCIO} PORT_OPTIONS:= ${PORT_OPTIONS:NASYNCIO} post-stage: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nvx_utf8validator.abi3.so do-test-ASYNCIO-on: @cd ${WRKSRC} && USE_ASYNCIO=1 ${PYTHON_CMD} -m pytest -v -rs ${WRKSRC}/autobahn do-test-TWISTED-on: @cd ${WRKSRC} && USE_TWISTED=1 ${PYTHON_CMD} -m twisted.trial ${WRKSRC}/autobahn .include diff --git a/www/py-azure-storage/Makefile b/www/py-azure-storage/Makefile index c4723f748392..2482de1a4f05 100644 --- a/www/py-azure-storage/Makefile +++ b/www/py-azure-storage/Makefile @@ -1,23 +1,22 @@ PORTNAME= azure-storage PORTVERSION= 0.36.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= vladimirv@ixsystems.com COMMENT= Python Client for Azure Storage WWW= https://pypi.org/project/azure-storage/ LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>0:www/py-azure-common@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/www/py-flask-jwt-extended/Makefile b/www/py-flask-jwt-extended/Makefile index dc6ec0c04e95..2b125d6d3eb4 100644 --- a/www/py-flask-jwt-extended/Makefile +++ b/www/py-flask-jwt-extended/Makefile @@ -1,30 +1,29 @@ PORTNAME= flask-jwt-extended DISTVERSION= 4.4.4 CATEGORIES= www devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Flask-JWT-Extended-${DISTVERSION} MAINTAINER= meka@tilda.center COMMENT= Extended JWT integration with Flask WWW= https://github.com/vimalloc/flask-jwt-extended LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} -USES= python +USES= python pycryptography:test USE_PYTHON= autoplist concurrent distutils pytest TEST_ENV= PYTHONPATH=${WRKSRC}/src NO_ARCH= yes .include diff --git a/www/py-pyjwt/Makefile b/www/py-pyjwt/Makefile index c7be7e82455a..b09a82b3c709 100644 --- a/www/py-pyjwt/Makefile +++ b/www/py-pyjwt/Makefile @@ -1,33 +1,33 @@ PORTNAME= pyjwt PORTVERSION= 2.7.0 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyJWT-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= JSON Web Token implementation in Python WWW= https://github.com/jpadilla/pyjwt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= cpe python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-pyjwt1 CPE_VENDOR= pyjwt_project OPTIONS_DEFINE= CRYPTO OPTIONS_DEFAULT=CRYPTO -CRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.4.0,1:security/py-cryptography@${PY_FLAVOR} +CRYPTO_USES= pycryptography:run .include diff --git a/www/py-pyjwt1/Makefile b/www/py-pyjwt1/Makefile index 0af7e6477923..87da074d0cb3 100644 --- a/www/py-pyjwt1/Makefile +++ b/www/py-pyjwt1/Makefile @@ -1,36 +1,36 @@ PORTNAME= pyjwt1 PORTVERSION= 1.7.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyJWT-${PORTVERSION} MAINTAINER= terje@elde.net COMMENT= JSON Web Token implementation in Python WWW= https://github.com/progrium/pyjwt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE # Some tests are skipped without pycrypto, but its not # referenced as a requirement anymore. TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} USES= python USE_PYTHON= distutils concurrent autoplist CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-pyjwt OPTIONS_DEFINE= RSASSA RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support -RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} +RSASSA_USES= pycryptography:run,test +RSASSA_USES_OFF= pycryptography:test NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= .include diff --git a/www/py-requests_ntlm/Makefile b/www/py-requests_ntlm/Makefile index 3af4b3afcea2..757378d50ff6 100644 --- a/www/py-requests_ntlm/Makefile +++ b/www/py-requests_ntlm/Makefile @@ -1,22 +1,21 @@ PORTNAME= requests_ntlm DISTVERSION= 1.1.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= HTTP NTLM authentication using the requests library WWW= https://github.com/requests/requests-ntlm LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ntlm-auth>=1.0.2:security/py-ntlm-auth@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ntlm-auth>=1.0.2:security/py-ntlm-auth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} -USES= python +USES= python pycryptography:run USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/www/py-scrapy/Makefile b/www/py-scrapy/Makefile index af77fdcea9de..f8fb1c5bcef9 100644 --- a/www/py-scrapy/Makefile +++ b/www/py-scrapy/Makefile @@ -1,38 +1,37 @@ PORTNAME= Scrapy DISTVERSION= 2.5.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skreuzer@FreeBSD.org COMMENT= High level scraping and web crawling framework WWW= https://scrapy.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cssselect>=0.9.1:www/py-cssselect@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>=0.9.1:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}itemloaders>=1.0.1:devel/py-itemloaders@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parsel>=1.5:textproc/py-parsel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}queuelib>=1.4.2:sysutils/py-queuelib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}w3lib>=1.17.0:www/py-w3lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=4.1.3:devel/py-zope.interface@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protego>=0.1.15:www/py-protego@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}itemadapter>=0.1.0:devel/py-itemadapter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydispatcher>=2.0.5:devel/py-pydispatcher@${PY_FLAVOR} -USES= cpe python +USES= cpe python pycryptography:run USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes # Remove experimental HTTP/2 support, issues with Twisted and h2 post-extract: @${RM} -r ${WRKSRC}/scrapy/core/http2 @${RM} ${WRKSRC}/scrapy/core/downloader/handlers/http2.py .include diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile index 2b314488e03a..1fdf6f21709d 100644 --- a/x11/xpra/Makefile +++ b/x11/xpra/Makefile @@ -1,130 +1,129 @@ PORTNAME= xpra PORTVERSION= 4.4.5 CATEGORIES= x11 MASTER_SITES= https://xpra.org/src/ MAINTAINER= arrowd@FreeBSD.org COMMENT= Persistent remote applications for X WWW= https://xpra.org/ LICENSE= GPLv2 BUILD_DEPENDS= pandoc:textproc/hs-pandoc LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libharfbuzz.so:print/harfbuzz \ liblz4.so:archivers/liblz4 \ libwebp.so:graphics/webp RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}bencode.py>1:converters/py-bencode.py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>1:archivers/py-brotli@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0.7.0_1:archivers/py-lz4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL-accelerate>=3.1.0:graphics/py-PyOpenGL-accelerate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=3.1.0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rencode>1:converters/py-rencode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ setxkbmap:x11/setxkbmap \ ssh-askpass:security/openssh-askpass \ xauth:x11/xauth \ xkbcomp:x11/xkbcomp \ Xvfb:x11-servers/xorg-server@xvfb USES= desktop-file-utils gettext-runtime gnome localbase pkgconfig \ - python shared-mime-info shebangfix tar:xz xorg + python pycryptography:run shared-mime-info shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 pygobject3 USE_PYTHON= cython distutils noflavors USE_XORG= x11 xcomposite xdamage xext xfixes xi xkbfile xrandr xres xtst PLIST_SUB+= PORTVERSION=${PORTVERSION} \ PYTHON_SUFFIX=${PYTHON_SUFFIX} \ PYTHON_VER=${PYTHON_VER} SHEBANG_FILES= fs/lib/cups/backend/xpraforwarder fs/libexec/xpra/auth_dialog \ fs/libexec/xpra/gnome-open fs/libexec/xpra/gvfs-open \ fs/libexec/xpra/xdg-open fs/libexec/xpra/xpra_signal_listener \ fs/libexec/xpra/xpra_udev_product_version OPTIONS_DEFINE= AVAHI AVCODEC CUPS DOCS FFMPEG GSTREAMER LIBYUV SWSCALE \ WEBCAM X265 OPTIONS_DEFAULT= AVAHI CUPS GSTREAMER X264 OPTIONS_RADIO= CODEC OPTIONS_RADIO_CODEC= VPX X264 OPTIONS_SUB= yes AVCODEC_DESC= Enable avcodec2 (FFmpeg) decoder CUPS_DESC= Enable CUPS for printer forwarding FFMPEG_DESC= Enable FFmpeg encoder GSTREAMER_DESC= Enable GStreamer for sound forwarding LIBYUV_DESC= Enable libyuv CSC module (fastest) SWSCALE_DESC= Enable swscale (FFmpeg) CSC module VPX_DESC= Enable VP8 and VP9 codec WEBCAM_DESC= Enable webcam forwarding (client only) X264_DESC= Enable X264 encoder X265_DESC= Enable X265 encoder AVAHI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}avahi>0:net/py-avahi@${PY_FLAVOR} AVAHI_VARS= XPRA_OPTIONS+=mdns AVCODEC_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg AVCODEC_VARS= XPRA_OPTIONS+=dec_avcodec2 CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>1:print/py-pycups@${PY_FLAVOR} CUPS_VARS= XPRA_OPTIONS+=printing FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= XPRA_OPTIONS+=enc_ffmpeg GSTREAMER_USES= gstreamer GSTREAMER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_USE= GSTREAMER=flac,lame,mpg123,ogg,opus,pulse,vorbis,wavpack GSTREAMER_VARS= XPRA_OPTIONS+=sound LIBYUV_LIB_DEPENDS= libyuv.so:graphics/libyuv LIBYUV_VARS= XPRA_OPTIONS+=csc_libyuv SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_VARS= XPRA_OPTIONS+=csc_swscale VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_VARS= XPRA_OPTIONS+=vpx WEBCAM_RUN_DEPENDS= opencv>2:graphics/opencv WEBCAM_VARS= XPRA_OPTIONS+=webcam X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_VARS= XPRA_OPTIONS+=enc_x264 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_VARS= XPRA_OPTIONS+=enc_x265 PYDISTUTILS_PKGNAME= xpra_all XPRA_OPTIONS_ALL+= ${XPRA_OPTIONS_DISABLED} csc_libyuv csc_swscale \ dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 \ mdns printing sound vpx webcam XPRA_OPTIONS_DISABLED= strict uinput Xdummy Xdummy_wrapper .include .for opt in ${XPRA_OPTIONS_ALL} .if empty(XPRA_OPTIONS:M${opt}) PYDISTUTILS_ARGS+= --without-${opt} .else PYDISTUTILS_ARGS+= --with-${opt} .endif .endfor .include PYDISTUTILS_BUILDARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_CONFIGUREARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_INSTALLARGS+= ${PYDISTUTILS_ARGS} post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xpra/platform/pycups_printing.py @${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/sbin|' \ ${WRKSRC}/fs/etc/xpra/conf.d/16_printing.conf.in post-install: @${MV} ${STAGEDIR}${ETCDIR}/xorg.conf \ ${STAGEDIR}${ETCDIR}/xorg.conf.sample @${MV} ${STAGEDIR}${ETCDIR}/xpra.conf \ ${STAGEDIR}${ETCDIR}/xpra.conf.sample @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name '*.so' \ -exec ${STRIP_CMD} {} + .include