dev-python/iso8601: Enable py3.8
authorMichał Górny <mgorny@gentoo.org>
Sat, 16 Nov 2019 13:39:41 +0000 (14:39 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 16 Nov 2019 13:53:13 +0000 (14:53 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/iso8601/iso8601-0.1.12.ebuild

index 6020fca39c844eee066898bce33d572e9727935e..e54fa1b1591943e518255fd1e276dc226f40ec4a 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -14,11 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="test"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 
-python_test() {
-       "${PYTHON}" -m pytest --verbose ${PN} || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests pytest