From d1ce436898abeb28472314b7cfb2154f11364236 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 25 May 2020 17:13:28 +0200 Subject: [PATCH] dev-python/atomicwrites: Add missing mock dep for py2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/atomicwrites/atomicwrites-1.3.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 \ -- 2.26.2