commit:     99330f036fd76e5889803340b3731a9ddaf19feb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 10:43:40 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 13:25:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99330f03

dev-python/python-bugzilla: Modernize, py3.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild 
b/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
index 3ee2bd198d4..a8ba9b873d8 100644
--- a/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
+++ b/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 
@@ -20,10 +20,5 @@ SLOT="0"
 RDEPEND="
        || ( dev-python/python-magic[${PYTHON_USEDEP}] 
sys-apps/file[python,${PYTHON_USEDEP}] )
        dev-python/requests[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-"
 
-python_test() {
-       "${EPYTHON}" ./setup.py test || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests setup.py

Reply via email to