summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-11-28 14:36:18 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-11-28 14:36:27 +0100
commitb962e1f48e375231c1b9fdbd3271bd86436c5f5e (patch)
treec78d845f1f41d7f712f507f21127fa19dae52587
parentsys-kernel/pf-sources: add 5.15-pf3 (diff)
downloadgentoo-b962e1f48e375231c1b9fdbd3271bd86436c5f5e.tar.gz
gentoo-b962e1f48e375231c1b9fdbd3271bd86436c5f5e.tar.bz2
gentoo-b962e1f48e375231c1b9fdbd3271bd86436c5f5e.zip
sci-visualization/scidavis: enable py3.10
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild (renamed from sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild b/sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild
index 44611a1ad6bc..70fc6b255c6b 100644
--- a/sci-visualization/scidavis/scidavis-2.4.0-r1.ebuild
+++ b/sci-visualization/scidavis/scidavis-2.4.0-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
DOCS_BUILDER="doxygen"
DOCS_DEPEND="media-gfx/graphviz"
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1 docs qmake-utils xdg
@@ -25,6 +25,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# compile with CONFIG+="test"
RESTRICT="test"
+# We need to depend on a version of PyQt5 that depends on <sip-5:0. If PyQt5 is
+# built with sip:5 then we will get Syntax Error when running sip-4 for scidavis.
RDEPEND="
dev-cpp/muParser
dev-qt/qtcore:5
@@ -43,9 +45,9 @@ RDEPEND="
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
- dev-python/PyQt5[${PYTHON_USEDEP}]
+ <dev-python/PyQt5-5.15.5[${PYTHON_USEDEP}]
dev-python/PyQt5-sip[${PYTHON_USEDEP}]
- <dev-python/sip-5[${PYTHON_USEDEP}]
+ <dev-python/sip-5:0[${PYTHON_USEDEP}]
')
)
"