1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

www/py-http-sf: update 1.0.7 → 1.2.0

This commit is contained in:
Yuri Victorovich
2026-04-30 08:00:13 -07:00
parent 382ceb9c83
commit fd0b0ec771
3 changed files with 24 additions and 6 deletions
+6 -3
View File
@@ -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>
+3 -3
View File
@@ -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
+15
View File
@@ -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"