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/jupyter_console/
Date: Wed, 24 Feb 2016 16:49:36
Message-Id: 1456332565.cd75dc34ef9d36f0d0d6addf53c7f67df6d470f3.jlec@gentoo
1 commit: cd75dc34ef9d36f0d0d6addf53c7f67df6d470f3
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 16:48:09 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 16:49:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd75dc34
7
8 dev-python/jupyter_console: Version Bump
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/jupyter_console/Manifest | 1 +
14 .../jupyter_console/jupyter_console-4.1.1.ebuild | 54 ++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-python/jupyter_console/Manifest b/dev-python/jupyter_console/Manifest
18 index 72cfe0c..d55196b 100644
19 --- a/dev-python/jupyter_console/Manifest
20 +++ b/dev-python/jupyter_console/Manifest
21 @@ -1,2 +1,3 @@
22 DIST jupyter_console-4.0.3.tar.gz 22090 SHA256 555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85 SHA512 da9c311d881bbf61fbcea3c79e4dbdbe00f0f713772d0da4d30e0dec36ff5a6c5cbff3b996770f532c1e9c61ade1b1bf7a6f1ed28188ffd6900f6cc2ce7c0665 WHIRLPOOL 37139a87b182b9100284766ffb6e0b4c4e44b9bc2261a2d466920b0a23cf62d55f6a68cfb77da67a2eb3c316582fa7afaddcce69074b7597122e1c858c9a6c26
23 DIST jupyter_console-4.1.0.tar.gz 23319 SHA256 3f9703b632e38d68713fc2ea1f546edc4db2a8f925c94b6dd91a8d0c13816ce9 SHA512 4ab113cd4f57945519eb7df225a84b857df26f928589a109ecb9843cadc193eb75fca03574b249c9f31dceca4e03337d5fbba5a79cbc7a96ecf708c437c34fd3 WHIRLPOOL 735dd3ddce0ea682495fe9d18ee97a453c21a06db4121f329a5f6f0fc9f6cd75f9b398eb203af1ea6a552b9b9e1118e543f7d9139d659ca471c2d8eda6180962
24 +DIST jupyter_console-4.1.1.tar.gz 23391 SHA256 d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3 SHA512 40894f41b85c1b823c3d75f33427728717b75e800a08c8a6b17b1c6ca7a6543b2aadc72d7ff131a7633252ac01bb0b0142025d7a53c3f3b7f8d189e6ff14216e WHIRLPOOL 724a06b5f0bba3a3bdd14d319df09ecf0b2ce3c4b167fce20cc498737e1bbb27082911dd8c5b4027bd56e13eff523b18abb112e308d7ce8e59d098b3d9257d80
25
26 diff --git a/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild b/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild
27 new file mode 100644
28 index 0000000..983c973
29 --- /dev/null
30 +++ b/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A terminal-based console frontend for Jupyter kernels"
43 +HOMEPAGE="http://jupyter.org"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc test"
50 +
51 +RDEPEND="
52 + dev-python/ipython[${PYTHON_USEDEP}]
53 + dev-python/ipykernel[${PYTHON_USEDEP}]
54 + dev-python/jupyter_client[${PYTHON_USEDEP}]
55 + "
56 +DEPEND="${RDEPEND}
57 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
58 + test? (
59 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
60 + dev-python/pexpect[${PYTHON_USEDEP}]
61 + >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
62 + )
63 + "
64 +
65 +python_prepare_all() {
66 + # Prevent un-needed download during build
67 + if use doc; then
68 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
69 + fi
70 +
71 + distutils-r1_python_prepare_all
72 +}
73 +
74 +python_compile_all() {
75 + use doc && emake -C docs html
76 +}
77 +
78 +python_test() {
79 + nosetests --verbosity=3 jupyter_console || die
80 +}
81 +
82 +python_install_all() {
83 + use doc && HTML_DOCS=( docs/_build/html/. )
84 + distutils-r1_python_install_all
85 +}