Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xvfbwrapper/
Date: Thu, 13 May 2021 22:10:05
Message-Id: 1620943792.a30e32fb755616d6b4c26f93d919799fc1e83c6a.mgorny@gentoo
1 commit: a30e32fb755616d6b4c26f93d919799fc1e83c6a
2 Author: Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch>
3 AuthorDate: Thu May 13 12:36:01 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 13 22:09:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30e32fb
7
8 dev-python/xvfbwrapper: Bump to python 3.10 + distutils_enable_tests
9
10 Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild | 8 +++-----
14 1 file changed, 3 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
17 index 3caf5214513..c49d2aeb70a 100644
18 --- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
19 +++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 -PYTHON_COMPAT=( python3_{7..9} )
28 +PYTHON_COMPAT=( python3_{7..10} )
29
30 inherit distutils-r1
31
32 @@ -17,6 +17,4 @@ KEYWORDS="amd64 x86"
33
34 RDEPEND="x11-base/xorg-server[xvfb]"
35
36 -python_test() {
37 - "${PYTHON}" -m unittest discover || die "Tests failed with ${EPYTHON}"
38 -}
39 +distutils_enable_tests unittest