aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwblock <wblock@FreeBSD.org>2014-09-17 09:25:45 +0800
committerwblock <wblock@FreeBSD.org>2014-09-17 09:25:45 +0800
commit8a8c8a229c9da1159fadbad0721585fe2a56c793 (patch)
tree110c2b1eb0c6551bb74f8b73a0558e6699ba0e67
parentb67e32cf750bde4a60255a448d9eeaaa025cabcd (diff)
downloadfreebsd-ports-gnome-8a8c8a229c9da1159fadbad0721585fe2a56c793.tar.gz
freebsd-ports-gnome-8a8c8a229c9da1159fadbad0721585fe2a56c793.tar.zst
freebsd-ports-gnome-8a8c8a229c9da1159fadbad0721585fe2a56c793.zip
New port: www/py-pyjwt, a Python implementation of JSON Web Tokens.
PR: 193095 Reviewed by: koobs Approved by: koobs Review: D487
-rw-r--r--www/Makefile1
-rw-r--r--www/py-pyjwt/Makefile27
-rw-r--r--www/py-pyjwt/distinfo2
-rw-r--r--www/py-pyjwt/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4bef7a0b7aab..1280230f2d68 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1631,6 +1631,7 @@
SUBDIR += py-praw
SUBDIR += py-prewikka
SUBDIR += py-py-restclient
+ SUBDIR += py-pyjwt
SUBDIR += py-pylons
SUBDIR += py-pyquery
SUBDIR += py-pyramid
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>
diff --git a/www/py-pyjwt/distinfo b/www/py-pyjwt/distinfo
new file mode 100644
index 000000000000..7cb84e8aa356
--- /dev/null
+++ b/www/py-pyjwt/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PyJWT-0.2.1.tar.gz) = cfd0fad01a9a57fb4b24e59a82ffd50ddc9c2c4344694ec6ef436ae11d5d18aa
+SIZE (PyJWT-0.2.1.tar.gz) = 6320
diff --git a/www/py-pyjwt/pkg-descr b/www/py-pyjwt/pkg-descr
new file mode 100644
index 000000000000..8a50f87866a3
--- /dev/null
+++ b/www/py-pyjwt/pkg-descr
@@ -0,0 +1,3 @@
+A Python implementation of JSON Web Tokens.
+
+WWW: http://github.com/progrium/pyjwt