From: Michał Górny Date: Mon, 25 May 2020 15:13:28 +0000 (+0200) Subject: dev-python/atomicwrites: Add missing mock dep for py2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1ce436898abeb28472314b7cfb2154f11364236;p=gentoo.git dev-python/atomicwrites: Add missing mock dep for py2 Signed-off-by: Michał Górny --- diff --git a/dev-python/atomicwrites/atomicwrites-1.3.0.ebuild b/dev-python/atomicwrites/atomicwrites-1.3.0.ebuild index f6db22435cfd..714f4693765f 100644 --- a/dev-python/atomicwrites/atomicwrites-1.3.0.ebuild +++ b/dev-python/atomicwrites/atomicwrites-1.3.0.ebuild @@ -14,7 +14,12 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/mock[${PYTHON_USEDEP}] + ' -2) + )" distutils_enable_tests pytest distutils_enable_sphinx docs \