commit:     51ceef2c411d39d9831e2ec78b59ac6fdbe64c4d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 16:13:57 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 17 16:22:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ceef2c

dev-python/minimock: Add a blocker on dev-python/future

 dev-python/minimock/minimock-1.2.8-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/minimock/minimock-1.2.8-r1.ebuild 
b/dev-python/minimock/minimock-1.2.8-r1.ebuild
index 66b0bd9cc14..f90db0e0816 100644
--- a/dev-python/minimock/minimock-1.2.8-r1.ebuild
+++ b/dev-python/minimock/minimock-1.2.8-r1.ebuild
@@ -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}"

Reply via email to