1 |
commit: 08e8d3a7ae49455f8d965da3780057a9131d57ac |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 12:40:39 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 15:22:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e8d3a7 |
7 |
|
8 |
dev-python/demjson: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/demjson/Manifest | 1 + |
13 |
dev-python/demjson/demjson-2.2.4.ebuild | 36 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/demjson/Manifest b/dev-python/demjson/Manifest |
17 |
index 2120524..cd1cc12 100644 |
18 |
--- a/dev-python/demjson/Manifest |
19 |
+++ b/dev-python/demjson/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST demjson-2.2.2.tar.gz 130874 SHA256 5114563dd3a0324b6c9c74250528660adbb6a095b2a015038149e31a9b5727d5 SHA512 c5df57fdc286b33fbceada0ff8531d559fb183b29ca114fbfef7dfd0615ad5bae3882da91b6818ad58be5e20d3c2091db7cb75b1c31285b8ed5f466984b5fc15 WHIRLPOOL 6ca4e599128a896df098514d2b1983b025122ac07ee5ffa2f673c2d441482e32b7fa013a3896c2efedfcea9114dbe2049927b1754d4db9127bdf1ab9f32ddda3 |
22 |
DIST demjson-2.2.3.tar.gz 131263 SHA256 9fb0f3c02fe500104680af2889a64d1637b395aebdb37341ae2309d77854f40c SHA512 058f8429967e21b30a9e28ec7790c372f5eb3126d7ab05c17d6f0548002650314048bf2f4eb3e2c8f75bb91169722c90eeeddb815ca166dfb14b2d1385504b14 WHIRLPOOL b665e19c5c28afd4636b2f33959f7a14d04706c8e8d7c77ef790fb12e3aff56a1cea35420caf7eceb06de8b001cab07a3e38d4252b7f67a3dbba99fcc4f1d476 |
23 |
+DIST demjson-2.2.4.tar.gz 131457 SHA256 31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 SHA512 d8a1cde062d0b062bdae29b6d79ad69fb9cc185428718a0009ccbed544ed37bd354fbb86edadb56bd98183ac8636b2edae322ed19aa5f07a7b6df668c7aa0029 WHIRLPOOL 70e826739bc2ae7ca040e54fe651f021a1c7f08357d985a560a8560f5da694da0068d32e7a972525ba215a6fcda93abdebdf4d99c8e3f156a9f17600aa283973 |
24 |
|
25 |
diff --git a/dev-python/demjson/demjson-2.2.4.ebuild b/dev-python/demjson/demjson-2.2.4.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..f2ed84f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/demjson/demjson-2.2.4.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="encoder, decoder, and lint/validator for JSON (JavaScript Object Notation) compliant with RFC 4627" |
41 |
+HOMEPAGE="http://deron.meranda.us/python/demjson/ https://pypi.python.org/pypi/demjson" |
42 |
+SRC_URI="http://deron.meranda.us/python/${PN}/dist/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="LGPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~x86" |
47 |
+IUSE="doc" |
48 |
+ |
49 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
50 |
+RDEPEND="" |
51 |
+ |
52 |
+python_test() { |
53 |
+ cd test |
54 |
+ if python_is_python3; then |
55 |
+ 2to3 -w --no-diffs test_demjson.py |
56 |
+ fi |
57 |
+ "${PYTHON}" test_demjson.py |
58 |
+} |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ distutils-r1_python_install_all |
62 |
+ # Docs are .txt files |
63 |
+ if use doc; then |
64 |
+ dodoc docs/*.txt || die "Installation of documentation failed" |
65 |
+ fi |
66 |
+} |