summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-08-07 17:39:07 +0200
committerDavid Seifert <soap@gentoo.org>2022-08-07 17:39:07 +0200
commit0956402e4d2c390bc2ff206f6a98e0229daeb50e (patch)
tree6346a3139b155fd1b9793f150bbe088f1f71c9ad /dev-python/pyotherside
parentgames-engines/devilutionx: drop 1.4.0 (diff)
downloadgentoo-0956402e4d2c390bc2ff206f6a98e0229daeb50e.tar.gz
gentoo-0956402e4d2c390bc2ff206f6a98e0229daeb50e.tar.bz2
gentoo-0956402e4d2c390bc2ff206f6a98e0229daeb50e.zip
dev-python/pyotherside: enable py3.11
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pyotherside')
-rw-r--r--dev-python/pyotherside/pyotherside-1.5.9.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/dev-python/pyotherside/pyotherside-1.5.9.ebuild b/dev-python/pyotherside/pyotherside-1.5.9.ebuild
index 8c01e30377f8..2653359244df 100644
--- a/dev-python/pyotherside/pyotherside-1.5.9.ebuild
+++ b/dev-python/pyotherside/pyotherside-1.5.9.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit qmake-utils python-single-r1
@@ -14,28 +14,29 @@ SRC_URI="https://github.com/thp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~riscv"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-# Requires active X display
-RESTRICT="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
+ ${PYTHON_DEPS}
dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
- dev-qt/qtsvg:5
- "
+ dev-qt/qtsvg:5"
DEPEND="${RDEPEND}"
src_prepare() {
- sed -i -e "s/qtquicktests//" pyotherside.pro || die
-
default
+ sed -i -e "s/qtquicktests//" pyotherside.pro || die
}
src_configure() {
eqmake5
}
+src_test() {
+ QT_QPA_PLATFORM="offscreen" tests/tests || die
+}
+
src_install() {
emake install INSTALL_ROOT="${D}"
}