From: Patrick McLean Date: Wed, 29 Apr 2020 06:28:58 +0000 (-0700) Subject: dev-python/jsonpickle-1.4.1-r1: revbump, remove pandas test dep, py38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c40038aa6bbd457ba662a9f1b2e21a0d8ff435bf;p=gentoo.git 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 --- diff --git a/dev-python/jsonpickle/jsonpickle-1.4.1.ebuild b/dev-python/jsonpickle/jsonpickle-1.4.1-r1.ebuild similarity index 79% rename from dev-python/jsonpickle/jsonpickle-1.4.1.ebuild rename to 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