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/minimock/
Date: Thu, 23 Apr 2020 17:50:52
Message-Id: 1587664242.79486c88f6819eb1f0ba8b83c3f93c7a1946461d.mgorny@gentoo
1 commit: 79486c88f6819eb1f0ba8b83c3f93c7a1946461d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 23 17:45:26 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 23 17:50:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79486c88
7
8 dev-python/minimock: Enable py3.{7,8}
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/minimock/minimock-1.2.8-r1.ebuild | 9 ++++-----
13 1 file changed, 4 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-python/minimock/minimock-1.2.8-r1.ebuild b/dev-python/minimock/minimock-1.2.8-r1.ebuild
16 index f955df25ddb..6d973164842 100644
17 --- a/dev-python/minimock/minimock-1.2.8-r1.ebuild
18 +++ b/dev-python/minimock/minimock-1.2.8-r1.ebuild
19 @@ -1,8 +1,8 @@
20 # Copyright 1999-2020 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 -PYTHON_COMPAT=( python3_6 )
25 +EAPI=7
26 +PYTHON_COMPAT=( python3_{6,7,8} )
27
28 inherit distutils-r1
29
30 @@ -12,15 +12,14 @@ MY_P="${MY_PN}-${PV}"
31 DESCRIPTION="The simplest possible mock library"
32 HOMEPAGE="https://pypi.org/project/MiniMock/"
33 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
34 +S="${WORKDIR}/${MY_P}"
35
36 LICENSE="MIT"
37 SLOT="0"
38 KEYWORDS="amd64 arm ppc x86"
39
40 -S="${WORKDIR}/${MY_P}"
41 -
42 DOCS=( docs/changelog.rst docs/index.rst )
43
44 python_test() {
45 - "${PYTHON}" -m doctest minimock.py || die "Tests fail with ${EPYTHON}"
46 + "${PYTHON}" -m doctest -v minimock.py || die "Tests fail with ${EPYTHON}"
47 }