Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/iso8601/
Date: Sat, 16 Nov 2019 13:53:27
Message-Id: 1573912393.0244ce207e4eb6f0447998b548ad46780f75feac.mgorny@gentoo
1 commit: 0244ce207e4eb6f0447998b548ad46780f75feac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 16 13:39:41 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 16 13:53:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0244ce20
7
8 dev-python/iso8601: Enable py3.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/iso8601/iso8601-0.1.12.ebuild | 12 ++++--------
13 1 file changed, 4 insertions(+), 8 deletions(-)
14
15 diff --git a/dev-python/iso8601/iso8601-0.1.12.ebuild b/dev-python/iso8601/iso8601-0.1.12.ebuild
16 index 6020fca39c8..e54fa1b1591 100644
17 --- a/dev-python/iso8601/iso8601-0.1.12.ebuild
18 +++ b/dev-python/iso8601/iso8601-0.1.12.ebuild
19 @@ -1,9 +1,9 @@
20 # Copyright 1999-2019 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=7
25
26 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
27 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
28
29 inherit distutils-r1
30
31 @@ -14,11 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
32 LICENSE="MIT"
33 SLOT="0"
34 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"
35 -IUSE="test"
36
37 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
38 - test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] )"
39 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
40
41 -python_test() {
42 - "${PYTHON}" -m pytest --verbose ${PN} || die "Tests fail with ${EPYTHON}"
43 -}
44 +distutils_enable_tests pytest