diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-16 09:17:00 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-16 09:35:46 +0300 |
commit | da9e48e58453054f18dc085e206be4654604295e (patch) | |
tree | 5307ce03c09be45819c5c7919569f09e1d4a307c /dev-python/ujson | |
parent | dev-python/furo: mark ALLARCHES (diff) | |
download | gentoo-da9e48e58453054f18dc085e206be4654604295e.tar.gz gentoo-da9e48e58453054f18dc085e206be4654604295e.tar.bz2 gentoo-da9e48e58453054f18dc085e206be4654604295e.zip |
dev-python/ujson: add 5.5.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/ujson')
-rw-r--r-- | dev-python/ujson/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ujson/ujson-5.5.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index ad33a9313ddb..98cd467f6de2 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1 +1,2 @@ DIST ujson-5.4.0.tar.gz 7139576 BLAKE2B d3bd6bcc4dc733cafc47e613e2dc503e8cf7faf562d2fad91ea66b1a62dd4a8d67a2c80c392eba0c224f382280e58ff3fff51308c22862aaae5e671b5183027c SHA512 9622e872391d5467455b32e324d7b680487664ca486bfc56ba8c3969853e5db94725cd45e81b535dca80af4a3c718af171ce7adb6dcb9b98a37a8068824f89c6 +DIST ujson-5.5.0.tar.gz 7140414 BLAKE2B cca99fbb8cec447500c0dec34a952c4474acd0149783c887ee713cee60859570e41c9e349d49ff7eeba645d0c04a7e368da2ec8c42b6f55f59e971f834449e3a SHA512 883c0bd8b933557fc98556af1679de6df0372ee83a5533d8ea3f994dc13cd9bcd3140e2532ea1ad24419dab9ffbb59027e00f0a5e7ca285bf68358205a07bcd5 diff --git a/dev-python/ujson/ujson-5.5.0.ebuild b/dev-python/ujson/ujson-5.5.0.ebuild new file mode 100644 index 000000000000..1b35f0d4ffe6 --- /dev/null +++ b/dev-python/ujson/ujson-5.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~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="/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} |