commit:     dfc48f42eea032414cddac67807ea6efc5f9c3b4
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Tue Sep 20 08:21:26 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 16:51:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc48f42

dev-python/retworkx: dependency fixes and py3.11 support

- dev-python/setuptools-rust and dev-python/numpy were missing
  PYTHON_USEDEP, which is necessary in order to work correctly with all
  supported python versions
- enable python3_11, all tests pass
- sort test dependencies alphabetically

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/27368
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../{retworkx-0.11.0.ebuild => retworkx-0.11.0-r1.ebuild}      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-python/retworkx/retworkx-0.11.0.ebuild 
b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild
similarity index 94%
rename from dev-python/retworkx/retworkx-0.11.0.ebuild
rename to dev-python/retworkx/retworkx-0.11.0-r1.ebuild
index f1f70f80289c..046997461e90 100644
--- a/dev-python/retworkx/retworkx-0.11.0.ebuild
+++ b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 # Generated with https://github.com/gentoo/cargo-ebuild.
 CRATES="
@@ -85,17 +85,17 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD 
BSD-2 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-BDEPEND="dev-python/setuptools-rust
+BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]
        test? (
                dev-python/fixtures[${PYTHON_USEDEP}]
-               >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}]
+               dev-python/graphviz[${PYTHON_USEDEP}]
                >=dev-python/networkx-2.5[${PYTHON_USEDEP}]
                dev-python/stestr[${PYTHON_USEDEP}]
+               >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}]
                media-gfx/graphviz[gts]
-               dev-python/graphviz[${PYTHON_USEDEP}]
        )"
 
-RDEPEND=">=dev-python/numpy-1.16.0"
+RDEPEND=">=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]"
 
 # Libraries built with rust do not use CFLAGS and LDFLAGS.
 QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/retworkx/retworkx.*\\.so"

Reply via email to