Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzmq/
Date: Sat, 28 Nov 2015 09:28:27
Message-Id: 1448700412.da701dae27112514bae3afc4285ed60be0a3c3e6.jlec@gentoo
1 commit: da701dae27112514bae3afc4285ed60be0a3c3e6
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 27 15:27:05 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 08:46:52 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da701dae
7
8 dev-python/pyzmq: Version Bump
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/pyzmq/Manifest | 1 +
14 dev-python/pyzmq/pyzmq-15.1.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 64 insertions(+)
16
17 diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest
18 index e7d6e42..4a4bde6 100644
19 --- a/dev-python/pyzmq/Manifest
20 +++ b/dev-python/pyzmq/Manifest
21 @@ -2,3 +2,4 @@ DIST pyzmq-14.4.1.tar.gz 995366 SHA256 cb4a59875fdc26315045d800bac008b8e10a4cf2d
22 DIST pyzmq-14.6.0.tar.gz 1001020 SHA256 7746806ff94f1e8c1e843644c6bbd3b9aaeb1203c2eaf38879adc23dbd5c35bb SHA512 02e7feaca0ed73d48af2577fa9fc240e947bf9cea444b3819b8fd39fc2ca4b50c8f11ff27c8477386ef7bee1e8f5bbca50769403ab1393d43624065e647b6544 WHIRLPOOL e10c96a8852cd57dc7ec622405925c987a66cfecff125b6b664a8ab48078b6bea59749421122b7158ace0f366c6d61eb617e9b2f7e951000c9a61d86b87a2ff0
23 DIST pyzmq-14.7.0.tar.gz 1048389 SHA256 77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2 SHA512 22c30414c99bddb71f47b37f49f19b0cb1a535bdc6835fac13c78d030a59ed362124393acd41b7e04bb1f8ca231cabb49d010ac93142786ec35ee4a303f168ed WHIRLPOOL 82f1940133d23bc11acaaf66a92cebfdc76f844f990f90314198b3a65b2dd561e2ab7a5b532f76e6a9a6dd93520b7ae096331fb09eb302b898616e916d35e702
24 DIST pyzmq-15.0.0.tar.gz 1069616 SHA256 376ca24cf365092d03bd1de00ed4319910aef84394cb4805a866bdf0b6d317bb SHA512 7d42e6e2218ff9668db92cc68ea511a90bac4a4f950ca42d199b82cf17dee587c824be16ea0e315da7b482e7ced0d97769cc500bf9d0fa2eb8a5b7c764c8305f WHIRLPOOL b615493aafd93a529b5b1af2ee161fa6f34c5efd47ee592d0ed4e1d6bc9d4b9b14206450278d2781bf3c688853629822c944ac58cce4d10d0a9a4a6f01b72437
25 +DIST pyzmq-15.1.0.tar.gz 1072983 SHA256 bd5b279998538bb197baf59c81584550d713b1b17761e8a638bb6fbda9e5d08d SHA512 776ee7e45df29af3fecc4b8037cc04e62fc745ca7f7ce3f84a4419a2ed1571e87de290c7d2fdc58d869e3ef60454dd5eedc78f46f757d5da87e8ece4bb96c9a7 WHIRLPOOL f3926b3ef80109a3e7dfabd2ab861cf4800238e9c0cbd2f1aef9242e3c299aaa3df28d037d97610a308da3b27719e4f5a661bd68c0a82e122c7fd64871543d16
26
27 diff --git a/dev-python/pyzmq/pyzmq-15.1.0.ebuild b/dev-python/pyzmq/pyzmq-15.1.0.ebuild
28 new file mode 100644
29 index 0000000..fa6baca
30 --- /dev/null
31 +++ b/dev-python/pyzmq/pyzmq-15.1.0.ebuild
32 @@ -0,0 +1,63 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
40 +PYTHON_REQ_USE="threads(+)"
41 +
42 +inherit distutils-r1 toolchain-funcs
43 +
44 +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
45 +HOMEPAGE="http://www.zeromq.org/bindings:python https://pypi.python.org/pypi/pyzmq"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="LGPL-3"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
51 +IUSE="doc examples test"
52 +
53 +PY2_USEDEP=$(python_gen_usedep python2_7)
54 +RDEPEND="
55 + >=net-libs/zeromq-4.1.2:=
56 + dev-python/py[${PYTHON_USEDEP}]
57 + dev-python/cffi:=[${PYTHON_USEDEP}]
58 + dev-python/gevent[${PY2_USEDEP}]"
59 +DEPEND="${RDEPEND}
60 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
61 + doc? (
62 + >=dev-python/sphinx-1.3[${PYTHON_USEDEP}]
63 + dev-python/numpydoc[${PYTHON_USEDEP}]
64 + )"
65 +
66 +python_prepare_all() {
67 + # Prevent un-needed download during build
68 + sed -e "/'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
69 + distutils-r1_python_prepare_all
70 +}
71 +
72 +python_configure_all() {
73 + tc-export CC
74 +}
75 +
76 +python_compile_all() {
77 + use doc && emake -C docs html
78 +}
79 +
80 +python_compile() {
81 + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
82 + distutils-r1_python_compile
83 +}
84 +
85 +python_test() {
86 + # suite reports error in absence of gevent under py3 but is designed to continue
87 + # rather than exit making py3 apt for the test phase
88 + nosetests -svw "${BUILD_DIR}/lib/" || die
89 +}
90 +
91 +python_install_all() {
92 + use examples && local EXAMPLES=( examples/. )
93 + use doc && local HTML_DOCS=( docs/build/html/. )
94 + distutils-r1_python_install_all
95 +}