diff --git a/devel/py-ujson/Makefile b/devel/py-ujson/Makefile index 6bd6a32ab545..f66ce7b5d174 100644 --- a/devel/py-ujson/Makefile +++ b/devel/py-ujson/Makefile @@ -1,25 +1,25 @@ PORTNAME= ujson -PORTVERSION= 5.12.1 +PORTVERSION= 5.13.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= delphij@FreeBSD.org COMMENT= Ultra fast JSON encoder and decoder for Python WWW= https://github.com/esnme/ultrajson LICENSE= BSD3CLAUSE TclTk LICENSE_COMB= multi LICENSE_NAME_TclTk= Tcl/Tk License LICENSE_TEXT_TclTk= http://www.tcl.tk/software/tcltk/license.html LICENSE_PERMS_TclTk= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= cpe python CPE_PRODUCT= ultrajson CPE_VENDOR= ultrajson_project USE_PYTHON= pep517 autoplist .include diff --git a/devel/py-ujson/distinfo b/devel/py-ujson/distinfo index 44ac58874ec8..83acca1d3a8f 100644 --- a/devel/py-ujson/distinfo +++ b/devel/py-ujson/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1778226055 -SHA256 (ujson-5.12.1.tar.gz) = 5b7e96406c301a1366534479a7352ec40ec68bb327c0c119091635acd5925e35 -SIZE (ujson-5.12.1.tar.gz) = 7164538 +TIMESTAMP = 1782799050 +SHA256 (ujson-5.13.0.tar.gz) = d62e3d7625384c08082abad81a077af587fdef2761bb14c3822f4234b8d07d75 +SIZE (ujson-5.13.0.tar.gz) = 7166784 diff --git a/devel/py-ujson/files/patch-pyproject.toml b/devel/py-ujson/files/patch-pyproject.toml new file mode 100644 index 000000000000..8d1605335cad --- /dev/null +++ b/devel/py-ujson/files/patch-pyproject.toml @@ -0,0 +1,29 @@ +--- pyproject.toml.orig 2026-06-14 22:33:29 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +- "setuptools>=77", ++ "setuptools>=63", + "setuptools-scm[toml]>=3.4", + ] + +@@ -8,8 +8,7 @@ readme = "README.md" + name = "ujson" + description = "Ultra fast JSON encoder and decoder for Python" + readme = "README.md" +-license = "BSD-3-Clause AND TCL" +-license-files = [ "LICENSE.txt" ] ++license = {text = "BSD-3-Clause AND TCL"} + authors = [ + { name = "Jonas Tarnstrom" }, + ] +@@ -36,7 +35,7 @@ urls.Source = "https://github.com/ultrajson/ultrajson" + urls.Source = "https://github.com/ultrajson/ultrajson" + + [tool.setuptools] +-packages = [ "ujson-stubs" ] ++packages = {find = {exclude = ["tests", "tests.*", "scripts", "scripts.*", "src", "src.*"]}} + + [tool.isort] + profile = "black"