summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2015-02-12 02:32:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2015-02-12 02:32:56 +0000
commitdc33c11d6885eabc461c64b094584ad19bf9f4ea (patch)
tree2f7bb85d39dab6f590e0878943770470fcbf0fed /dev-python/pyzmq
parentInitial commit. (diff)
downloadgentoo-2-dc33c11d6885eabc461c64b094584ad19bf9f4ea.tar.gz
gentoo-2-dc33c11d6885eabc461c64b094584ad19bf9f4ea.tar.bz2
gentoo-2-dc33c11d6885eabc461c64b094584ad19bf9f4ea.zip
Restore old for dev-python/gevent-zeromq
(Portage version: 2.2.16/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r--dev-python/pyzmq/ChangeLog7
-rw-r--r--dev-python/pyzmq/pyzmq-2.2.0.1-r1.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/pyzmq/ChangeLog b/dev-python/pyzmq/ChangeLog
index 57f7905daf46..03971ce8a6cc 100644
--- a/dev-python/pyzmq/ChangeLog
+++ b/dev-python/pyzmq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyzmq
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.65 2015/02/11 10:50:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.66 2015/02/12 02:32:56 patrick Exp $
+
+*pyzmq-2.2.0.1-r1 (12 Feb 2015)
+
+ 12 Feb 2015; Patrick Lauer <patrick@gentoo.org> +pyzmq-2.2.0.1-r1.ebuild:
+ Restore old for dev-python/gevent-zeromq
11 Feb 2015; Justin Lecher <jlec@gentoo.org> -pyzmq-2.2.0.1-r1.ebuild,
metadata.xml, pyzmq-14.5.0.ebuild:
diff --git a/dev-python/pyzmq/pyzmq-2.2.0.1-r1.ebuild b/dev-python/pyzmq/pyzmq-2.2.0.1-r1.ebuild
new file mode 100644
index 000000000000..b13a12c55460
--- /dev/null
+++ b/dev-python/pyzmq/pyzmq-2.2.0.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-2.2.0.1-r1.ebuild,v 1.7 2015/02/12 02:32:56 patrick Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="PyZMQ is a lightweight and super-fast messaging library built on top of the ZeroMQ library"
+HOMEPAGE="http://www.zeromq.org/bindings:python http://pypi.python.org/pypi/pyzmq"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples test"
+
+PY2_USEDEP=$(python_gen_usedep 'python2*')
+
+RDEPEND=">=net-libs/zeromq-2.1.9"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose[${PY2_USEDEP}]
+ dev-python/gevent[${PY2_USEDEP}]
+ www-servers/tornado[${PY2_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.2.0.1-python3.patch"
+)
+
+# Configure checks write to cwd.
+# https://github.com/zeromq/pyzmq/issues/318
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ if [[ ${EPYTHON} == python3* ]]; then
+ einfo "Skipping tests for ${EPYTHON}, not supported."
+ else
+ nosetests -svw build/lib* || die "Tests fail with ${EPYTHON}"
+ fi
+}
+
+python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}