Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ratelimit/
Date: Wed, 17 Oct 2018 20:22:54
Message-Id: 1539807737.13a092a55a4b865e423e1f5fa70cdba0919fe235.vdupras@gentoo
1 commit: 13a092a55a4b865e423e1f5fa70cdba0919fe235
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 20:22:17 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 20:22:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a092a5
7
8 dev-python/ratelimit: drop spurious pytest-cov dep
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/ratelimit/ratelimit-1.4.1.ebuild | 15 +++++++++------
14 1 file changed, 9 insertions(+), 6 deletions(-)
15
16 diff --git a/dev-python/ratelimit/ratelimit-1.4.1.ebuild b/dev-python/ratelimit/ratelimit-1.4.1.ebuild
17 index 3c01b8f2c10..e91d5f08f03 100644
18 --- a/dev-python/ratelimit/ratelimit-1.4.1.ebuild
19 +++ b/dev-python/ratelimit/ratelimit-1.4.1.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 @@ -16,11 +16,14 @@ KEYWORDS="~amd64 ~x86"
27 IUSE="test"
28
29 DEPEND="
30 - test? (
31 - dev-python/pytest[${PYTHON_USEDEP}]
32 - dev-python/pytest-cov[${PYTHON_USEDEP}]
33 - )"
34 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
35 +
36 +src_prepare() {
37 + default
38 + # remove --cov args injection
39 + rm pytest.ini || die
40 +}
41
42 python_test() {
43 - py.test || die
44 + pytest || die
45 }