diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-15 12:22:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-15 12:22:30 +0100 |
commit | 3ad1879f00b279af69d6b9cd3ef97a2a7496d734 (patch) | |
tree | 497e5c46d6f6695b96866bc46abe1a2470a880b5 /dev-python/simplejson | |
parent | 792e307954fd3b5b12c968741d76ea7cfe5206e4 (diff) |
gentoo auto-resync : 15:08:2024 - 12:22:30
Diffstat (limited to 'dev-python/simplejson')
-rw-r--r-- | dev-python/simplejson/Manifest | 2 | ||||
-rw-r--r-- | dev-python/simplejson/simplejson-3.19.3.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index ca479f3e8920..7a5f8bfcca71 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,3 +1,5 @@ DIST simplejson-3.19.2.tar.gz 85311 BLAKE2B eecbe77c9612468a0ce52b165be9b4fc4b3d8bcca99621a2723c50fc0c89cdce981421ba71b85535f1c66b48b7178da37f117f9dec8a66cb6f3fe83e3d2d033e SHA512 d92bf617e27b66d93a5d176d38c0c6ae2777728d1e43fdb8054cc9c2b50e3f340079c82dd3ec1af36c8d6380833d16e8eecdc8dd950bba953c195256b44b46c5 +DIST simplejson-3.19.3.tar.gz 85237 BLAKE2B e3c233201c390a1c864670d9a7a81a6aef5334632afbbc303b31dab06709d8a383451e3c7500be3166282b322b93f4fedc2633a1519cb2e2eaef7c4472e903a6 SHA512 257c10c4c84201f1d9c4d77e823c4ef393bf7214c8947e4c95bcfe7c09140ff1b974cc5b00a6e659961263380673d3c4b67a1b37f878888ed049f1db0b663c92 EBUILD simplejson-3.19.2.ebuild 1001 BLAKE2B 429c3bb1368715164dcd973b6457347b5492ec7089fcf8d37c983b52e7a4af128cecb8bf0ca6bf74a26540d0dc54416f1f85c5b2c6a2dadda4274ae01754617c SHA512 3dfbc523cab3e5a4b825e53ee56b35411e2df7702b2142fdcec4e2cf766046518010994aa494bed2357b4e7e1337346c7af540b722d819e4286c8490c1b21fc0 +EBUILD simplejson-3.19.3.ebuild 1009 BLAKE2B 42d8ba84696962e63d0da01f95c625649ab2357ec486a9c75e6be81a2c8cc8e813106ba6fa9501ff34059bb5332383f54dd31ecbffd9d6a8ddf35ae2eecac6cd SHA512 b4503ef5d49db74f5c08e9b590d67c95d6f37ac1053ad1c7a8a52a2f9a317d70ee8b531f0fb263b1ff4e4e7306396ddfc1ed79225aad1b43d0a51977af61f40a MISC metadata.xml 522 BLAKE2B b8b8fdade498ef65f4d5d6e30bc9f0708390f3d064a332d04f0b33346224c59252ef3d512a5a7187c637348201829ccc83254cd898e8df06dff314e857debb58 SHA512 1a1b53900ef62d4d40977504378dce3ce15f1c56ae5a73263127f5919674b1f9b13964128550e0c0e274d4bf50f2c2b438626e3ba1a5f8436071e1eb2f4c30af diff --git a/dev-python/simplejson/simplejson-3.19.3.ebuild b/dev-python/simplejson/simplejson-3.19.3.ebuild new file mode 100644 index 000000000000..c61dabcb3d8e --- /dev/null +++ b/dev-python/simplejson/simplejson-3.19.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 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_{10..13} 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() { + # 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 +} |