From: Sean Vig Date: Sat, 22 Aug 2015 23:10:58 +0000 (-0500) Subject: dev-python/cairocffi: Don't enable pypy Python target on dev-python/cffi X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e23f54cd2fded0aca4aad1ea475f74f313ad267;p=gentoo.git dev-python/cairocffi: Don't enable pypy Python target on dev-python/cffi Also, check that new enough (>=2.6.0) PyPy installed to ensure correct cffi version. --- diff --git a/dev-python/cairocffi/cairocffi-0.5.3-r1.ebuild b/dev-python/cairocffi/cairocffi-0.5.3-r1.ebuild index 02d50b7bc552..b09276cfb9b0 100644 --- a/dev-python/cairocffi/cairocffi-0.5.3-r1.ebuild +++ b/dev-python/cairocffi/cairocffi-0.5.3-r1.ebuild @@ -18,7 +18,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" -RDEPEND=">=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]' 'python*') x11-libs/cairo:0=" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) diff --git a/dev-python/cairocffi/cairocffi-0.5.4.ebuild b/dev-python/cairocffi/cairocffi-0.5.4.ebuild index 02d50b7bc552..b09276cfb9b0 100644 --- a/dev-python/cairocffi/cairocffi-0.5.4.ebuild +++ b/dev-python/cairocffi/cairocffi-0.5.4.ebuild @@ -18,7 +18,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" -RDEPEND=">=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]' 'python*') x11-libs/cairo:0=" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) diff --git a/dev-python/cairocffi/cairocffi-0.6-r1.ebuild b/dev-python/cairocffi/cairocffi-0.6-r1.ebuild index b760032169a0..77ff6bff9b57 100644 --- a/dev-python/cairocffi/cairocffi-0.6-r1.ebuild +++ b/dev-python/cairocffi/cairocffi-0.6-r1.ebuild @@ -21,7 +21,7 @@ IUSE="doc test" # xcffib is an optional extra excpet that the testsuite has it a hard coded unconditional component RDEPEND=" - >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]' 'python*') x11-libs/cairo:0= =virtual/pypy-2.6.0' pypy )" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] @@ -32,7 +33,8 @@ DEPEND=" test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] - )" + ) + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" PATCHES=( # Intersphinx cause the usual d'loading of objects.inv from TWO online sites diff --git a/dev-python/cairocffi/cairocffi-0.7.2.ebuild b/dev-python/cairocffi/cairocffi-0.7.2.ebuild index 8aa7b95b2a27..b9396d0d506f 100644 --- a/dev-python/cairocffi/cairocffi-0.7.2.ebuild +++ b/dev-python/cairocffi/cairocffi-0.7.2.ebuild @@ -21,10 +21,11 @@ KEYWORDS="~amd64 ~x86" IUSE="doc test" RDEPEND=" - >=dev-python/cffi-1.1.0:=[$(python_gen_usedep 'python*')] + $(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*') >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] x11-libs/cairo:0= - x11-libs/gdk-pixbuf[jpeg]" + x11-libs/gdk-pixbuf[jpeg] + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] @@ -32,7 +33,8 @@ DEPEND=" test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] - )" + ) + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" PATCHES=( # Intersphinx cause the usual d'loading of objects.inv from TWO online sites