1 |
commit: e69c61a33ab36158037b95cb75cd1d286fafe576 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 15 03:21:53 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 15 03:32:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69c61a3 |
7 |
|
8 |
dev-python/simplejson: version bump to 3.12.0 |
9 |
|
10 |
dev-python/simplejson/Manifest | 1 + |
11 |
dev-python/simplejson/simplejson-3.12.0.ebuild | 32 ++++++++++++++++++++++++++ |
12 |
2 files changed, 33 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest |
15 |
index 84d79f3aab7..b686110d499 100644 |
16 |
--- a/dev-python/simplejson/Manifest |
17 |
+++ b/dev-python/simplejson/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST simplejson-3.10.0.tar.gz 77953 SHA256 953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2 SHA512 c8782fe434f3f1e29562092fe81f46fc272f0b83fdb3ca31fc03707fe09f4d30696ad7ec07a33de873bd08a41b19f97b9d09e3079658952e5110cf8f68eb53c6 WHIRLPOOL 53458b102f64e2fb841bf8c57b56bc0f9ded3d968eecad47ab184eb17be35ff2574ea8abe70867438e46f3f946afc17f7ef9cea3b66d300355e879531dfdafc1 |
20 |
DIST simplejson-3.11.1.tar.gz 78145 SHA256 01a22d49ddd9a168b136f26cac87d9a335660ce07aa5c630b8e3607d6f4325e7 SHA512 f4cdb6a77b39d099630e1774cf8bf33b9d138f69d4e766bfc70fb710e24ace00d7a92b4b30b3047e361212a030864055b9de4cc5f78d231cffd930284b209377 WHIRLPOOL d9d5e9e4fcecc8f11b334e48502b258016a09e4b794bdf91166f06f22dec1da78bdc1931f1e42eb5e3e843f49a1e2204dec7a3dc104871958107c22f96c81a44 |
21 |
+DIST simplejson-3.12.0.tar.gz 77969 SHA256 df5e38f5e0a24abe0e02276aa5c3f8504150047a51c0b6b848b8153e6e6d395e SHA512 65b41f00a503ebdca169428aacac2f431e50099b6ac4c732cef769e17d3419d00f8ac40f9834d827a2f33391e6799d3af892e63e2a853ef1294b2ed8466bd7d8 WHIRLPOOL b319a7206544be28f3765c7c6a41111dc77d33e1937afd9df69e14d6a5b79b249390b10096a6c93289a79ce67756d80026aa8707a9069a02bfcab9bbad9d7247 |
22 |
|
23 |
diff --git a/dev-python/simplejson/simplejson-3.12.0.ebuild b/dev-python/simplejson/simplejson-3.12.0.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..63006c9caf2 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/simplejson/simplejson-3.12.0.ebuild |
28 |
@@ -0,0 +1,32 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
35 |
+ |
36 |
+inherit distutils-r1 flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" |
39 |
+HOMEPAGE="https://github.com/simplejson/simplejson https://pypi.python.org/pypi/simplejson" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="|| ( MIT AFL-2.1 )" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
45 |
+ |
46 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
47 |
+ |
48 |
+DOCS=( README.rst CHANGES.txt ) |
49 |
+ |
50 |
+python_compile() { |
51 |
+ if ! python_is_python3; then |
52 |
+ local CFLAGS=${CFLAGS} |
53 |
+ append-cflags -fno-strict-aliasing |
54 |
+ fi |
55 |
+ distutils-r1_python_compile |
56 |
+} |
57 |
+ |
58 |
+python_test() { |
59 |
+ esetup.py test |
60 |
+} |