Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/ipyparallel/
Date: Wed, 28 Oct 2015 10:46:04
Message-Id: 1446029141.8ffcba1cb3eeaf2a71050b70113ce4da9df7f286.jlec@gentoo
1 commit: 8ffcba1cb3eeaf2a71050b70113ce4da9df7f286
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 28 10:45:41 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 28 10:45:41 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8ffcba1c
7
8 dev-python/ipyparallel: Version Bump
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/ipyparallel/ipyparallel-4.1.0.ebuild | 58 +++++++++++++++++++++++++
14 1 file changed, 58 insertions(+)
15
16 diff --git a/dev-python/ipyparallel/ipyparallel-4.1.0.ebuild b/dev-python/ipyparallel/ipyparallel-4.1.0.ebuild
17 new file mode 100644
18 index 0000000..f951657
19 --- /dev/null
20 +++ b/dev-python/ipyparallel/ipyparallel-4.1.0.ebuild
21 @@ -0,0 +1,58 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Interactive Parallel Computing with IPython"
33 +HOMEPAGE="http://ipython.org/"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35 +
36 +LICENSE="BSD"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="doc test"
40 +
41 +RDEPEND="
42 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
43 + dev-python/decorator[${PYTHON_USEDEP}]
44 + >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
45 + dev-python/ipykernel[${PYTHON_USEDEP}]
46 + !<dev-python/ipython-4.0.0[smp]
47 + >=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
48 + dev-python/jupyter_client[${PYTHON_USEDEP}]
49 + "
50 +DEPEND="${RDEPEND}
51 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
52 + test? (
53 + dev-python/nose[${PYTHON_USEDEP}]
54 + dev-python/requests[${PYTHON_USEDEP}]
55 + dev-python/coverage[${PYTHON_USEDEP}]
56 + )
57 + "
58 +
59 +python_prepare_all() {
60 + # Prevent un-needed download during build
61 + if use doc; then
62 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
63 + fi
64 +
65 + distutils-r1_python_prepare_all
66 +}
67 +
68 +python_compile_all() {
69 + use doc && emake -C docs html
70 +}
71 +
72 +python_test() {
73 + iptest --coverage xml ipyparallel.tests || die
74 +}
75 +
76 +python_install_all() {
77 + use doc && HTML_DOCS=( docs/build/html/. )
78 + distutils-r1_python_install_all
79 +}