1 |
commit: d0a74fef6e36f3adcf220854ccdf0205f510b01a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 6 07:02:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 6 07:08:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a74fef |
7 |
|
8 |
dev-python/xvfbwrapper: Remove py2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild |
16 |
index 49aebade00d..d097e1b308e 100644 |
17 |
--- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild |
18 |
+++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} ) |
24 |
+PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -13,11 +13,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
29 |
LICENSE="MIT" |
30 |
SLOT="0" |
31 |
KEYWORDS="amd64 x86" |
32 |
-IUSE="test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
|
35 |
RDEPEND="x11-base/xorg-server[xvfb]" |
36 |
-BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )" |
37 |
|
38 |
python_test() { |
39 |
"${PYTHON}" -m unittest discover || die "Tests failed with ${EPYTHON}" |