www/py-pyjwt: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2023-06-06 02:40:41 +08:00
parent f4f3499cd0
commit 09360caced
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= pyjwt
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,8 +13,11 @@ 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

View file

@ -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