1 |
commit: 81f0c27b72506210f44ca0803bdca1b7addfec03 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 30 07:21:46 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 30 07:24:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f0c27b |
7 |
|
8 |
dev-python/jsonrpclib: Bump to 0.4.0, py3.7, cleanup |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jsonrpclib/Manifest | 1 + |
13 |
dev-python/jsonrpclib/jsonrpclib-0.4.0.ebuild | 31 +++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jsonrpclib/Manifest b/dev-python/jsonrpclib/Manifest |
17 |
index 5e621789071..e236daa17ab 100644 |
18 |
--- a/dev-python/jsonrpclib/Manifest |
19 |
+++ b/dev-python/jsonrpclib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jsonrpclib-0.3.1.tar.gz 42704 BLAKE2B e3c83bb25ec83a93fdde8f6f4b8b18de0d0ddd0cc35c04f9f83b1f0e75803211a6f6b85768b0c7f9de4bcac18df721df8057148aa7aa0628dd1d345c2e4d90e1 SHA512 7cd44d44f3952ee7ac4006904427ddd3a69b60e6a0a4eaff4b75d03b1c30f7a65debd69552035a4ee375a33c80ec428fc1ef10979f55316bcfd015603c62304f |
22 |
+DIST jsonrpclib-0.4.0.tar.gz 57944 BLAKE2B 3458aee2dc27980ef93d7ae650f7d7485983598c8276f08b104a5b44d5dfb8f6225ba649dc7f6537fa66f6ba86d7082e11e23c7ca051c876a96d1b25efa4fa0e SHA512 357743e34447cd6dbe330c5adfa5541134a0ff8d82549ec47ed741ddf54a7aabb8cd417c501cb9ab814ce2cb90e1c2d4d4f21daac3b379f38be03c38a7ed198b |
23 |
|
24 |
diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.0.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c7b359ea537 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jsonrpclib/jsonrpclib-0.4.0.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+if [[ ${PV} == "9999" ]] ; then |
39 |
+ EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git" |
40 |
+ inherit git-r3 |
41 |
+else |
42 |
+ SRC_URI="https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ KEYWORDS="~amd64 ~arm ~mips ~x86" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" |
47 |
+HOMEPAGE="https://github.com/tcalmant/jsonrpclib" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" |
55 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ test? ( ${RDEPEND} )" |
57 |
+ |
58 |
+python_test() { |
59 |
+ esetup.py test |
60 |
+} |