git: 74f41caf6af4 - main - security/py-pysaml2: Update to 7.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:25:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74f41caf6af46a2b82e903da38ca77025fd65f6f

commit 74f41caf6af46a2b82e903da38ca77025fd65f6f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:45:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:08:00 +0000

    security/py-pysaml2: Update to 7.5.0
    
    Changes:        https://github.com/IdentityPython/pysaml2/releases
---
 security/py-pysaml2/Makefile                   |  4 ++--
 security/py-pysaml2/distinfo                   |  6 +++---
 security/py-pysaml2/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/security/py-pysaml2/Makefile b/security/py-pysaml2/Makefile
index d831fdf5bd21..8d7d4e8f0d40 100644
--- a/security/py-pysaml2/Makefile
+++ b/security/py-pysaml2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pysaml2
-PORTVERSION=	7.4.2
+PORTVERSION=	7.5.0
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2<3:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}xmlschema>=1.2.1:textproc/py-xmlschema@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xmlschema>=2:textproc/py-xmlschema@${PY_FLAVOR} \
 		xmlsec1:security/xmlsec1
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
diff --git a/security/py-pysaml2/distinfo b/security/py-pysaml2/distinfo
index 8810c5e699a0..87d5dd300246 100644
--- a/security/py-pysaml2/distinfo
+++ b/security/py-pysaml2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166320
-SHA256 (pysaml2-7.4.2.tar.gz) = 2bc5147b3b2f902a9131bf08240c068becea29994aafb7654a63d7270ac5b63b
-SIZE (pysaml2-7.4.2.tar.gz) = 341425
+TIMESTAMP = 1708449448
+SHA256 (pysaml2-7.5.0.tar.gz) = f36871d4e5ee857c6b85532e942550d2cf90ea4ee943d75eb681044bbc4f54f7
+SIZE (pysaml2-7.5.0.tar.gz) = 340338
diff --git a/security/py-pysaml2/files/patch-pyproject.toml b/security/py-pysaml2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..211f052b120f
--- /dev/null
+++ b/security/py-pysaml2/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-01-30 11:43:56 UTC
++++ pyproject.toml
+@@ -47,7 +47,7 @@ requests = "^2"
+ pytz = "*"
+ "repoze.who" = {optional = true, version = "*"}
+ requests = "^2"
+-xmlschema = "^2"
++xmlschema = ">=2"
+ "zope.interface" = {optional = true, version = "*"}
+ 
+ [tool.poetry.extras]