1 |
commit: b962e1f48e375231c1b9fdbd3271bd86436c5f5e |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 28 13:36:18 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 28 13:36:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b962e1f4 |
7 |
|
8 |
sci-visualization/scidavis: enable py3.10 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
.../{scidavis-2.4.0-r1.ebuild => scidavis-2.4.0-r2.ebuild} | 8 +++++--- |
14 |
1 file changed, 5 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild b/sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild |
17 |
similarity index 90% |
18 |
rename from sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild |
19 |
rename to sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild |
20 |
index 44611a1ad6bc..70fc6b255c6b 100644 |
21 |
--- a/sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild |
22 |
+++ b/sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild |
23 |
@@ -6,7 +6,7 @@ EAPI=7 |
24 |
DOCS_BUILDER="doxygen" |
25 |
DOCS_DEPEND="media-gfx/graphviz" |
26 |
|
27 |
-PYTHON_COMPAT=( python3_{7..9} ) |
28 |
+PYTHON_COMPAT=( python3_{8..10} ) |
29 |
|
30 |
inherit python-single-r1 docs qmake-utils xdg |
31 |
|
32 |
@@ -25,6 +25,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
33 |
# compile with CONFIG+="test" |
34 |
RESTRICT="test" |
35 |
|
36 |
+# We need to depend on a version of PyQt5 that depends on <sip-5:0. If PyQt5 is |
37 |
+# built with sip:5 then we will get Syntax Error when running sip-4 for scidavis. |
38 |
RDEPEND=" |
39 |
dev-cpp/muParser |
40 |
dev-qt/qtcore:5 |
41 |
@@ -43,9 +45,9 @@ RDEPEND=" |
42 |
python? ( |
43 |
${PYTHON_DEPS} |
44 |
$(python_gen_cond_dep ' |
45 |
- dev-python/PyQt5[${PYTHON_USEDEP}] |
46 |
+ <dev-python/PyQt5-5.15.5[${PYTHON_USEDEP}] |
47 |
dev-python/PyQt5-sip[${PYTHON_USEDEP}] |
48 |
- <dev-python/sip-5[${PYTHON_USEDEP}] |
49 |
+ <dev-python/sip-5:0[${PYTHON_USEDEP}] |
50 |
') |
51 |
) |
52 |
" |