git: 37273e4c985a - main - www/py-limits: Allow build with py-packaging 25.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 May 2025 03:41:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37273e4c985a749badf189faaa36cf946d70adfc
commit 37273e4c985a749badf189faaa36cf946d70adfc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-05-18 03:25:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-05-18 03:35:27 +0000
www/py-limits: Allow build with py-packaging 25.0+
- Bump PORTREVISION for package change
Approved by: portmgr (blanket)
With hat: python
Obtained from: https://github.com/alisaifee/limits/commit/fddb1c038b74f3054bb5f1f1ed547fe420c04d19
---
www/py-limits/Makefile | 4 ++--
www/py-limits/files/patch-packaging | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/www/py-limits/Makefile b/www/py-limits/Makefile
index 1c58182198b3..b5d97aaf790e 100644
--- a/www/py-limits/Makefile
+++ b/www/py-limits/Makefile
@@ -1,6 +1,6 @@
PORTNAME= limits
PORTVERSION= 3.14.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,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<25:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=21<26: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..f8142b4b405b
--- /dev/null
+++ b/www/py-limits/files/patch-packaging
@@ -0,0 +1,7 @@
+--- requirements/main.txt.orig 2024-11-30 19:17:07 UTC
++++ requirements/main.txt
+@@ -1,3 +1,3 @@ deprecated>=1.2
+ deprecated>=1.2
+-packaging>=21,<25
++packaging>=21,<26
+ typing_extensions