summaryrefslogtreecommitdiff
path: root/www/py-pyjwt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-pyjwt/Makefile')
-rw-r--r--www/py-pyjwt/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/py-pyjwt/Makefile b/www/py-pyjwt/Makefile
new file mode 100644
index 000000000000..f531cdaa27f9
--- /dev/null
+++ b/www/py-pyjwt/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= pyjwt
+PORTVERSION= 0.2.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+DISTNAME= PyJWT-${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wblock@FreeBSD.org
+COMMENT= JSON Web Token implementation in Python
+
+LICENSE= MIT
+# LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
+
+OPTIONS_DEFINE= RSASSA
+RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>