Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2020 16:46:15 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523054 - head/security/py-flask-saml
Message-ID:  <202001141646.00EGkFO5029819@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001141646.00EGkFO5029819>