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.
This commit is contained in:
Sean Vig
2015-08-22 18:10:58 -05:00
parent d1473b5475
commit 0e23f54cd2
6 changed files with 16 additions and 10 deletions

View File

@@ -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}] )

View File

@@ -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}] )

View File

@@ -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=
<dev-python/xcffib-0.3[${PYTHON_USEDEP}]
x11-libs/gdk-pixbuf[jpeg]"

View File

@@ -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=
<dev-python/xcffib-0.3[${PYTHON_USEDEP}]"

View File

@@ -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

View File

@@ -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