Skip to content

Commit

Permalink
security/py-flask-saml: Fix build with Python 3.9+
Browse files Browse the repository at this point in the history
- Change RUN_DEPENDS from py-pysaml2 to py-pysaml26
- Bump PORTREVISION for dependency change

PR:		256232
Reported by:	John W. O'Brien <john@saltant.com>
  • Loading branch information
sunpoet committed Jun 10, 2021
1 parent 1856abf commit 5cd76fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/py-flask-saml/Makefile
@@ -1,5 +1,6 @@
PORTNAME= Flask-SAML
PORTVERSION= 0.4.4
PORTREVISION= 1
CATEGORIES= security www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -22,7 +23,7 @@ NO_ARCH= yes
.if ${PYTHON_REL} < 30900
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysaml24>=4.0.0<5:security/py-pysaml24@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysaml2>=5.1.0<6.20:security/py-pysaml2@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pysaml26>=5.1.0<6.20:security/py-pysaml26@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>

0 comments on commit 5cd76fd

Please sign in to comment.