1 |
commit: a94dc9e67e5383c836f9b23408b40c648e0256ae |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 09:34:11 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 09:34:11 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94dc9e6 |
7 |
|
8 |
dev-python/simplejson: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/simplejson/Manifest | 1 + |
14 |
dev-python/simplejson/simplejson-3.8.1.ebuild | 33 +++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest |
18 |
index a881982..1fbe838 100644 |
19 |
--- a/dev-python/simplejson/Manifest |
20 |
+++ b/dev-python/simplejson/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST simplejson-3.7.2.tar.gz 74877 SHA256 8358ecc05541be4068109acf26a4ae89ba14450d20e92e0973d0d67bea3d7431 SHA512 5e2874c4d627035b3e205b5208b46beb172ac934742b0cb68f43f70aa2f401ec568c2b69fccdb1d870bf5196df0f6e37b790332a6e4d7969a296c8c104bdfe0b WHIRLPOOL 26f5e23250031d9b20b121a7110a1b623f32128721281b2554f2727f815b03b39b0680d21b41bb8729288f2774d38e92301bcf72188d054aa03497818edefdca |
23 |
DIST simplejson-3.8.0.tar.gz 75875 SHA256 217e4797da3a9a4a9fbe6722e0db98070b8443a88212d7acdbd241a7668141d9 SHA512 c985a0f56170f78b6c6e8f0e4b4bf50f258c8f2639524f5b14d8e07b547e336acf96ac55cf562243fff06752ceba4a05f1e6dd43f6c918159a7b3640af0f0c1d WHIRLPOOL 368779f57bc1186d3b30ae80f74d0eca50709dfe6063d52c359d665eaacc9caa751fbbb9f4437e8bf8908f3569f85424632208d8f7c6146ebc8e8cc9c77b723d |
24 |
+DIST simplejson-3.8.1.tar.gz 76033 SHA256 428ac8f3219c78fb04ce05895d5dff9bd813c05a9a7922c53dc879cd32a12493 SHA512 9c135347a015f5fbb4373da61282230430320c89bc1114f7487eb632bccbe29a4b2c396d724c6c72af5c7df78f1676869a037be9d137b4f29f18e82a9eb2b1f5 WHIRLPOOL 8441ccaff4e4115d58461f528179c4fc25139b5f7f86cc85826798e392e664154468f1fa2471f18fc7bd518adf06a75b493218765ca4df022d92e6ee24552e38 |
25 |
|
26 |
diff --git a/dev-python/simplejson/simplejson-3.8.1.ebuild b/dev-python/simplejson/simplejson-3.8.1.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..5043687 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/simplejson/simplejson-3.8.1.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 flag-o-matic |
41 |
+ |
42 |
+DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" |
43 |
+HOMEPAGE="http://undefined.org/python/#simplejson https://pypi.python.org/pypi/simplejson" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="|| ( MIT AFL-2.1 )" |
47 |
+SLOT="0" |
48 |
+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" |
49 |
+ |
50 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+DOCS=( README.rst CHANGES.txt ) |
53 |
+ |
54 |
+python_compile() { |
55 |
+ if ! python_is_python3; then |
56 |
+ local CFLAGS=${CFLAGS} |
57 |
+ append-cflags -fno-strict-aliasing |
58 |
+ fi |
59 |
+ distutils-r1_python_compile |
60 |
+} |
61 |
+ |
62 |
+python_test() { |
63 |
+ esetup.py test |
64 |
+} |