dev-python/minimock: Add a blocker on dev-python/future
authorMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 16:13:57 +0000 (18:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 16:22:45 +0000 (18:22 +0200)
dev-python/minimock/minimock-1.2.8-r1.ebuild

index 66b0bd9cc14b5e9499144feebb5371126c688c8d..f90db0e0816562f9253c64737bbc988f6edc852c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,6 +17,9 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 arm ppc x86"
 
+# future breaks minimock hard -- probably makes it think it's on python3...
+# https://github.com/lowks/minimock/issues/5
+RDEPEND="$(python_gen_cond_dep '!!dev-python/future[${PYTHON_USEDEP}]' -2)"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"