diff --git a/www/py-pyjwt/Makefile b/www/py-pyjwt/Makefile index 22829c5172fb..79c63599fbd3 100644 --- a/www/py-pyjwt/Makefile +++ b/www/py-pyjwt/Makefile @@ -1,29 +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= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= cpe python:3.7+ -USE_PYTHON= autoplist concurrent distutils +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} .include diff --git a/www/py-pyjwt/files/patch-setup.cfg b/www/py-pyjwt/files/patch-setup.cfg new file mode 100644 index 000000000000..90cf0f471e12 --- /dev/null +++ b/www/py-pyjwt/files/patch-setup.cfg @@ -0,0 +1,9 @@ +--- setup.cfg.orig 2023-05-09 20:04:10 UTC ++++ setup.cfg +@@ -1,5 +1,5 @@ + [metadata] +-name = PyJWT ++name = pyjwt + version = attr: jwt.__version__ + author = Jose Padilla + author_email = hello@jpadilla.com