Skip to content

Commit

Permalink
dev-python/cairocffi: Don't enable pypy Python target on dev-python/cffi
Browse files Browse the repository at this point in the history
Also, check that new enough (>=2.6.0) PyPy installed to ensure correct
cffi version.
  • Loading branch information
flacjacket committed Aug 23, 2015
1 parent d1473b5 commit 0e23f54
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
3 changes: 2 additions & 1 deletion dev-python/cairocffi/cairocffi-0.5.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}] )
Expand Down
3 changes: 2 additions & 1 deletion dev-python/cairocffi/cairocffi-0.5.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}] )
Expand Down
2 changes: 1 addition & 1 deletion dev-python/cairocffi/cairocffi-0.6-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
2 changes: 1 addition & 1 deletion dev-python/cairocffi/cairocffi-0.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}]"

Expand Down
8 changes: 5 additions & 3 deletions dev-python/cairocffi/cairocffi-0.7.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@ 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}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
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
Expand Down
8 changes: 5 additions & 3 deletions dev-python/cairocffi/cairocffi-0.7.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@ 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}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
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
Expand Down

0 comments on commit 0e23f54

Please sign in to comment.