ports/www/py-pyjwt/Makefile
Po-Chuan Hsieh 3754fc5f19
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}
- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk

PR:		273727
Approved by:	tcberner (portmgr)
Exp-run by:	antoine
2023-09-29 22:19:56 +08:00

33 lines
764 B
Makefile

PORTNAME= pyjwt
PORTVERSION= 2.8.0
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://pyjwt.readthedocs.io/en/stable/ \
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
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-pyjwt1
CPE_VENDOR= pyjwt_project
OPTIONS_DEFINE= CRYPTO
OPTIONS_DEFAULT=CRYPTO
CRYPTO_USE= PYTHON=cryptography
.include <bsd.port.mk>