diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-04-28 23:28:58 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-04-28 23:31:02 -0700 |
commit | c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf (patch) | |
tree | 70e128c845156ba1ab4d2b849c310f85ccce7f0f /dev-python | |
parent | sys-kernel/vanilla-sources: Automated version bump to 3.16.83 - remove old. (diff) | |
download | gentoo-c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf.tar.gz gentoo-c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf.tar.bz2 gentoo-c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf.zip |
dev-python/jsonpickle-1.4.1-r1: revbump, remove pandas test dep, py38
Since the dependency on pandas is only a test dep, and is only needs for
3 out of more than 320 tests, let's just patch it out so we don't have
to drop keywords and we can add python3_8.
Closes: https://bugs.gentoo.org/719980
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild (renamed from dev-python/jsonpickle/jsonpickle-1.4.1.ebuild) | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild b/dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild index d097093c8648..f9b5040f1568 100644 --- a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild +++ b/dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" IUSE="doc test" RESTRICT="!test? ( test )" @@ -24,14 +24,17 @@ RDEPEND=" dev-python/feedparser[${PYTHON_USEDEP}] dev-python/ujson[${PYTHON_USEDEP}] " -DEPEND=" - test? ( ${RDEPEND} - dev-python/pandas[${PYTHON_USEDEP}] - ) -" distutils_enable_sphinx "docs/source" +python_prepare_all() { + # too many dependencies + rm tests/pandas_test.py || die + sed -e '/pandas/ d' -i tests/runtests.py || die + + distutils-r1_python_prepare_all +} + python_test() { # An apparent regression in tests # https://github.com/jsonpickle/jsonpickle/issues/124 |