dev-python/rsa: Add missing test-dep on mock
authorMichał Górny <mgorny@gentoo.org>
Fri, 1 May 2020 15:37:54 +0000 (17:37 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 1 May 2020 15:44:07 +0000 (17:44 +0200)
Closes: https://bugs.gentoo.org/720072
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/rsa/rsa-4.0.ebuild

index 8a8dcfe16ba9766486d7f10efdcbfabe8fb49cf0..805415f593ed0e44e76df83b93af52e203f389b8 100644 (file)
@@ -15,11 +15,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
        "
+BDEPEND="
+       test? ( dev-python/mock[${PYTHON_USEDEP}] )"
 
 distutils_enable_tests unittest