1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

security/py-pysaml26: Add py-pysaml26 6.5.1 (copied from py-pysaml2)

- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh 2021-06-10 22:25:37 +08:00
parent da7740aa6d
commit 0b508f7455
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 53 additions and 0 deletions

View File

@ -954,6 +954,7 @@
SUBDIR += py-pyotp2289
SUBDIR += py-pysaml2
SUBDIR += py-pysaml24
SUBDIR += py-pysaml26
SUBDIR += py-pyscard
SUBDIR += py-pysha3
SUBDIR += py-pysodium

View File

@ -0,0 +1,43 @@
# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
PORTNAME= pysaml2
PORTVERSION= 6.5.1
CATEGORIES= security devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 6
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python implementation of SAML Version 2
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmlschema>=0:textproc/py-xmlschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \
xmlsec1:security/xmlsec1
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTSCOUT= limit:^6\.
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1611856594
SHA256 (pysaml2-6.5.1.tar.gz) = 6dc798aae0e2d43425cd3c720da1aea1b99e52c7e7d87d3666c8854f35e862f6
SIZE (pysaml2-6.5.1.tar.gz) = 357718

View File

@ -0,0 +1,6 @@
PySAML2 is a pure python implementation of SAML2. It contains all necessary
pieces for building a SAML2 service provider or an identity provider. The
distribution contains examples of both. Originally written to work in a WSGI
environment there are extensions that allow you to use it with other frameworks.
WWW: https://github.com/IdentityPython/pysaml2