Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/retworkx/
Date: Wed, 21 Sep 2022 16:51:54
Message-Id: 1663779105.dfc48f42eea032414cddac67807ea6efc5f9c3b4.arthurzam@gentoo
1 commit: dfc48f42eea032414cddac67807ea6efc5f9c3b4
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Tue Sep 20 08:21:26 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 21 16:51:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc48f42
7
8 dev-python/retworkx: dependency fixes and py3.11 support
9
10 - dev-python/setuptools-rust and dev-python/numpy were missing
11 PYTHON_USEDEP, which is necessary in order to work correctly with all
12 supported python versions
13 - enable python3_11, all tests pass
14 - sort test dependencies alphabetically
15
16 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
17 Closes: https://github.com/gentoo/gentoo/pull/27368
18 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
19
20 .../{retworkx-0.11.0.ebuild => retworkx-0.11.0-r1.ebuild} | 10 +++++-----
21 1 file changed, 5 insertions(+), 5 deletions(-)
22
23 diff --git a/dev-python/retworkx/retworkx-0.11.0.ebuild b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild
24 similarity index 94%
25 rename from dev-python/retworkx/retworkx-0.11.0.ebuild
26 rename to dev-python/retworkx/retworkx-0.11.0-r1.ebuild
27 index f1f70f80289c..046997461e90 100644
28 --- a/dev-python/retworkx/retworkx-0.11.0.ebuild
29 +++ b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild
30 @@ -4,7 +4,7 @@
31 EAPI=8
32
33 DISTUTILS_USE_PEP517=setuptools
34 -PYTHON_COMPAT=( python3_{8..10} )
35 +PYTHON_COMPAT=( python3_{8..11} )
36
37 # Generated with https://github.com/gentoo/cargo-ebuild.
38 CRATES="
39 @@ -85,17 +85,17 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 MIT"
40 SLOT="0"
41 KEYWORDS="~amd64"
42
43 -BDEPEND="dev-python/setuptools-rust
44 +BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]
45 test? (
46 dev-python/fixtures[${PYTHON_USEDEP}]
47 - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}]
48 + dev-python/graphviz[${PYTHON_USEDEP}]
49 >=dev-python/networkx-2.5[${PYTHON_USEDEP}]
50 dev-python/stestr[${PYTHON_USEDEP}]
51 + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}]
52 media-gfx/graphviz[gts]
53 - dev-python/graphviz[${PYTHON_USEDEP}]
54 )"
55
56 -RDEPEND=">=dev-python/numpy-1.16.0"
57 +RDEPEND=">=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]"
58
59 # Libraries built with rust do not use CFLAGS and LDFLAGS.
60 QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/retworkx/retworkx.*\\.so"