mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/simplejson: Bump to 4.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST simplejson-3.20.2.tar.gz 85784 BLAKE2B f4ccb67d50aa0c9462fa205d7960e0b255c12bbe2dba7dec5b6ecd989604166690122af11c0a21b55272272131ea0cc5c8d1edabf8cfbceedc1af9abfea10227 SHA512 78e5066d75752797e39da5627c3deeedbcaf98aaf62444123b05e9b7cc251a8c1e21b8c45137f6cbcfed3052f569401d9e2120e8625721737f66dc6dae273416
|
||||
DIST simplejson-3.20.2.tar.gz.provenance 9593 BLAKE2B 5e7116d4f28837f3cf05acb63f8fb5c3ee544687db9ec38f35e5453ea50468b56b43310f0fe0411a83012addb75b286ed9670a51ca32a3658c389f3132f418fa SHA512 7390b763448d0b6450b59528213197a79a230eb8030fc5f3cf72e55a2a3e084ea40b077d009e2cdcdeb1b3025fb032f8118eec0be93241a2266dc2c143b0edae
|
||||
DIST simplejson-4.0.1.tar.gz 115959 BLAKE2B 6e882ac33343552c472e4fe045c09d73d6e1d3dbe99bc8e3b915d35d989311858055961d453e2650b52d30c7c1720cd8432b6c439d58bfab8cad006b05ba221c SHA512 eeeb67a2266abea57d6ecd3cfc29d741ae899059fc918f9b92029138c864a20d73a85d9d451a7dfdef417da13270b794e81c28e4ed92f82f8ce68f712a931acc
|
||||
DIST simplejson-4.0.1.tar.gz.provenance 9422 BLAKE2B af77b146445c6b9db0dacd7bed5644bc21bb8d84245f1b4e93003859a690006b027beddc4a3ca1924c5e38348368004116e6ad0216facc78499c22845769b89b SHA512 1aa9c8491d900a2371b1a6bf99151094205999612f92a6d0fe43589208df7573f1df9d0f5e19c02f84ff08055a356552bf6be7c6d79e46514a14d0a82d5d5dd1
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/simplejson/simplejson
|
||||
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 ~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
|
||||
}
|
||||
Reference in New Issue
Block a user