diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-15 07:26:18 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-15 07:52:48 +0100 |
commit | 6f19d7e13e9cd86564959199cfb8b2306ca6b556 (patch) | |
tree | 9b12820ec7e9d46b614db590864c13d683a023be /dev-python/simplejson | |
parent | media-video/pipewire: fix elog message logic (diff) | |
download | gentoo-6f19d7e13e9cd86564959199cfb8b2306ca6b556.tar.gz gentoo-6f19d7e13e9cd86564959199cfb8b2306ca6b556.tar.bz2 gentoo-6f19d7e13e9cd86564959199cfb8b2306ca6b556.zip |
dev-python/simplejson: Bump to 3.18.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/simplejson')
-rw-r--r-- | dev-python/simplejson/Manifest | 1 | ||||
-rw-r--r-- | dev-python/simplejson/simplejson-3.18.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index 68ddae59b0a0..3edfa3904273 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1 +1,2 @@ DIST simplejson-3.18.3.gh.tar.gz 81540 BLAKE2B bf6a162499b28a362638e19735f668571f88943ae396fb7f813d51ab0684caa8cb996a35deaf1d68adee2a812d685058e9e80d6f6e66604bbb7c704051b0b37f SHA512 54223e08775ab6277722342084bf56684588dd9dda574428cb73b791d37d0b74decef6082268c0389cc4586a534a19e62ec5738fa9ffffaee63f68e27fb465c8 +DIST simplejson-3.18.4.tar.gz 83721 BLAKE2B fb9ea04402ba740a445751ff2be2f5f5c826e20f38289dcf9aa9c8abbaba4b59bf906c3378317818c77bcfa6ccc3fe76608651eac660683eeac61f5750099e3d SHA512 6335389eb620c96d5c537cd335e20d4f112b86c0c463ceed4d8fa36c27bab8b00386b7995e40070bda5eed1fe5883a462579c7d09bdbc828c39537282669d0e4 diff --git a/dev-python/simplejson/simplejson-3.18.4.ebuild b/dev-python/simplejson/simplejson-3.18.4.ebuild new file mode 100644 index 000000000000..8afcfa37c4ea --- /dev/null +++ b/dev-python/simplejson/simplejson-3.18.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE=" + https://github.com/simplejson/simplejson/ + https://pypi.org/project/simplejson/ +" + +LICENSE="|| ( MIT AFL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DOCS=( README.rst CHANGES.txt ) + +distutils_enable_tests unittest + +src_configure() { + export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) + use native-extensions && export REQUIRE_SPEEDUPS=1 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} |