Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygobject/
Date: Sun, 11 Oct 2020 21:01:59
Message-Id: 1602450070.2df67ca296c95ad8496dd05413221d28ad3911af.leio@gentoo
1 commit: 2df67ca296c95ad8496dd05413221d28ad3911af
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 11 21:00:43 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 21:01:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df67ca2
7
8 dev-python/pygobject: don't skip tests on disabled py2
9
10 It's py3-only now, so no need for the code from commit
11 a07e2a8c90a4307ef9eccd6c7605568eb692a0f1 anymore.
12
13 Package-Manager: Portage-2.3.103, Repoman-2.3.20
14 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
15
16 dev-python/pygobject/pygobject-3.36.1-r1.ebuild | 17 +++++------------
17 1 file changed, 5 insertions(+), 12 deletions(-)
18
19 diff --git a/dev-python/pygobject/pygobject-3.36.1-r1.ebuild b/dev-python/pygobject/pygobject-3.36.1-r1.ebuild
20 index e07d82e9ea8..774991e0a08 100644
21 --- a/dev-python/pygobject/pygobject-3.36.1-r1.ebuild
22 +++ b/dev-python/pygobject/pygobject-3.36.1-r1.ebuild
23 @@ -27,13 +27,11 @@ RDEPEND="${PYTHON_DEPS}
24 "
25 DEPEND="${RDEPEND}
26 test? (
27 - $(python_gen_cond_dep '
28 - dev-libs/atk[introspection]
29 - dev-python/pytest[${PYTHON_USEDEP}]
30 - x11-libs/gdk-pixbuf:2[introspection,jpeg]
31 - x11-libs/gtk+:3[introspection]
32 - x11-libs/pango[introspection]
33 - ' -3)
34 + dev-libs/atk[introspection]
35 + dev-python/pytest[${PYTHON_USEDEP}]
36 + x11-libs/gdk-pixbuf:2[introspection,jpeg]
37 + x11-libs/gtk+:3[introspection]
38 + x11-libs/pango[introspection]
39 )
40 "
41 BDEPEND="
42 @@ -62,11 +60,6 @@ src_test() {
43 local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
44
45 testing() {
46 - if ! python_is_python3; then
47 - einfo "Skipping tests on Python 2 to unblock deps"
48 - return
49 - fi
50 -
51 local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
52 meson_src_test || die "test failed for ${EPYTHON}"
53 }