git: 49558ddd1c88 - main - security/py-flask-saml: Use py-pysaml2 unconditionally

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 09:35:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49558ddd1c886eab26fc57a81a4b965b9609b389

commit 49558ddd1c886eab26fc57a81a4b965b9609b389
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-21 06:34:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-21 09:17:40 +0000

    security/py-flask-saml: Use py-pysaml2 unconditionally
    
    - While I'm here, sort RUN_DEPENDS
    
    Python 3.8 is officially EOL'd on 2024-10-07.
    
    Reference:      https://devguide.python.org/versions/
    Approved by:    portmgr (blanket)
    With hat:       python
---
 security/py-flask-saml/Makefile | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/security/py-flask-saml/Makefile b/security/py-flask-saml/Makefile
index db6d96e35823..bcc5c8bbd9d9 100644
--- a/security/py-flask-saml/Makefile
+++ b/security/py-flask-saml/Makefile
@@ -11,20 +11,13 @@ WWW=		https://bitbucket.org/asecurityteam/flask_saml
 
 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}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinker>=1.1:devel/py-blinker@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flask>=0.8.0:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pysaml2>=6.5.0:security/py-pysaml2@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30900
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml26>=6.5.0:security/py-pysaml26@${PY_FLAVOR}
-.else
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml2>=6.5.0:security/py-pysaml2@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>