commit:     e81c75be857b6f0d208f5a94957ac582083f09f2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 04:20:42 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 04:38:19 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e81c75be

dev-python/ujson: Bump to 5.12.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ujson/Manifest            |  2 ++
 dev-python/ujson/ujson-5.12.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest
index 7c137358d73c..2f0968eba239 100644
--- a/dev-python/ujson/Manifest
+++ b/dev-python/ujson/Manifest
@@ -1 +1,3 @@
 DIST ujson-5.11.0.tar.gz 7156583 BLAKE2B 
fbf684496018984070141fb3f4dbad64cd4ce69cd6d48c4459a2f595507fccfec12d18e9a0e5e9f7b915bba05877c681e377458ee8c02d77f2abd081fef631d0
 SHA512 
93f94534201dc8227f11eb6852fa15e432d1506fea3a21ec2f16468a78307a9f23f938e55ec6bf7e5707859cd3a5a84e2d15493224675cda2fc70c72967c042e
+DIST ujson-5.12.0.tar.gz 7158451 BLAKE2B 
0a70ac85dcd4516af11c9a9014930dbb2f172485f22c2ce2db5c49a3d3938b040b9df99fd4d8c03f690929b45364a62b7967136dc4cb1bacf7dfaabcb73d8638
 SHA512 
1424f30338194edf934f90a5a59a66f119e3121ecb57c134738cfd5ef52fbda786d7c98c3bba33e4ffb7858357be0ab69376e44d687202522645ccf7fd829969
+DIST ujson-5.12.0.tar.gz.provenance 9494 BLAKE2B 
9776e4f9914e95172cf27c02d785ee2e1e3a9462f69cd6db8ed0716123fb021ac0a60ddbe4ae945c503d206d7a3fec6781ebe3471fdab951e4dd8ba3b20fb91a
 SHA512 
c54ce5a6428c3702df6140129a45fd5b48f42391b4a7afd137711215ee940563aaaf3369a15d96eb387e60bf5ad038df94664c43c1e59b6f260fcae5928cd82d

diff --git a/dev-python/ujson/ujson-5.12.0.ebuild 
b/dev-python/ujson/ujson-5.12.0.ebuild
new file mode 100644
index 000000000000..e2173deca257
--- /dev/null
+++ b/dev-python/ujson/ujson-5.12.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/ultrajson/ultrajson
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Ultra fast JSON encoder and decoder for Python"
+HOMEPAGE="
+       https://github.com/ultrajson/ultrajson/
+       https://pypi.org/project/ujson/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+DEPEND="
+       dev-libs/double-conversion:=
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_configure() {
+       export 
UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion"
+       export UJSON_BUILD_DC_LIBS="-ldouble-conversion"
+       export UJSON_BUILD_NO_STRIP=1
+}

Reply via email to