git: 24ec21219270 - main - devel/py-types-jsonschema: update to 4.26.0.20260325
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 10:58:29 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=24ec212192706bb7f6993b3df1e298c111c204e6
commit 24ec212192706bb7f6993b3df1e298c111c204e6
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2026-03-29 10:55:54 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2026-03-29 10:58:21 +0000
devel/py-types-jsonschema: update to 4.26.0.20260325
Following upstream changes, switch to PEP517 build with the default
setuptools. Apply even more workarounds for the elderl version of
setuptools in ports.
Changes: https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/jsonschema.md
Reported by: replogy
---
devel/py-types-jsonschema/Makefile | 7 +++++--
devel/py-types-jsonschema/distinfo | 6 +++---
devel/py-types-jsonschema/files/patch-pyproject.toml | 15 +++++++++++----
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/devel/py-types-jsonschema/Makefile b/devel/py-types-jsonschema/Makefile
index ce4f6e477468..af5c4f75ae7f 100644
--- a/devel/py-types-jsonschema/Makefile
+++ b/devel/py-types-jsonschema/Makefile
@@ -1,5 +1,5 @@
PORTNAME= types-jsonschema
-PORTVERSION= 4.26.0.20260202
+PORTVERSION= 4.26.0.20260325
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,10 @@ WWW= https://pypi.org/project/types-jsonschema/
LICENSE= APACHE20
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
NO_ARCH= yes
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
.include <bsd.port.mk>
diff --git a/devel/py-types-jsonschema/distinfo b/devel/py-types-jsonschema/distinfo
index 30edd8438ac8..68532b75faca 100644
--- a/devel/py-types-jsonschema/distinfo
+++ b/devel/py-types-jsonschema/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1770063588
-SHA256 (types_jsonschema-4.26.0.20260202.tar.gz) = 29831baa4308865a9aec547a61797a06fc152b0dac8dddd531e002f32265cb07
-SIZE (types_jsonschema-4.26.0.20260202.tar.gz) = 16168
+TIMESTAMP = 1774779896
+SHA256 (types_jsonschema-4.26.0.20260325.tar.gz) = 84c319ba1af5463394d99accd96db543b7cb0eeab0938c652c18129536672002
+SIZE (types_jsonschema-4.26.0.20260325.tar.gz) = 16441
diff --git a/devel/py-types-jsonschema/files/patch-pyproject.toml b/devel/py-types-jsonschema/files/patch-pyproject.toml
index b22f40246e47..911542fa6987 100644
--- a/devel/py-types-jsonschema/files/patch-pyproject.toml
+++ b/devel/py-types-jsonschema/files/patch-pyproject.toml
@@ -1,23 +1,30 @@
---- pyproject.toml.orig 2026-02-02 04:11:19 UTC
+--- pyproject.toml.orig 2026-03-25 04:08:09 UTC
+++ pyproject.toml
@@ -1,12 +1,11 @@ build-backend = "setuptools.build_meta"
[build-system]
build-backend = "setuptools.build_meta"
--requires = ["setuptools>=77.0.3"]
+-requires = ["setuptools>=82.0.1"]
+requires = ["setuptools>=61"]
[project]
name = "types-jsonschema"
- version = "4.26.0.20260202"
+ version = "4.26.0.20260325"
-license = "Apache-2.0"
-license-files = ["LICENSE"]
+license = { text = "Apache-2.0" }
description = "Typing stubs for jsonschema"
readme = { text = """\
## Typing stubs for jsonschema
-@@ -46,5 +45,4 @@ dependencies = ['referencing']
+@@ -46,8 +45,10 @@ dependencies = ['referencing']
"Chat" = "https://gitter.im/python/typing"
[tool.setuptools]
-packages = ['jsonschema-stubs']
include-package-data = false
+
++[tool.setuptools.packages.find]
++where = ["jsonschema-stubs"]
++
+ [tool.setuptools.package-data]
+-'jsonschema-stubs' = ['__init__.pyi', '_format.pyi', '_keywords.pyi', '_legacy_keywords.pyi', '_types.pyi', '_typing.pyi', '_utils.pyi', 'cli.pyi', 'exceptions.pyi', 'protocols.pyi', 'validators.pyi', 'METADATA.toml', 'py.typed']
++"*" = ["*"]