git: 277213b70b5f - main - devel/py-ujson: upgrade to 5.13.0

From: Xin LI <delphij_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 14:37:34 UTC
The branch main has been updated by delphij:

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

commit 277213b70b5f42bf2d2d6e72b614f4f422eec10e
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-06-30 14:36:35 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-06-30 14:37:11 +0000

    devel/py-ujson: upgrade to 5.13.0
---
 devel/py-ujson/Makefile                   |  2 +-
 devel/py-ujson/distinfo                   |  6 +++---
 devel/py-ujson/files/patch-pyproject.toml | 29 +++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 4 deletions(-)

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,5 +1,5 @@
 PORTNAME=	ujson
-PORTVERSION=	5.12.1
+PORTVERSION=	5.13.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
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"