Skip to content

Commit

Permalink
www/py-pyjwt: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 5, 2023
1 parent f4f3499 commit 09360ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/py-pyjwt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyjwt
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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

Expand Down
9 changes: 9 additions & 0 deletions 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

0 comments on commit 09360ca

Please sign in to comment.