1 |
commit: 03b47b4d56d8cfa4f8694d3ee491af7db5426bfa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 10:51:04 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 11:02:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b47b4d |
7 |
|
8 |
dev-python/pytest-timeout: Add missing test-dep on pexpect |
9 |
|
10 |
Closes: https://bugs.gentoo.org/719998 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild b/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild |
17 |
index 1fe275fe542..8f63704bdd2 100644 |
18 |
--- a/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild |
19 |
+++ b/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild |
20 |
@@ -15,8 +15,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
21 |
SLOT="0" |
22 |
LICENSE="MIT" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
24 |
+IUSE="test" |
25 |
+RESTRICT="!test? ( test )" |
26 |
|
27 |
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" |
28 |
+BDEPEND=" |
29 |
+ test? ( |
30 |
+ ${RDEPEND} |
31 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
32 |
+ )" |
33 |
|
34 |
python_test() { |
35 |
distutils_install_for_testing |