summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-14 10:48:59 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-14 10:53:37 +0100
commit1c62c91aba2d835041282cb8208f9e8acfae9fab (patch)
treef2e6ab9663882d1bb2a22ed2bfe813342bfab836 /dev-python/pyzmq
parentdev-python/rsa: Version Bump (diff)
downloadgentoo-1c62c91aba2d835041282cb8208f9e8acfae9fab.tar.gz
gentoo-1c62c91aba2d835041282cb8208f9e8acfae9fab.tar.bz2
gentoo-1c62c91aba2d835041282cb8208f9e8acfae9fab.zip
dev-python/pyzmq: Version Bump
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r--dev-python/pyzmq/Manifest1
-rw-r--r--dev-python/pyzmq/pyzmq-15.2.0.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest
index 4a4bde6c2cd8..f5f440351875 100644
--- a/dev-python/pyzmq/Manifest
+++ b/dev-python/pyzmq/Manifest
@@ -3,3 +3,4 @@ DIST pyzmq-14.6.0.tar.gz 1001020 SHA256 7746806ff94f1e8c1e843644c6bbd3b9aaeb1203
DIST pyzmq-14.7.0.tar.gz 1048389 SHA256 77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2 SHA512 22c30414c99bddb71f47b37f49f19b0cb1a535bdc6835fac13c78d030a59ed362124393acd41b7e04bb1f8ca231cabb49d010ac93142786ec35ee4a303f168ed WHIRLPOOL 82f1940133d23bc11acaaf66a92cebfdc76f844f990f90314198b3a65b2dd561e2ab7a5b532f76e6a9a6dd93520b7ae096331fb09eb302b898616e916d35e702
DIST pyzmq-15.0.0.tar.gz 1069616 SHA256 376ca24cf365092d03bd1de00ed4319910aef84394cb4805a866bdf0b6d317bb SHA512 7d42e6e2218ff9668db92cc68ea511a90bac4a4f950ca42d199b82cf17dee587c824be16ea0e315da7b482e7ced0d97769cc500bf9d0fa2eb8a5b7c764c8305f WHIRLPOOL b615493aafd93a529b5b1af2ee161fa6f34c5efd47ee592d0ed4e1d6bc9d4b9b14206450278d2781bf3c688853629822c944ac58cce4d10d0a9a4a6f01b72437
DIST pyzmq-15.1.0.tar.gz 1072983 SHA256 bd5b279998538bb197baf59c81584550d713b1b17761e8a638bb6fbda9e5d08d SHA512 776ee7e45df29af3fecc4b8037cc04e62fc745ca7f7ce3f84a4419a2ed1571e87de290c7d2fdc58d869e3ef60454dd5eedc78f46f757d5da87e8ece4bb96c9a7 WHIRLPOOL f3926b3ef80109a3e7dfabd2ab861cf4800238e9c0cbd2f1aef9242e3c299aaa3df28d037d97610a308da3b27719e4f5a661bd68c0a82e122c7fd64871543d16
+DIST pyzmq-15.2.0.tar.gz 1078561 SHA256 2dafa322670a94e20283aba2a44b92134d425bd326419b68ad4db8d0831a26ec SHA512 28541b095b5486b662fe33a24994af5a465989a2391091ec8b693579124fdd600c3b0721853377c7551430d55b13c9116a1eebdced74678598d78c01fa7431c7 WHIRLPOOL 2ef08e72f1d35336118191a914068aa1b2b77cea92c197f902ffdf679c80b7bd6bf025ab1dc267f9adc65c38213499631441b5f69a5c2296d7cb4d723867499c
diff --git a/dev-python/pyzmq/pyzmq-15.2.0.ebuild b/dev-python/pyzmq/pyzmq-15.2.0.ebuild
new file mode 100644
index 000000000000..14689d380e2b
--- /dev/null
+++ b/dev-python/pyzmq/pyzmq-15.2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
+HOMEPAGE="http://www.zeromq.org/bindings:python https://pypi.python.org/pypi/pyzmq"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples test"
+
+PY2_USEDEP=$(python_gen_usedep python2_7)
+RDEPEND="
+ >=net-libs/zeromq-4.1.2:=
+ dev-python/py[${PYTHON_USEDEP}]
+ dev-python/cffi:=[${PYTHON_USEDEP}]
+ dev-python/gevent[${PY2_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+ doc? (
+ >=dev-python/sphinx-1.3[${PYTHON_USEDEP}]
+ dev-python/numpydoc[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ # Prevent un-needed download during build
+ sed -e "/'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ tc-export CC
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ # suite reports error in absence of gevent under py3 but is designed to continue
+ # rather than exit making py3 apt for the test phase
+ nosetests -svw "${BUILD_DIR}/lib/" || die
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( examples/. )
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}