Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2026 15:42:52 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fd0b0ec77161 - main - www/py-http-sf: update 1.=?utf-8?Q?0.7 =E2=86=92?= 1.2.0
Message-ID:  <69f3787c.1cc52.406fb307@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit fd0b0ec771613ba71a45996e5cb38a1517e00e52
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-30 15:00:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-30 15:42:47 +0000

    www/py-http-sf: update 1.0.7 → 1.2.0
---
 www/py-http-sf/Makefile                   |  9 ++++++---
 www/py-http-sf/distinfo                   |  6 +++---
 www/py-http-sf/files/patch-pyproject.toml | 15 +++++++++++++++
 3 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/www/py-http-sf/Makefile b/www/py-http-sf/Makefile
index f869f3887c5f..255078cc9fbd 100644
--- a/www/py-http-sf/Makefile
+++ b/www/py-http-sf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	http-sf
-DISTVERSION=	1.0.7
+DISTVERSION=	1.2.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,15 +10,18 @@ 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
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
+# tests as of 1.2.0:
+# Results (0.09s):
+#         12 passed
+
 .include <bsd.port.mk>
diff --git a/www/py-http-sf/distinfo b/www/py-http-sf/distinfo
index 70992ed32c7b..ad32a26fdb33 100644
--- a/www/py-http-sf/distinfo
+++ b/www/py-http-sf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1764147448
-SHA256 (http_sf-1.0.7.tar.gz) = 862b8cd7c386cbcdd382f499cdfbf66eebc48fc4f0e974bfea483fd001265f96
-SIZE (http_sf-1.0.7.tar.gz) = 18371
+TIMESTAMP = 1714018980
+SHA256 (http_sf-1.2.0.tar.gz) = 396312322f14fd74813c7938ef517eb29fb3f48664be78c1386dc66ec8b2e2b2
+SIZE (http_sf-1.2.0.tar.gz) = 18866
diff --git a/www/py-http-sf/files/patch-pyproject.toml b/www/py-http-sf/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2c20e6b7adc1
--- /dev/null
+++ b/www/py-http-sf/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+-- Fix invalid pyproject.toml configuration that references LICENSE.md which doesn't exist
+-- in the distribution tarball. Upstream issue: the project uses invalid license specification.
+-- Changed from 'license = "MIT"' with non-existent license-files reference to 'license = {text = "MIT"}'
+--- pyproject.toml.orig2025-04-09 16:20:00 UTC
++++ pyproject.toml
+@@ -4,8 +4,7 @@
+ description = "Parse and serialise HTTP Structured Fields"
+ readme = "README.md"
+ requires-python = ">=3.10"
+-license = "MIT"
+-license-files = ["LICENSE.md"]
++license = {text = "MIT"}
+ classifiers = [
+     "Operating System :: OS Independent",
+     "Development Status :: 4 - Beta"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3787c.1cc52.406fb307>