diff options
author | Sam James <sam@gentoo.org> | 2022-06-03 00:07:58 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-03 00:08:17 +0100 |
commit | 449f042a489659e3460d22f2eb9ae9a5df0616e9 (patch) | |
tree | 43f580a15c1cf86cb10f1dcccfed2d1dc8ecb844 /dev-python/networkx | |
parent | media-gfx/prusaslicer: skip tests due to fff tests hanging. (diff) | |
download | gentoo-449f042a489659e3460d22f2eb9ae9a5df0616e9.tar.gz gentoo-449f042a489659e3460d22f2eb9ae9a5df0616e9.tar.bz2 gentoo-449f042a489659e3460d22f2eb9ae9a5df0616e9.zip |
dev-python/networkx: enable py3.11
Disabled some test deps but the test suite passes well w/o them.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/networkx')
-rw-r--r-- | dev-python/networkx/networkx-2.8.2.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-python/networkx/networkx-2.8.2.ebuild b/dev-python/networkx/networkx-2.8.2.ebuild index a25ddcc29820..8ec00e680218 100644 --- a/dev-python/networkx/networkx-2.8.2.ebuild +++ b/dev-python/networkx/networkx-2.8.2.ebuild @@ -4,8 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - +PYTHON_TESTED=( python3_{8..10} ) +# networkx skips tests w/ missing deps and the available ones all pass w/ py3.11 +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 ) inherit distutils-r1 optfeature virtualx DESCRIPTION="Python tools to manipulate graphs and complex networks" @@ -23,9 +24,11 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-mac BDEPEND=" test? ( >=dev-python/lxml-4.5[${PYTHON_USEDEP}] - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") ) " |