1 |
commit: 87057d346e73ef786655ad3a4947ce2d8962d073 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Apr 29 05:56:30 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 05:56:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87057d34 |
7 |
|
8 |
dev-python/jsonpickle-1.4.1: Version bump |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/jsonpickle/Manifest | 1 + |
15 |
dev-python/jsonpickle/jsonpickle-1.4.1.ebuild | 40 +++++++++++++++++++++++++++ |
16 |
2 files changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest |
19 |
index cfe34f32fcc..70ab6e0495f 100644 |
20 |
--- a/dev-python/jsonpickle/Manifest |
21 |
+++ b/dev-python/jsonpickle/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST jsonpickle-1.2.tar.gz 74693 BLAKE2B 65f9c18b8693351995f84815d27f2d86ab65fe7a620cda0d346b88db56de45ff6aa21b7ae941e8820e16e184d9a5ac55d56caf112f3930083e63b50751fe2dd8 SHA512 0a5bfb2e77175c9174ee1783301c613e25fcfa60f07e610206d1e1e34053e90b21b12bc1b1045dd03ff2d4efe5940d85d852800037ca01397994c022f0ffb2c6 |
24 |
DIST jsonpickle-1.3.tar.gz 76571 BLAKE2B 797ac90d1aacb620d9917bd2a34dbc960739b29f64d7bc003c934333fc0d836657a4907a965725248b2f9489876ae251440eab3888112f158c28f19e33efe036 SHA512 5e7faa32f4fd2da88d9cfea8c0355121ece12aa1b4434845e6bd679718f433e5c27835b405f833a31d69d09d7a6ae6c3d5e4bf1f6dc9c50c7ff1690cf82271b0 |
25 |
+DIST jsonpickle-1.4.1.tar.gz 104564 BLAKE2B a3ad6f9c712f39153186b6ccdef515581012ad4ba1251dcb094074f2093eb4b158b9357bdf2e8668073cb21dc3bf6dd2fc3a0058c8597252c558a797432068b9 SHA512 ed6bf3472c59ba907a973c5c6f05de13dbfc75eef103796b8f8a63d388f769527f22667ca8761092d1649ff2caf5a73de0593e370df3e7fcabe06e73b265da35 |
26 |
|
27 |
diff --git a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild b/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d097093c864 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild |
32 |
@@ -0,0 +1,40 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" |
43 |
+HOMEPAGE="https://github.com/jsonpickle/jsonpickle/ https://pypi.org/project/jsonpickle/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="doc test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+# There are optional json backends serializer/deserializers in addition to those selected here |
53 |
+# jsonlib, yajl. |
54 |
+RDEPEND=" |
55 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
56 |
+ dev-python/feedparser[${PYTHON_USEDEP}] |
57 |
+ dev-python/ujson[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ test? ( ${RDEPEND} |
61 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_sphinx "docs/source" |
66 |
+ |
67 |
+python_test() { |
68 |
+ # An apparent regression in tests |
69 |
+ # https://github.com/jsonpickle/jsonpickle/issues/124 |
70 |
+ einfo "testsuite has optional tests for package demjson" |
71 |
+ "${EPYTHON}" tests/runtests.py || die "tests failed with ${EPYTHON}" |
72 |
+} |