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/fabric/
Date: Fri, 10 May 2019 18:06:25
Message-Id: 1557511559.8086ae10137aeeb5e33f5f7e82b483774abb8df2.vdupras@gentoo
1 commit: 8086ae10137aeeb5e33f5f7e82b483774abb8df2
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 10 18:01:05 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=8086ae10
7
8 dev-python/fabric: RESTRICT test
9
10 Depend on pytest-relaxed which is broken.
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/fabric/fabric-2.3.1.ebuild | 15 ++++-----------
16 1 file changed, 4 insertions(+), 11 deletions(-)
17
18 diff --git a/dev-python/fabric/fabric-2.3.1.ebuild b/dev-python/fabric/fabric-2.3.1.ebuild
19 index c6273f4e440..8265a238133 100644
20 --- a/dev-python/fabric/fabric-2.3.1.ebuild
21 +++ b/dev-python/fabric/fabric-2.3.1.ebuild
22 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
23 LICENSE="GPL-2"
24 SLOT="2"
25 KEYWORDS="~amd64 ~arm64 ~x86"
26 -IUSE="doc fab2 test"
27 +IUSE="doc fab2"
28
29 RDEPEND="
30 !fab2? ( !dev-python/fabric:0 )
31 @@ -28,13 +28,11 @@ BDEPEND="
32 dev-python/alabaster[${PYTHON_USEDEP}]
33 >=dev-python/sphinx-1.4[${PYTHON_USEDEP}]
34 <dev-python/sphinx-1.7[${PYTHON_USEDEP}]
35 - )
36 - test? (
37 - dev-python/mock[${PYTHON_USEDEP}]
38 - dev-python/pytest[${PYTHON_USEDEP}]
39 - >=dev-python/pytest-relaxed-1.1.4[${PYTHON_USEDEP}]
40 )"
41
42 +# Depends on pytest-relaxed which is broken
43 +RESTRICT="test"
44 +
45 python_compile() {
46 if use fab2; then
47 export PACKAGE_AS_FABRIC2=1
48 @@ -49,11 +47,6 @@ python_compile_all() {
49 fi
50 }
51
52 -python_test() {
53 - # -p pytest_relaxed: this plugin has to be loaded explicitly
54 - pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
55 -}
56 -
57 python_install_all() {
58 use doc && local HTML_DOCS=( sites/docs/html/. )
59 distutils-r1_python_install_all