1 |
commit: 7fbe2ac301c726dd6b9903aac3735af6826fe487 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 15:03:39 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 5 13:52:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fbe2ac3 |
7 |
|
8 |
dev-python/json-rpc: version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-python/json-rpc/Manifest | 1 + |
13 |
dev-python/json-rpc/json-rpc-1.11.0.ebuild | 40 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest |
17 |
index 672f7ec0c4f..93316d2f9fc 100644 |
18 |
--- a/dev-python/json-rpc/Manifest |
19 |
+++ b/dev-python/json-rpc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST json-rpc-1.10.1.tar.gz 25410 BLAKE2B bb543dc9987d7aa4880d1981fad888ae9374f51958a2b7934e2779fc835705c03946cb3378ca60a914a130ae78741cda75da40ee8ce76e6b4af17a2e98498089 SHA512 bb69cbb12c0a64286fb1e98db21ca75cb19daf20c6d6f5721f82891a17e44d2cda172e73bd389a02077d094b8f6deb0959952b0498b0c1b4a0acfaa5e3ba3922 |
22 |
+DIST json-rpc-1.11.0.tar.gz 29442 BLAKE2B b2a77bdcc2f5efe64527feb29b28c0add90b9fdbd5aa73dce18c33e9a10342c1e6b04ed5d53c110e3f1b6287cf1fdca9db77e38a04651e0a522b76c0351ec993 SHA512 aa5a467ef0e6e556612f77855d38f0dfb76b22556490fac5f0989d27b7608aed8389042ded1a0d8fcbee1f20294c78a6af3c030f41c4e30ec1effae8e51530fb |
23 |
|
24 |
diff --git a/dev-python/json-rpc/json-rpc-1.11.0.ebuild b/dev-python/json-rpc/json-rpc-1.11.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b46a3f9f107 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/json-rpc/json-rpc-1.11.0.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="JSON-RPC transport implementation for python" |
40 |
+HOMEPAGE="https://github.com/pavlov99/json-rpc" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ ${RDEPEND} |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/nose[${PYTHON_USEDEP}] |
55 |
+ dev-python/mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/flask[${PYTHON_USEDEP}] |
57 |
+ )" |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ cat > jsonrpc/six.py <<- EOF |
61 |
+ from __future__ import absolute_import |
62 |
+ from six import * |
63 |
+ EOF |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ esetup.py test |
69 |
+} |