From f466dc2742027264a5c3c188b248ad3507785179 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 24 Nov 2019 13:35:57 +0100 Subject: [PATCH] dev-python/scripttest: EAPI 7, py3.8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/scripttest/scripttest-1.3.0.ebuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/dev-python/scripttest/scripttest-1.3.0.ebuild b/dev-python/scripttest/scripttest-1.3.0.ebuild index d505e0bd6127..476a53290c92 100644 --- a/dev-python/scripttest/scripttest-1.3.0.ebuild +++ b/dev-python/scripttest/scripttest-1.3.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) inherit distutils-r1 @@ -15,12 +15,7 @@ SRC_URI="https://github.com/pypa/scripttest/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -RDEPEND="" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -python_test() { - esetup.py test -} +distutils_enable_tests pytest -- 2.26.2