git: 44a5b4b4aae4 - main - www/py-httptools: Update to 0.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 08 Jul 2026 13:42:11 UTC
The branch main has been updated by sunpoet:

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

commit 44a5b4b4aae4d70f09657799aeeebc08790b7dda
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-08 13:04:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-08 13:32:40 +0000

    www/py-httptools: Update to 0.8.0
    
    Changes:        https://github.com/MagicStack/httptools/releases
---
 www/py-httptools/Makefile                   |  4 ++--
 www/py-httptools/distinfo                   |  6 +++---
 www/py-httptools/files/patch-pyproject.toml | 24 ++++++++++++++++++++++++
 www/py-httptools/files/patch-setup.py       |  4 ++--
 4 files changed, 31 insertions(+), 7 deletions(-)

diff --git a/www/py-httptools/Makefile b/www/py-httptools/Makefile
index 9913eb2cd035..b9197bfcc62e 100644
--- a/www/py-httptools/Makefile
+++ b/www/py-httptools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	httptools
-PORTVERSION=	0.6.4
+PORTVERSION=	0.8.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ WWW=		https://github.com/MagicStack/httptools
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61<82.0.1_99:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libhttp_parser.so:www/http-parser
 
diff --git a/www/py-httptools/distinfo b/www/py-httptools/distinfo
index 1470b9eed017..a64eefd3e196 100644
--- a/www/py-httptools/distinfo
+++ b/www/py-httptools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729653376
-SHA256 (httptools-0.6.4.tar.gz) = 4e93eee4add6493b59a5c514da98c939b244fce4a0d8879cd3f466562f4b7d5c
-SIZE (httptools-0.6.4.tar.gz) = 240639
+TIMESTAMP = 1782966686
+SHA256 (httptools-0.8.0.tar.gz) = 6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999
+SIZE (httptools-0.8.0.tar.gz) = 271342
diff --git a/www/py-httptools/files/patch-pyproject.toml b/www/py-httptools/files/patch-pyproject.toml
new file mode 100644
index 000000000000..7426bd894a62
--- /dev/null
+++ b/www/py-httptools/files/patch-pyproject.toml
@@ -0,0 +1,24 @@
+--- pyproject.toml.orig	2026-05-25 22:07:13 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["setuptools>=80.9.0,<=82.0.1"]
++requires = ["setuptools>=61,<=82.0.1"]
+ 
+ [project]
+ name = "httptools"
+@@ -17,12 +17,7 @@ authors = [
+ authors = [
+     {name = "Yury Selivanov", email="yury@magic.io"},
+ ]
+-license = "MIT"
+-license-files = [
+-    "LICENSE",
+-    "vendor/http-parser/LICENSE-MIT",
+-    "vendor/llhttp/LICENSE",
+-]
++license = {text="MIT"}
+ description = "A collection of framework independent HTTP protocol utils."
+ readme = "README.md"
+ 
diff --git a/www/py-httptools/files/patch-setup.py b/www/py-httptools/files/patch-setup.py
index f606f508c4dc..622ff33465f9 100644
--- a/www/py-httptools/files/patch-setup.py
+++ b/www/py-httptools/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2021-04-23 20:30:51 UTC
+--- setup.py.orig	2026-05-25 22:07:13 UTC
 +++ setup.py
-@@ -48,7 +48,7 @@ class httptools_build_ext(build_ext):
+@@ -44,7 +44,7 @@ class httptools_build_ext(build_ext):
  
          super().initialize_options()
          self.use_system_llhttp = False