From: Michał Górny Date: Sun, 24 Nov 2019 12:35:57 +0000 (+0100) Subject: dev-python/scripttest: EAPI 7, py3.8 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f466dc2742027264a5c3c188b248ad3507785179;p=gentoo.git dev-python/scripttest: EAPI 7, py3.8 Signed-off-by: Michał Górny --- 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