1 |
commit: 6f19d7e13e9cd86564959199cfb8b2306ca6b556 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 06:26:18 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 06:52:48 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f19d7e1 |
7 |
|
8 |
dev-python/simplejson: Bump to 3.18.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/simplejson/Manifest | 1 + |
13 |
dev-python/simplejson/simplejson-3.18.4.ebuild | 34 ++++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest |
17 |
index 68ddae59b0a0..3edfa3904273 100644 |
18 |
--- a/dev-python/simplejson/Manifest |
19 |
+++ b/dev-python/simplejson/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST simplejson-3.18.3.gh.tar.gz 81540 BLAKE2B bf6a162499b28a362638e19735f668571f88943ae396fb7f813d51ab0684caa8cb996a35deaf1d68adee2a812d685058e9e80d6f6e66604bbb7c704051b0b37f SHA512 54223e08775ab6277722342084bf56684588dd9dda574428cb73b791d37d0b74decef6082268c0389cc4586a534a19e62ec5738fa9ffffaee63f68e27fb465c8 |
22 |
+DIST simplejson-3.18.4.tar.gz 83721 BLAKE2B fb9ea04402ba740a445751ff2be2f5f5c826e20f38289dcf9aa9c8abbaba4b59bf906c3378317818c77bcfa6ccc3fe76608651eac660683eeac61f5750099e3d SHA512 6335389eb620c96d5c537cd335e20d4f112b86c0c463ceed4d8fa36c27bab8b00386b7995e40070bda5eed1fe5883a462579c7d09bdbc828c39537282669d0e4 |
23 |
|
24 |
diff --git a/dev-python/simplejson/simplejson-3.18.4.ebuild b/dev-python/simplejson/simplejson-3.18.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..8afcfa37c4ea |
27 |
--- /dev/null |
28 |
+++ b/dev-python/simplejson/simplejson-3.18.4.ebuild |
29 |
@@ -0,0 +1,34 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 pypi |
39 |
+ |
40 |
+DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/simplejson/simplejson/ |
43 |
+ https://pypi.org/project/simplejson/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="|| ( MIT AFL-2.1 )" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
49 |
+IUSE="+native-extensions" |
50 |
+ |
51 |
+DOCS=( README.rst CHANGES.txt ) |
52 |
+ |
53 |
+distutils_enable_tests unittest |
54 |
+ |
55 |
+src_configure() { |
56 |
+ export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) |
57 |
+ use native-extensions && export REQUIRE_SPEEDUPS=1 |
58 |
+} |
59 |
+ |
60 |
+python_test() { |
61 |
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die |
62 |
+ eunittest |
63 |
+} |