1 |
commit: 6c2ffa50b71a0f24f22dec3ea0ca9e0d04221a6c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 7 07:09:50 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 7 07:13:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2ffa50 |
7 |
|
8 |
dev-python/discogs-client: Tested on python3* |
9 |
|
10 |
Closes: https://bugs.gentoo.org/652670 |
11 |
|
12 |
dev-python/discogs-client/discogs-client-2.2.1.ebuild | 10 ++++------ |
13 |
1 file changed, 4 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/discogs-client/discogs-client-2.2.1.ebuild b/dev-python/discogs-client/discogs-client-2.2.1.ebuild |
16 |
index 62c0629bb3b..0b6a6c19032 100644 |
17 |
--- a/dev-python/discogs-client/discogs-client-2.2.1.ebuild |
18 |
+++ b/dev-python/discogs-client/discogs-client-2.2.1.ebuild |
19 |
@@ -1,9 +1,8 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=5 |
25 |
-# Not py3 capable due to oauth2 supports py2 pypy only |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -20,10 +19,9 @@ RDEPEND=" |
32 |
dev-python/oauth2[${PYTHON_USEDEP}] |
33 |
dev-python/oauthlib[${PYTHON_USEDEP}] |
34 |
" |
35 |
-# It's either this or make a test use flag to add RDEPEND behind it. Both work |
36 |
DEPEND="${RDEPEND} |
37 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
38 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
39 |
|
40 |
python_test() { |
41 |
- "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}" |
42 |
+ "${PYTHON}" -m unittest discover -v || die "Tests failed under ${EPYTHON}" |
43 |
} |