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/invoke/
Date: Fri, 10 May 2019 18:06:25
Message-Id: 1557511559.cb382ae7ce7e0b98f4c050c30adbad2597a92f36.vdupras@gentoo
1 commit: cb382ae7ce7e0b98f4c050c30adbad2597a92f36
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 10 17:59:58 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Fri May 10 18:05:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb382ae7
7
8 dev-python/invoke: RESTRICT test
9
10 Depends on pytest-relaxed which is about to be last-rited.
11
12 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
13 Package-Manager: Portage-2.3.62, Repoman-2.3.11
14
15 dev-python/invoke/invoke-1.1.1.ebuild | 21 ++++-----------------
16 1 file changed, 4 insertions(+), 17 deletions(-)
17
18 diff --git a/dev-python/invoke/invoke-1.1.1.ebuild b/dev-python/invoke/invoke-1.1.1.ebuild
19 index 8317fccae18..3f4449f2ebc 100644
20 --- a/dev-python/invoke/invoke-1.1.1.ebuild
21 +++ b/dev-python/invoke/invoke-1.1.1.ebuild
22 @@ -12,23 +12,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
23 LICENSE="BSD-2"
24 SLOT="0"
25 KEYWORDS="~amd64 ~arm64 ~x86"
26 -IUSE="test"
27 +IUSE=""
28
29 -BDEPEND="
30 - dev-python/setuptools[${PYTHON_USEDEP}]
31 - test? (
32 - dev-python/mock
33 - >=dev-python/pytest-3.0
34 - >=dev-python/pytest-relaxed-1.1.4
35 - )"
36 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
37 RDEPEND=""
38
39 -PATCHES=(
40 - "${FILESDIR}/${PN}-1.1.0-skip-pty-tests.patch"
41 -)
42 -
43 -python_test() {
44 - # -s flag is important: tests fail when pytest isn't in "no capture" mode
45 - # -p pytest_relaxed: this plugin has to be loaded explicitly
46 - pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
47 -}
48 +# Depends on broken pytest-relaxed plugin
49 +RESTRICT="test"