summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-05-08 08:22:04 +0000
committerIan Delaney <idella4@gentoo.org>2013-05-08 08:22:04 +0000
commit17094aaddae46bb0226546339fd90bb891610e56 (patch)
tree8f19aab8ae0ee04e49ca88052b93938b82ad9fef /dev-python/pyzmq
parentFix build with sys-libs/ncurses[tinfo] (bug #457564, patch by Ben Longbons). (diff)
downloadgentoo-2-17094aaddae46bb0226546339fd90bb891610e56.tar.gz
gentoo-2-17094aaddae46bb0226546339fd90bb891610e56.tar.bz2
gentoo-2-17094aaddae46bb0226546339fd90bb891610e56.zip
Add required rdep gevent -> drop py3 support, prepared commented out alternate test phase for if / when gevent becomes pypy capable
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r--dev-python/pyzmq/ChangeLog7
-rw-r--r--dev-python/pyzmq/pyzmq-13.1.0.ebuild23
2 files changed, 21 insertions, 9 deletions
diff --git a/dev-python/pyzmq/ChangeLog b/dev-python/pyzmq/ChangeLog
index 74be107de12b..c3d3138bc24f 100644
--- a/dev-python/pyzmq/ChangeLog
+++ b/dev-python/pyzmq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyzmq
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.31 2013/05/07 20:44:13 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.32 2013/05/08 08:22:04 idella4 Exp $
+
+ 08 May 2013; Ian Delaney <idella4@gentoo.org> pyzmq-13.1.0.ebuild,
+ pyzmq-2.2.0.1-r1.ebuild:
+ Add required rdep gevent -> drop py3 support, prepared commented out alternate
+ test phase for if / when gevent becomes pypy capable
*pyzmq-13.1.0 (07 May 2013)
diff --git a/dev-python/pyzmq/pyzmq-13.1.0.ebuild b/dev-python/pyzmq/pyzmq-13.1.0.ebuild
index 1ff74e757df3..2603c867715d 100644
--- a/dev-python/pyzmq/pyzmq-13.1.0.ebuild
+++ b/dev-python/pyzmq/pyzmq-13.1.0.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-13.1.0.ebuild,v 1.1 2013/05/07 20:44:13 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-13.1.0.ebuild,v 1.2 2013/05/08 08:22:04 idella4 Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
+# Need hold off pypy support until https://bugs.pypy.org/issue1480 has a fix, also makes py3 incapable
+PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
@@ -18,7 +19,8 @@ IUSE="examples test"
PY2_USEDEP=$(python_gen_usedep 'python2*')
-RDEPEND=">=net-libs/zeromq-2.1.9"
+RDEPEND=">=net-libs/zeromq-2.1.9
+ dev-python/gevent[${PY2_USEDEP}]"
DEPEND="${RDEPEND}
test? (
!arm? ( dev-python/cffi[${PY2_USEDEP}] )
@@ -33,11 +35,16 @@ DISTUTILS_IN_SOURCE_BUILD=1
REQUIRED_USE="test? ( !arm )"
python_test() {
- if [[ ${EPYTHON} == python3* ]]; then
- einfo "Skipping tests for ${EPYTHON}, not supported."
- else
- nosetests -svw build/lib* || die "Tests fail with ${EPYTHON}"
- fi
+# local test
+ nosetests -svw build/lib* || die "Tests fail with ${EPYTHON}"
+ # For pypy capable; avoids nosetests trawling wrong files triggering erroneous error under pypy
+# for test in build/lib/zmq/tests/test_*.py; do
+# if "${PYTHON}" ${test}; then
+# einfo "Passed ${test}"
+# else
+# die "testsuite failed ${test} under ${EPYTHON}"
+# fi
+# done
}
python_install_all() {