git: cc3097538823 - main - www/py-hypercorn: Update to 0.18.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 29 Nov 2025 23:56:50 UTC
The branch main has been updated by sunpoet:

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

commit cc3097538823e3823f3b1e235ba71d02ca55cb1a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-11-29 23:28:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-11-29 23:28:00 +0000

    www/py-hypercorn: Update to 0.18.0
    
    Changes:        https://github.com/pgjones/hypercorn/blob/main/CHANGELOG.rst
---
 www/py-hypercorn/Makefile                   |  6 +++---
 www/py-hypercorn/distinfo                   |  6 +++---
 www/py-hypercorn/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/www/py-hypercorn/Makefile b/www/py-hypercorn/Makefile
index 11ecc0a7fcee..582d75605f31 100644
--- a/www/py-hypercorn/Makefile
+++ b/www/py-hypercorn/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hypercorn
-PORTVERSION=	0.17.3
+PORTVERSION=	0.18.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,10 @@ WWW=		https://hypercorn.readthedocs.io/en/latest/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
 RUN_DEPENDS=	${PY_EXCEPTIONGROUP} \
 		${PYTHON_PKGNAMEPREFIX}h11>=0:net/py-h11@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}h2>=3.1.0:www/py-h2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}h2>=4.1.0:www/py-h2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}priority>=0:www/py-priority@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
 		${PY_TOMLI} \
diff --git a/www/py-hypercorn/distinfo b/www/py-hypercorn/distinfo
index ad18ce3dd741..0fac1b8e4b3e 100644
--- a/www/py-hypercorn/distinfo
+++ b/www/py-hypercorn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717157958
-SHA256 (hypercorn-0.17.3.tar.gz) = 1b37802ee3ac52d2d85270700d565787ab16cf19e1462ccfa9f089ca17574165
-SIZE (hypercorn-0.17.3.tar.gz) = 44409
+TIMESTAMP = 1763853482
+SHA256 (hypercorn-0.18.0.tar.gz) = d63267548939c46b0247dc8e5b45a9947590e35e64ee73a23c074aa3cf88e9da
+SIZE (hypercorn-0.18.0.tar.gz) = 68420
diff --git a/www/py-hypercorn/files/patch-pyproject.toml b/www/py-hypercorn/files/patch-pyproject.toml
new file mode 100644
index 000000000000..1369e9440f2a
--- /dev/null
+++ b/www/py-hypercorn/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2025-11-08 13:49:44 UTC
++++ pyproject.toml
+@@ -29,7 +29,7 @@ dependencies = [
+ dependencies = [
+     "exceptiongroup >= 1.1.0; python_version < '3.11'",
+     "h11",
+-    "h2 >= 4.3.0",
++    "h2 >= 4.1.0",
+     "priority",
+     "taskgroup; python_version < '3.11'",
+     "tomli; python_version < '3.11'",