aboutsummaryrefslogtreecommitdiff
path: root/www/py-pyjwt/Makefile
blob: 29a9a067a0eb7313422fd231af666a5a953a9cba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	pyjwt
PORTVERSION=	2.3.0
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyJWT-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	JSON Web Token implementation in Python

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cpe python:3.6+
USE_PYTHON=	autoplist concurrent distutils

NO_ARCH=	yes

CPE_VENDOR=	pyjwt_project

OPTIONS_DEFINE=	CRYPTO
OPTIONS_DEFAULT=CRYPTO

CRYPTO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR}

.include <bsd.port.mk>