mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-26 09:18:23 -07:00
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:
@@ -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}] )
|
||||
|
||||
@@ -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}] )
|
||||
|
||||
@@ -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]"
|
||||
|
||||
@@ -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}]"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user