1 |
commit: c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Apr 29 06:28:58 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 06:31:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40038aa |
7 |
|
8 |
dev-python/jsonpickle-1.4.1-r1: revbump, remove pandas test dep, py38 |
9 |
|
10 |
Since the dependency on pandas is only a test dep, and is only needs for |
11 |
3 out of more than 320 tests, let's just patch it out so we don't have |
12 |
to drop keywords and we can add python3_8. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/719980 |
15 |
Copyright: Sony Interactive Entertainment Inc. |
16 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
17 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
18 |
|
19 |
...onpickle-1.4.1.ebuild => jsonpickle-1.4.1-r1.ebuild} | 17 ++++++++++------- |
20 |
1 file changed, 10 insertions(+), 7 deletions(-) |
21 |
|
22 |
diff --git a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild b/dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild |
23 |
similarity index 79% |
24 |
rename from dev-python/jsonpickle/jsonpickle-1.4.1.ebuild |
25 |
rename to dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild |
26 |
index d097093c864..f9b5040f156 100644 |
27 |
--- a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild |
28 |
+++ b/dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild |
29 |
@@ -3,7 +3,7 @@ |
30 |
|
31 |
EAPI=7 |
32 |
|
33 |
-PYTHON_COMPAT=( python3_{6,7} ) |
34 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
35 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
inherit distutils-r1 |
37 |
|
38 |
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
39 |
|
40 |
LICENSE="BSD" |
41 |
SLOT="0" |
42 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
43 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
44 |
IUSE="doc test" |
45 |
RESTRICT="!test? ( test )" |
46 |
|
47 |
@@ -24,14 +24,17 @@ RDEPEND=" |
48 |
dev-python/feedparser[${PYTHON_USEDEP}] |
49 |
dev-python/ujson[${PYTHON_USEDEP}] |
50 |
" |
51 |
-DEPEND=" |
52 |
- test? ( ${RDEPEND} |
53 |
- dev-python/pandas[${PYTHON_USEDEP}] |
54 |
- ) |
55 |
-" |
56 |
|
57 |
distutils_enable_sphinx "docs/source" |
58 |
|
59 |
+python_prepare_all() { |
60 |
+ # too many dependencies |
61 |
+ rm tests/pandas_test.py || die |
62 |
+ sed -e '/pandas/ d' -i tests/runtests.py || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
python_test() { |
68 |
# An apparent regression in tests |
69 |
# https://github.com/jsonpickle/jsonpickle/issues/124 |