git: 3fd66c92e755 - main - security/py-pysaml2: Fix build after e4937425f2b110b6ea4556d4178b81bac39a75e2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Apr 2025 12:47:21 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fd66c92e755e4d70e5be292094e0230ba9b16ff

commit 3fd66c92e755e4d70e5be292094e0230ba9b16ff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-29 11:46:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-29 12:42:43 +0000

    security/py-pysaml2: Fix build after e4937425f2b110b6ea4556d4178b81bac39a75e2
    
    - Bump PORTREVISION for package change
---
 security/py-pysaml2/Makefile                   |  5 +++--
 security/py-pysaml2/files/patch-pyproject.toml | 10 ++++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/security/py-pysaml2/Makefile b/security/py-pysaml2/Makefile
index e4b1bd700416..3514ee301704 100644
--- a/security/py-pysaml2/Makefile
+++ b/security/py-pysaml2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pysaml2
 PORTVERSION=	7.5.2
+PORTREVISION=	1
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ 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}openssl>=0,1<24.3.0,1:security/py-openssl@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openssl>=0,1:security/py-openssl@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2<3:www/py-requests@${PY_FLAVOR} \
@@ -23,7 +24,7 @@ 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:3.9+ shebangfix
+USES=		cpe python shebangfix
 USE_PYTHON=	autoplist concurrent cryptography pep517
 
 NO_ARCH=	yes
diff --git a/security/py-pysaml2/files/patch-pyproject.toml b/security/py-pysaml2/files/patch-pyproject.toml
index 211f052b120f..f1dd5e35eecf 100644
--- a/security/py-pysaml2/files/patch-pyproject.toml
+++ b/security/py-pysaml2/files/patch-pyproject.toml
@@ -1,6 +1,12 @@
---- pyproject.toml.orig	2024-01-30 11:43:56 UTC
+--- pyproject.toml.orig	2025-02-10 21:49:33 UTC
 +++ pyproject.toml
-@@ -47,7 +47,7 @@ requests = "^2"
+@@ -42,12 +42,12 @@ paste = {optional = true, version = "*"}
+ importlib-metadata = {version = ">=1.7.0", python = "<3.8"}
+ importlib-resources = {python = "<3.9", version = "*"}
+ paste = {optional = true, version = "*"}
+-pyopenssl = "<24.3.0"
++pyopenssl = "*"
+ python-dateutil = "*"
  pytz = "*"
  "repoze.who" = {optional = true, version = "*"}
  requests = "^2"