git: c1a572530ec0 - main - www/py-limits: Allow build with py-packaging 24.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 18:32:10 UTC
The branch main has been updated by sunpoet:

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

commit c1a572530ec04f1bc01494b47a37b1e64ad33260
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 18:29:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 18:29:32 +0000

    www/py-limits: Allow build with py-packaging 24.0+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/alisaifee/limits/commit/900e5c03ffecd784ed5643e67c39110f5ca0b5a7
---
 www/py-limits/Makefile              |  2 +-
 www/py-limits/files/patch-packaging | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/www/py-limits/Makefile b/www/py-limits/Makefile
index fe6acde45e30..4b910eed2261 100644
--- a/www/py-limits/Makefile
+++ b/www/py-limits/Makefile
@@ -12,7 +12,7 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}deprecated>=1.2:devel/py-deprecated@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3:devel/py-importlib-resources@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=21,<24:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=21<25:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0.8:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python
diff --git a/www/py-limits/files/patch-packaging b/www/py-limits/files/patch-packaging
new file mode 100644
index 000000000000..5446de60a91d
--- /dev/null
+++ b/www/py-limits/files/patch-packaging
@@ -0,0 +1,10 @@
+Obtained from:	https://github.com/alisaifee/limits/commit/900e5c03ffecd784ed5643e67c39110f5ca0b5a7
+
+--- requirements/main.txt.orig	2024-02-18 02:06:46 UTC
++++ requirements/main.txt
+@@ -1,4 +1,4 @@ importlib_resources>=1.3
+ deprecated>=1.2
+ importlib_resources>=1.3
+-packaging>=21,<24
++packaging>=21,<25
+ typing_extensions