dev-python/scripttest: EAPI 7, py3.8
authorMichał Górny <mgorny@gentoo.org>
Sun, 24 Nov 2019 12:35:57 +0000 (13:35 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 24 Nov 2019 15:09:12 +0000 (16:09 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/scripttest/scripttest-1.3.0.ebuild

index d505e0bd61273fd5a402fc55613709fbd5b14561..476a53290c9286ca3454766bcec166193b06a632 100644 (file)
@@ -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