diff --git a/dev-python/jsonpickle/jsonpickle-4.1.1.ebuild b/dev-python/jsonpickle/jsonpickle-4.1.1.ebuild index 0e87e8215e7d9..b75a7b2f9a9f5 100644 --- a/dev-python/jsonpickle/jsonpickle-4.1.1.ebuild +++ b/dev-python/jsonpickle/jsonpickle-4.1.1.ebuild @@ -21,17 +21,20 @@ SRC_URI=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="test-full" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/gmpy2[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] dev-python/ujson[${PYTHON_USEDEP}] + test-full? ( + dev-python/gmpy2[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ) ) " @@ -49,10 +52,10 @@ python_test() { tests/bson_test.py ) - if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then + if ! use test-full || ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) fi - if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + if ! use test-full || ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) fi diff --git a/dev-python/jsonpickle/metadata.xml b/dev-python/jsonpickle/metadata.xml index 5e535d77d78d5..01acbd6eca7ad 100644 --- a/dev-python/jsonpickle/metadata.xml +++ b/dev-python/jsonpickle/metadata.xml @@ -6,6 +6,12 @@ Python + + + Run test suite in full via additional (large) test + dependencies, like dev-python/pandas. + + jsonpickle jsonpickle/jsonpickle