summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-07 09:09:50 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-07 09:13:14 +0200
commit6c2ffa50b71a0f24f22dec3ea0ca9e0d04221a6c (patch)
tree29aa35611cc12bac913fe1271948543077faa49d /dev-python
parentdev-scheme/guile-gnome-platform: dropped ppc keywords, bug 648236 (diff)
downloadgentoo-6c2ffa50b71a0f24f22dec3ea0ca9e0d04221a6c.tar.gz
gentoo-6c2ffa50b71a0f24f22dec3ea0ca9e0d04221a6c.tar.bz2
gentoo-6c2ffa50b71a0f24f22dec3ea0ca9e0d04221a6c.zip
dev-python/discogs-client: Tested on python3*
Closes: https://bugs.gentoo.org/652670
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/discogs-client/discogs-client-2.2.1.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/discogs-client/discogs-client-2.2.1.ebuild b/dev-python/discogs-client/discogs-client-2.2.1.ebuild
index 62c0629bb3b..0b6a6c19032 100644
--- a/dev-python/discogs-client/discogs-client-2.2.1.ebuild
+++ b/dev-python/discogs-client/discogs-client-2.2.1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-# Not py3 capable due to oauth2 supports py2 pypy only
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
inherit distutils-r1
@@ -20,10 +19,9 @@ RDEPEND="
dev-python/oauth2[${PYTHON_USEDEP}]
dev-python/oauthlib[${PYTHON_USEDEP}]
"
-# It's either this or make a test use flag to add RDEPEND behind it. Both work
DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
+ dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
- "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
+ "${PYTHON}" -m unittest discover -v || die "Tests failed under ${EPYTHON}"
}