summaryrefslogtreecommitdiff
path: root/dev-python/simplejson
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-19 07:10:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-19 07:10:49 +0000
commitbd587a36d251fb687d456c2063414e95dd5e3bd3 (patch)
tree331c7ee19fc514efed103c29bbf820342d7755ed /dev-python/simplejson
parent3a33857d73679f670502e2a6490ffef5771e53f7 (diff)
downloadbaldeagleos-repo-bd587a36d251fb687d456c2063414e95dd5e3bd3.tar.gz
baldeagleos-repo-bd587a36d251fb687d456c2063414e95dd5e3bd3.tar.xz
baldeagleos-repo-bd587a36d251fb687d456c2063414e95dd5e3bd3.zip
Adding metadata
Diffstat (limited to 'dev-python/simplejson')
-rw-r--r--dev-python/simplejson/Manifest2
-rw-r--r--dev-python/simplejson/simplejson-4.0.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest
index 38bfa8379df0..a657f7290317 100644
--- a/dev-python/simplejson/Manifest
+++ b/dev-python/simplejson/Manifest
@@ -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
diff --git a/dev-python/simplejson/simplejson-4.0.1.ebuild b/dev-python/simplejson/simplejson-4.0.1.ebuild
new file mode 100644
index 000000000000..419c6fa62dac
--- /dev/null
+++ b/dev-python/simplejson/simplejson-4.0.1.ebuild
@@ -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_{10..14} )
+
+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
+}