dev-python/discogs-client: Tested on python3*
authorMichał Górny <mgorny@gentoo.org>
Sat, 7 Apr 2018 07:09:50 +0000 (09:09 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Apr 2018 07:13:14 +0000 (09:13 +0200)
Closes: https://bugs.gentoo.org/652670

dev-python/discogs-client/discogs-client-2.2.1.ebuild

index 62c0629bb3b658bc942762b9d818d292d61a2546..0b6a6c19032f3df8bea3837dc797c088349661d4 100644 (file)
@@ -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}"
 }