git: cc712e86c755 - main - www/py-http-sf: New port: Library for parsing and serializing HTTP Structured Fields (RFC 9651)

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 28 Sep 2025 01:38:37 UTC
The branch main has been updated by yuri:

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

commit cc712e86c75543ea995fd3dd08537be4cce16ae8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-27 19:52:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-28 01:38:25 +0000

    www/py-http-sf: New port: Library for parsing and serializing HTTP Structured Fields (RFC 9651)
---
 www/Makefile             |  1 +
 www/py-http-sf/Makefile  | 24 ++++++++++++++++++++++++
 www/py-http-sf/distinfo  |  3 +++
 www/py-http-sf/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index ea7cefd930b9..bb25a37f5820 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1813,6 +1813,7 @@
     SUBDIR += py-htmldate
     SUBDIR += py-httmock
     SUBDIR += py-http-parser
+    SUBDIR += py-http-sf
     SUBDIR += py-httpbin
     SUBDIR += py-httpcore
     SUBDIR += py-httpie
diff --git a/www/py-http-sf/Makefile b/www/py-http-sf/Makefile
new file mode 100644
index 000000000000..9951f557b626
--- /dev/null
+++ b/www/py-http-sf/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	http-sf
+DISTVERSION=	1.0.4
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library for parsing and serializing HTTP Structured Fields (RFC 9651)
+WWW=		https://github.com/mnot/http-sf
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENCE.md
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-http-sf/distinfo b/www/py-http-sf/distinfo
new file mode 100644
index 000000000000..adcc538760a5
--- /dev/null
+++ b/www/py-http-sf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759002338
+SHA256 (http_sf-1.0.4.tar.gz) = 1c3ff40dc12ea913a604d667180b2cf78c12bdaf348b7649a5129583643cc847
+SIZE (http_sf-1.0.4.tar.gz) = 17661
diff --git a/www/py-http-sf/pkg-descr b/www/py-http-sf/pkg-descr
new file mode 100644
index 000000000000..e03d90fa363a
--- /dev/null
+++ b/www/py-http-sf/pkg-descr
@@ -0,0 +1,2 @@
+This Python 3 library is designed for parsing and serializing HTTP Structured
+Fields, as defined by RFC 9651.