diff options
Diffstat (limited to 'dev-python/jsonpickle')
| -rw-r--r-- | dev-python/jsonpickle/jsonpickle-3.0.2.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild index c8f90a491f74..8c2d48fe7c84 100644 --- a/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild +++ b/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild @@ -26,12 +26,14 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/gmpy[${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}] + $(python_gen_cond_dep ' + dev-python/gmpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ' python3_{10..11}) ) " @@ -53,6 +55,14 @@ python_test() { # unpackaged bson dependency tests/bson_test.py ) + + if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + epytest } |
