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/pyperclip/
Date: Fri, 10 Jan 2020 06:19:12
Message-Id: 1578637138.09f4657c6d8bb796d88e10d4000ca88821119e4f.mgorny@gentoo
1 commit: 09f4657c6d8bb796d88e10d4000ca88821119e4f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 10 05:51:55 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 10 06:18:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f4657c
7
8 dev-python/pyperclip: Enable python3.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyperclip/pyperclip-1.7.0.ebuild | 14 ++++++--------
13 1 file changed, 6 insertions(+), 8 deletions(-)
14
15 diff --git a/dev-python/pyperclip/pyperclip-1.7.0.ebuild b/dev-python/pyperclip/pyperclip-1.7.0.ebuild
16 index fd006c598db..3fbc5b435e8 100644
17 --- a/dev-python/pyperclip/pyperclip-1.7.0.ebuild
18 +++ b/dev-python/pyperclip/pyperclip-1.7.0.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python2_7 python3_{6,7})
24 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
25 inherit distutils-r1 virtualx
26
27 DESCRIPTION="A cross-platform clipboard module for Python."
28 @@ -24,13 +24,11 @@ RDEPEND="
29 )
30 "
31
32 -python_prepare_all() {
33 - # make tests a proper module so setuptools can find the test suite
34 - touch tests/__init__.py || die
35 -
36 - distutils-r1_python_prepare_all
37 +python_test() {
38 + "${EPYTHON}" tests/test_pyperclip.py -vv ||
39 + die "Tests fail on ${EPYTHON}"
40 }
41
42 -python_test() {
43 - virtx esetup.py test
44 +src_test() {
45 + virtx distutils-r1_src_test
46 }