From 99330f036fd76e5889803340b3731a9ddaf19feb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 19 Mar 2020 11:43:40 +0100 Subject: [PATCH] dev-python/python-bugzilla: Modernize, py3.8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../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 3ee2bd198d44..a8ba9b873d82 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 -- 2.26.2