Skip to content

Commit

Permalink
Merge pull 34: Don't install cffi for PyPy
Browse files Browse the repository at this point in the history
Pull-Request: gentoo#34
  • Loading branch information
floppym committed Aug 23, 2015
2 parents f2b7352 + f2867a6 commit ecfefda
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 21 deletions.
2 changes: 2 additions & 0 deletions dev-python/bcrypt/bcrypt-2.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ IUSE=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
!dev-python/py-bcrypt"

Expand Down
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
2 changes: 1 addition & 1 deletion dev-python/cffi/cffi-0.8.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# $Id$

EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

Expand Down
2 changes: 1 addition & 1 deletion dev-python/cffi/cffi-1.1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI="5"

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

Expand Down
2 changes: 1 addition & 1 deletion dev-python/cffi/cffi-1.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI="5"

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

Expand Down
3 changes: 2 additions & 1 deletion dev-python/cryptography/cryptography-1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EAPI=5

# only works with >=pypy-2.6
PYTHON_COMPAT=( python2_7 python3_{3,4} )
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )

inherit distutils-r1

Expand All @@ -27,6 +27,7 @@ RDEPEND="
>=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
Expand Down
2 changes: 1 addition & 1 deletion dev-python/xcffib/xcffib-0.1.10.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ IUSE=""
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]' 'python*')
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down
2 changes: 1 addition & 1 deletion dev-python/xcffib/xcffib-0.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]' 'python*')
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down
2 changes: 1 addition & 1 deletion dev-python/xcffib/xcffib-0.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]' 'python*')
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down
5 changes: 3 additions & 2 deletions dev-python/xcffib/xcffib-0.2.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ IUSE="test"
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]
<dev-python/cffi-1:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-0.8.2:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '<dev-python/cffi-1:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '<virtual/pypy-2.6.0' pypy )
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down
3 changes: 2 additions & 1 deletion dev-python/xcffib/xcffib-0.3.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ IUSE="test"
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.1.1:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down
3 changes: 2 additions & 1 deletion dev-python/xcffib/xcffib-0.3.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ IUSE="test"
COMMON_DEPEND="x11-libs/libxcb"

RDEPEND="
>=dev-python/cffi-0.1.1:=[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
$(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
dev-python/six[${PYTHON_USEDEP}]
${COMMON_DEPEND}"
DEPEND="
Expand Down

0 comments on commit ecfefda

Please sign in to comment.