summaryrefslogtreecommitdiff
path: root/dev-python/ujson
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ujson')
-rw-r--r--dev-python/ujson/Manifest2
-rw-r--r--dev-python/ujson/ujson-5.10.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest
index a12d05cbda1b..ffa335789550 100644
--- a/dev-python/ujson/Manifest
+++ b/dev-python/ujson/Manifest
@@ -1,3 +1,5 @@
+DIST ujson-5.10.0.tar.gz 7154885 BLAKE2B 5cb09e7b8576b837f19e604eda2f498d5cf479c9b0018d948e011a53c5b91fcaf869d8b8f0babf6c1d725e1ba000f107f767a7c2f74c52121bce95a2082938a7 SHA512 29aeb2f57c607c382deb2825f6262b73d11f1edff0545338819d081f223dabb66b2967744cc11b9f4c0b7f042d51688f04bf07fb9b2cdb6adfec439a3d8aea32
DIST ujson-5.9.0.tar.gz 7154214 BLAKE2B a13eda1c967b8ad39265caf28f97ef302a0b320653cde3ac927dc8119861aa468cfe267980c18b71172f5b766b2e6bc61bb86f18695528934902867ae3a42d37 SHA512 9940bc0c892341a6d2b85cfe592888866f02f054f1367812c39395eaee946f7c66a0197b2791bbb765ae38a06dcd871145effefbc06c71a87f7d24be105cda1f
+EBUILD ujson-5.10.0.ebuild 896 BLAKE2B 209b3d7467c33959268e719193219e5f72792a1ec6d576536111bc95a5007ef10db23f0a031aa3a2f5f90f13bed2e6b8c90aba5fc56a0d31ec58843f71aaf70e SHA512 bc902ec87d6517c6485d3fc901ed62b695df84d759ca9421b1a51c84cdff81ffc9f3057a47e6e40b82a02dfc7331f892a3e1fcfd9475727d06b63f6c87e8f4a4
EBUILD ujson-5.9.0.ebuild 888 BLAKE2B 0d125e92f4c44c4909c43020789b41484e325f407adae0a204382ea64800c81f9c27b09faa8579dbecba644cabbd23e151af8589bf13f2c3255e77d71a5594c1 SHA512 fcdf13706b07d8b425afcc65db891cf39bd8df4b3617ed4e3aac5cde612d2b06073e417adec2e920b3c893b8a815c2cef50d5d783829f3968ee87cbbae24f5cf
MISC metadata.xml 494 BLAKE2B 8e20150926d62643e7ff2110cba22313db0c0e3112290ce08302d57103aa35c42a56921d0b46e0acca2ef83756eb4f7384f23ddb06fe41ef6c4a28921f11ec33 SHA512 d9c0a59f916b84d50e51a21152c1815fea90a909dc9bd44ea620b2a33ca6a92ee237aafe29debcc9d1a2bf63c84112300845309eb0ab1265e5d2b0c05dd313f0
diff --git a/dev-python/ujson/ujson-5.10.0.ebuild b/dev-python/ujson/ujson-5.10.0.ebuild
new file mode 100644
index 000000000000..426df23f2c32
--- /dev/null
+++ b/dev-python/ujson/ujson-5.10.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+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 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ dev-libs/double-conversion:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+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
+}