From: Michał Górny Date: Wed, 29 Apr 2020 10:51:04 +0000 (+0200) Subject: dev-python/pytest-timeout: Add missing test-dep on pexpect X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03b47b4d56d8cfa4f8694d3ee491af7db5426bfa;p=gentoo.git dev-python/pytest-timeout: Add missing test-dep on pexpect Closes: https://bugs.gentoo.org/719998 Signed-off-by: Michał Górny --- 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