From 8a8c8a229c9da1159fadbad0721585fe2a56c793 Mon Sep 17 00:00:00 2001 From: wblock Date: Wed, 17 Sep 2014 01:25:45 +0000 Subject: New port: www/py-pyjwt, a Python implementation of JSON Web Tokens. PR: 193095 Reviewed by: koobs Approved by: koobs Review: D487 --- www/Makefile | 1 + www/py-pyjwt/Makefile | 27 +++++++++++++++++++++++++++ www/py-pyjwt/distinfo | 2 ++ www/py-pyjwt/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) create mode 100644 www/py-pyjwt/Makefile create mode 100644 www/py-pyjwt/distinfo create mode 100644 www/py-pyjwt/pkg-descr 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 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 -- cgit