aafe9a2135
- Update WWW - Convert to USE_PYTHON=pep517 - Clean up Makefile - Bump PORTREVISION for package change - Bump PORTREVISION of dependent ports for dependency change
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
PORTNAME= pysaml2
|
|
PORTVERSION= 7.5.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= security devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python implementation of SAML Version 2
|
|
WWW= https://github.com/IdentityPython/pysaml2
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyopenssl>=0,1:security/py-pyopenssl@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3.0.0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}xmlschema>=2.0.0:textproc/py-xmlschema@${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= cpe python shebangfix
|
|
USE_PYTHON= autoplist concurrent cryptography pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
CPE_VENDOR= pysaml2_project
|
|
|
|
SHEBANG_FILES= src/saml2/authn_context/timesync.py
|
|
|
|
OPTIONS_DEFINE= S2REPOZE
|
|
S2REPOZE_DESC= Repoze module support
|
|
|
|
S2REPOZE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
|
|
|
|
.include <bsd.port.mk>
|