From 3f98d13864c66cd3e22696b6efa594ace64e4fd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Jun 2023 13:12:32 +0200 Subject: [PATCH] dev-python/ujson: Bump to 5.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/ujson/Manifest | 1 + dev-python/ujson/ujson-5.8.0.ebuild | 41 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/ujson/ujson-5.8.0.ebuild diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 8ab239fbbb445..77d8f87de2b23 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1 +1,2 @@ DIST ujson-5.7.0.tar.gz 7152625 BLAKE2B 363fd77be3e2f8fb42a70db744ab4da12c0c8383103983b3555cee237497837abfcef102b19a51c0fa118fedd7847c568607c058f1d2cea76858a6bd89a226da SHA512 e18a1608a7fe79030e3ff307c9e95a0e238cd5049ee791eddbc07efa55853475d053268b80a8765023639ae8ff39f82b4ae2c04e82fc7dc5f3192a5134ec0757 +DIST ujson-5.8.0.tar.gz 7154530 BLAKE2B 8eef1b2e03fa4a99dccc9d5fba8c1436d8e11b419e7f4c8d382bf5a2250477c99a1f0ff7f9e548ca5a50217a5964dafc953ab3cdb66b784ef1dea129ec1c2b6a SHA512 258e5527bda8b9fb3bea03f97d5db752ae06183337610975fc28f928817b430ae7a1867932ee7b0a0ccd6b825e2c5a104d7ce78c1e3405ed5679a2a70a5804c3 diff --git a/dev-python/ujson/ujson-5.8.0.ebuild b/dev-python/ujson/ujson-5.8.0.ebuild new file mode 100644 index 0000000000000..afdc35e433b9b --- /dev/null +++ b/dev-python/ujson/ujson-5.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~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 +}