dev-python/pytest: block dev-python/logilab-common
authorMike Gilbert <floppym@gentoo.org>
Mon, 5 Sep 2016 16:21:49 +0000 (12:21 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 5 Sep 2016 16:22:11 +0000 (12:22 -0400)
Bug: https://bugs.gentoo.org/592948

Package-Manager: portage-2.3.0_p24

dev-python/pytest/pytest-3.0.2.ebuild

index 293c43775aecc6ce47b852edab1d526ac80a9776..c28a9884dc4f228808c81e7039374fc49e70055e 100644 (file)
@@ -19,15 +19,8 @@ IUSE="test"
 
 # When bumping, please check setup.py for the proper py version
 PY_VER="1.4.29"
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
-
-# dev-python/pluggy
-# https://github.com/hpk42/pluggy
-# See https://github.com/pytest-dev/pytest/issues/944
-# for why not now
-
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
-DEPEND="${RDEPEND}
+COMMON_DEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
+DEPEND="${COMMON_DEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/hypothesis[${PYTHON_USEDEP}]
@@ -36,6 +29,9 @@ DEPEND="${RDEPEND}
                dev-python/requests[${PYTHON_USEDEP}]
        )
 "
+RDEPEND="${COMMON_DEPEND}
+       !dev-python/logilab-common
+"
 
 python_prepare_all() {
        chmod o-w *egg*/* || die