commit:     988906ed954b41c3cacb67a2e626759473b0b39d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 14 10:53:38 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 10:54:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988906ed

dev-python/installer: Add mock test dep

Closes: https://bugs.gentoo.org/831169
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/installer/installer-0.4.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/installer/installer-0.4.0.ebuild 
b/dev-python/installer/installer-0.4.0.ebuild
index 366c9ebc1817..4fdc9bde6479 100644
--- a/dev-python/installer/installer-0.4.0.ebuild
+++ b/dev-python/installer/installer-0.4.0.ebuild
@@ -24,8 +24,12 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
+# NB: newer git doesn't use mock anymore
 BDEPEND="
        app-arch/unzip
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
 "
 
 distutils_enable_tests pytest

Reply via email to