Files
ports/www/py-pyjwt/Makefile
T

39 lines
902 B
Makefile

PORTNAME= pyjwt
PORTVERSION= 2.13.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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>=61: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.pre.mk>
.if ${PYTHON_REL} < 31100
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>