summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r--dev-python/pyzmq/ChangeLog7
-rw-r--r--dev-python/pyzmq/pyzmq-2.1.7.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/pyzmq/ChangeLog b/dev-python/pyzmq/ChangeLog
index eca4a5e8f063..da15771f799b 100644
--- a/dev-python/pyzmq/ChangeLog
+++ b/dev-python/pyzmq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyzmq
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.6 2011/05/02 12:27:09 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.7 2011/05/14 12:00:13 djc Exp $
+
+*pyzmq-2.1.7 (14 May 2011)
+
+ 14 May 2011; Dirkjan Ochtman <djc@gentoo.org> +pyzmq-2.1.7.ebuild:
+ Version bump to 2.1.7.
*pyzmq-2.1.4 (02 May 2011)
diff --git a/dev-python/pyzmq/pyzmq-2.1.7.ebuild b/dev-python/pyzmq/pyzmq-2.1.7.ebuild
new file mode 100644
index 000000000000..3946a43a7c54
--- /dev/null
+++ b/dev-python/pyzmq/pyzmq-2.1.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-2.1.7.ebuild,v 1.1 2011/05/14 12:00:13 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="*:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 *-jython"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils eutils
+
+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 ~x86"
+IUSE="doc examples"
+
+RDEPEND=">=net-libs/zeromq-2.1"
+DEPEND="${RDEPEND}"
+
+DOCS="README.rst"
+PYTHON_MODNAME="zmq"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" nosetests -sv $(ls -d build-${PYTHON_ABI}/lib.*)
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dohtml -r docs/build/html/* || die "Installation of documentation failed"
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}