summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 \