Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyotherside/
Date: Sun, 07 Aug 2022 15:39:33
Message-Id: 1659886747.0956402e4d2c390bc2ff206f6a98e0229daeb50e.soap@gentoo
1 commit: 0956402e4d2c390bc2ff206f6a98e0229daeb50e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 7 15:39:07 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 7 15:39:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0956402e
7
8 dev-python/pyotherside: enable py3.11
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 dev-python/pyotherside/pyotherside-1.5.9.ebuild | 21 +++++++++++----------
13 1 file changed, 11 insertions(+), 10 deletions(-)
14
15 diff --git a/dev-python/pyotherside/pyotherside-1.5.9.ebuild b/dev-python/pyotherside/pyotherside-1.5.9.ebuild
16 index 8c01e30377f8..2653359244df 100644
17 --- a/dev-python/pyotherside/pyotherside-1.5.9.ebuild
18 +++ b/dev-python/pyotherside/pyotherside-1.5.9.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=8
25
26 -PYTHON_COMPAT=( python3_{8..10} )
27 +PYTHON_COMPAT=( python3_{8..11} )
28
29 inherit qmake-utils python-single-r1
30
31 @@ -14,28 +14,29 @@ SRC_URI="https://github.com/thp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 LICENSE="ISC"
33 SLOT="0"
34 KEYWORDS="~amd64 ~ppc64 ~riscv"
35 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
36 -# Requires active X display
37 -RESTRICT="test"
38 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39
40 -RDEPEND="${PYTHON_DEPS}
41 +RDEPEND="
42 + ${PYTHON_DEPS}
43 dev-qt/qtcore:5
44 dev-qt/qtdeclarative:5
45 dev-qt/qtgui:5
46 - dev-qt/qtsvg:5
47 - "
48 + dev-qt/qtsvg:5"
49 DEPEND="${RDEPEND}"
50
51 src_prepare() {
52 - sed -i -e "s/qtquicktests//" pyotherside.pro || die
53 -
54 default
55 + sed -i -e "s/qtquicktests//" pyotherside.pro || die
56 }
57
58 src_configure() {
59 eqmake5
60 }
61
62 +src_test() {
63 + QT_QPA_PLATFORM="offscreen" tests/tests || die
64 +}
65 +
66 src_install() {
67 emake install INSTALL_ROOT="${D}"
68 }