diff --git a/www/py-pyjwt/Makefile b/www/py-pyjwt/Makefile index 842a090e46c0..a829758e37ae 100644 --- a/www/py-pyjwt/Makefile +++ b/www/py-pyjwt/Makefile @@ -1,28 +1,30 @@ # Created by: Po-Chuan Hsieh PORTNAME= pyjwt PORTVERSION= 2.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyJWT-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= JSON Web Token implementation in Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe python:3.6+ USE_PYTHON= autoplist concurrent distutils 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.3.1:security/py-cryptography@${PY_FLAVOR} .include diff --git a/www/py-pyjwt1/Makefile b/www/py-pyjwt1/Makefile index 756aa5a53245..61b79e3e4973 100644 --- a/www/py-pyjwt1/Makefile +++ b/www/py-pyjwt1/Makefile @@ -1,33 +1,35 @@ PORTNAME= pyjwt1 PORTVERSION= 1.7.1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyJWT-${PORTVERSION} MAINTAINER= terje@elde.net COMMENT= JSON Web Token implementation in Python 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}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} USES= python:3.6+ 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} NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= .include