Index: head/security/Makefile =================================================================== --- head/security/Makefile +++ head/security/Makefile @@ -916,6 +916,7 @@ SUBDIR += py-hkdf SUBDIR += py-htpasswd SUBDIR += py-itsdangerous + SUBDIR += py-josepy SUBDIR += py-kerberos SUBDIR += py-keyczar SUBDIR += py-keyring Index: head/security/py-josepy/Makefile =================================================================== --- head/security/py-josepy/Makefile +++ head/security/py-josepy/Makefile @@ -0,0 +1,30 @@ +# Created by: Carlos J Puga Medina +# $FreeBSD$ + +PORTNAME= josepy +PORTVERSION= 1.0.1 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= cpm@FreeBSD.org +COMMENT= JOSE protocol implementation in Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.8:security/py-cryptography@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=1.0:devel/py-setuptools@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Index: head/security/py-josepy/distinfo =================================================================== --- head/security/py-josepy/distinfo +++ head/security/py-josepy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1516619168 +SHA256 (josepy-1.0.1.tar.gz) = 9f48b88ca37f0244238b1cc77723989f7c54f7b90b2eee6294390bacfe870acc +SIZE (josepy-1.0.1.tar.gz) = 50251 Index: head/security/py-josepy/pkg-descr =================================================================== --- head/security/py-josepy/pkg-descr +++ head/security/py-josepy/pkg-descr @@ -0,0 +1,11 @@ +JOSE (Javascript Object Signing and Encryption) is a Python implementation +of the standards developed by IETF Javascript Object Signing and Encryption +(Active WG), in particular the following RFCs: + +- JSON Web Algorithms (JWA) +- JSON Web Key (JWK) +- JSON Web Signature (JWS) + +Originally developed as part of the ACME protocol implementation. + +WWW: https://josepy.readthedocs.io/en/latest/