1 |
commit: 41abe63a0f7c43f3770147a550c9f2087cfbe330 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 04:36:59 2018 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 05:51:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41abe63a |
7 |
|
8 |
dev-python/jsonpatch: 1.21 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-python/jsonpatch/Manifest | 1 + |
13 |
dev-python/jsonpatch/jsonpatch-1.21.ebuild | 28 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 29 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jsonpatch/Manifest b/dev-python/jsonpatch/Manifest |
17 |
index 397ea690951..6fbe40c34e4 100644 |
18 |
--- a/dev-python/jsonpatch/Manifest |
19 |
+++ b/dev-python/jsonpatch/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST jsonpatch-1.13.tar.gz 15119 BLAKE2B 70ddb570451ac1f3d218de0f79f0a639eb922ce72084cf3bc7e89a3efedb85c6238293bf59608a51f07c33358dc0488550f982f122e89e2414ddfce26fe08c1f SHA512 23f0c92c2c8834d5e3129e9ba78ece7da2646dd60d5b0522b0f09d83e20057ef7517042e5ee8547804185d3ce23cff394c8fe78df93fad7999fae12cc5467a45 |
22 |
DIST jsonpatch-1.15.tar.gz 15544 BLAKE2B 1b9facd2a88a997356aeace8ddec9011f4f3c4df812fb157cd22f1210ac2e2502e8b9e18e02ea477c869758cdfc1dd0b6b4c8d76ce59ffdd68d4db14c550b572 SHA512 c5df880764b14a2fb60bb46e319bf006644ce1472d0413cf08ad151cf386e5be9fec197fd9efe0bfc3aa22dadf4078344c11211c1e8a3d5cc3ddcb998795dc91 |
23 |
+DIST jsonpatch-1.21.tar.gz 15208 BLAKE2B 88af93bfd7c317319d958bc3386f9551279af2fa9631c24c49231eb67398fd80f298e26957f232c9705219d4fa7033bb62f98b5d5391f6eb9f53113a1d351876 SHA512 dc902b750241833a68612430f07007080ed56dce8a7a4bdd1c042f944cd6cfdc03f4b422cc6bed6bc3b21ea390c5a281cd08181e27d6b57fc5fb657787c1d740 |
24 |
|
25 |
diff --git a/dev-python/jsonpatch/jsonpatch-1.21.ebuild b/dev-python/jsonpatch/jsonpatch-1.21.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b1dcf7799db |
28 |
--- /dev/null |
29 |
+++ b/dev-python/jsonpatch/jsonpatch-1.21.ebuild |
30 |
@@ -0,0 +1,28 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
36 |
+ |
37 |
+RESTRICT="test" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Apply JSON-Patches according to |
42 |
+ http://tools.ietf.org/html/draft-pbryan-json-patch-04" |
43 |
+HOMEPAGE="https://github.com/stefankoegl/python-json-patch" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=">=dev-python/jsonpointer-1.9[${PYTHON_USEDEP}]" |
52 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( ${RDEPEND} )" |
54 |
+ |
55 |
+python_test() { |
56 |
+ "${PYTHON}" tests.py || die "Tests of tests.py fail with ${EPYTHON}" |
57 |
+ "${PYTHON}" ext_tests.py || die "Tests of ext_tests.py fail with ${EPYTHON}" |
58 |
+} |