svn commit: r523054 - head/security/py-flask-saml
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 14 16:46:15 UTC 2020
Author: sunpoet
Date: Tue Jan 14 16:46:14 2020
New Revision: 523054
URL: https://svnweb.freebsd.org/changeset/ports/523054
Log:
Update RUN_DEPENDS for py-pysaml2 5.0.0 update
- While I'm here, update version requirement of RUN_DEPENDS
- Bump PORTREVISION for dependency change
Modified:
head/security/py-flask-saml/Makefile
Modified: head/security/py-flask-saml/Makefile
==============================================================================
--- head/security/py-flask-saml/Makefile Tue Jan 14 16:46:09 2020 (r523053)
+++ head/security/py-flask-saml/Makefile Tue Jan 14 16:46:14 2020 (r523054)
@@ -3,6 +3,7 @@
PORTNAME= Flask-SAML
PORTVERSION= 0.4.3
+PORTREVISION= 1
CATEGORIES= security www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +13,20 @@ COMMENT= SAML authentication for Flask web apps
LICENSE= APACHE20
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0.8.0:www/py-flask@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}blinker>=1.1:devel/py-blinker@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pysaml2>4.0.0:security/py-pysaml2@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8.0:www/py-flask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}blinker>=1.1:devel/py-blinker@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysaml24>=4.0.0<5:security/py-pysaml24@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.0<5:security/py-pysaml2@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list