From 03b47b4d56d8cfa4f8694d3ee491af7db5426bfa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 29 Apr 2020 12:51:04 +0200 Subject: [PATCH] dev-python/pytest-timeout: Add missing test-dep on pexpect MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/719998 Signed-off-by: Michał Górny --- dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild b/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild index 1fe275fe5426..8f63704bdd23 100644 --- a/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild +++ b/dev-python/pytest-timeout/pytest-timeout-1.3.4.ebuild @@ -15,8 +15,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/pexpect[${PYTHON_USEDEP}] + )" python_test() { distutils_install_for_testing -- 2.26.2