mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/simplejson: Bump to 3.20.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
7e5b5d1907
commit
d16f4118bd
@ -1 +1,2 @@
|
||||
DIST simplejson-3.20.1.tar.gz 85591 BLAKE2B dc79cc7ad25c8119abe240d2b5ce4ed72c56b7b371e20084a208a3a1556f8f8171adf440d09b20a4eaf9ef77b5c7782785912fe265f8f8bb66b73b95b5e7aeaa SHA512 4f565530b6695bc7a1dded86a7694498f862fd21b614e097fc00deb7b5a9ced76a6669f22b862692e202cc19676bd94ca6588fb3a7df4af8c073d3344c7bbd3b
|
||||
DIST simplejson-3.20.2.tar.gz 85784 BLAKE2B f4ccb67d50aa0c9462fa205d7960e0b255c12bbe2dba7dec5b6ecd989604166690122af11c0a21b55272272131ea0cc5c8d1edabf8cfbceedc1af9abfea10227 SHA512 78e5066d75752797e39da5627c3deeedbcaf98aaf62444123b05e9b7cc251a8c1e21b8c45137f6cbcfed3052f569401d9e2120e8625721737f66dc6dae273416
|
||||
|
||||
37
dev-python/simplejson/simplejson-3.20.2.ebuild
Normal file
37
dev-python/simplejson/simplejson-3.20.2.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2025 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_{11..14} pypy3_11 )
|
||||
|
||||
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 ~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() {
|
||||
# native-extensions are always disabled on PyPy
|
||||
# https://github.com/simplejson/simplejson/blob/master/setup.py#L121
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user