summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-25 17:13:28 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-25 18:16:45 +0200
commitd1ce436898abeb28472314b7cfb2154f11364236 (patch)
tree8b14c36325ef3769b09c86acf2f50747e7a2ced5 /dev-python/atomicwrites
parentdev-python/atomicwrites: Port to py39 (diff)
downloadgentoo-d1ce436898abeb28472314b7cfb2154f11364236.tar.gz
gentoo-d1ce436898abeb28472314b7cfb2154f11364236.tar.bz2
gentoo-d1ce436898abeb28472314b7cfb2154f11364236.zip
dev-python/atomicwrites: Add missing mock dep for py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/atomicwrites')
-rw-r--r--dev-python/atomicwrites/atomicwrites-1.3.0.ebuild7
1 files changed, 6 insertions, 1 deletions
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 \