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: Sat, 28 Nov 2015 17:33:33
Message-Id: 1448637998.280c56180bcf90b2b924dc30a04fa375c83e4e64.jlec@gentoo
1 commit: 280c56180bcf90b2b924dc30a04fa375c83e4e64
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Nov 27 15:26:38 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 15:26:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=280c5618
7
8 dev-python/jupyter_console: Import from science overlay
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/jupyter_console/Manifest | 1 +
13 .../jupyter_console/jupyter_console-4.0.3.ebuild | 55 ++++++++++++++++++++++
14 dev-python/jupyter_console/metadata.xml | 13 +++++
15 3 files changed, 69 insertions(+)
16
17 diff --git a/dev-python/jupyter_console/Manifest b/dev-python/jupyter_console/Manifest
18 new file mode 100644
19 index 0000000..bb6efd8
20 --- /dev/null
21 +++ b/dev-python/jupyter_console/Manifest
22 @@ -0,0 +1 @@
23 +DIST jupyter_console-4.0.3.tar.gz 22090 SHA256 555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85 SHA512 da9c311d881bbf61fbcea3c79e4dbdbe00f0f713772d0da4d30e0dec36ff5a6c5cbff3b996770f532c1e9c61ade1b1bf7a6f1ed28188ffd6900f6cc2ce7c0665 WHIRLPOOL 37139a87b182b9100284766ffb6e0b4c4e44b9bc2261a2d466920b0a23cf62d55f6a68cfb77da67a2eb3c316582fa7afaddcce69074b7597122e1c858c9a6c26
24
25 diff --git a/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild b/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild
26 new file mode 100644
27 index 0000000..0086a62
28 --- /dev/null
29 +++ b/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A terminal-based console frontend for Jupyter kernels"
42 +HOMEPAGE="http://jupyter.org"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +IUSE="doc test"
49 +
50 +RDEPEND="
51 + dev-python/ipython[${PYTHON_USEDEP}]
52 + dev-python/ipykernel[${PYTHON_USEDEP}]
53 + dev-python/jupyter_client[${PYTHON_USEDEP}]
54 + "
55 +DEPEND="${RDEPEND}
56 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
57 + test? (
58 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
59 + dev-python/pexpect[${PYTHON_USEDEP}]
60 + >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
61 + dev-python/coverage[${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 --with-coverage --cover-package=jupyter_console jupyter_console || die
80 +}
81 +
82 +python_install_all() {
83 + use doc && HTML_DOCS=( docs/_build/html/. )
84 + distutils-r1_python_install_all
85 +}
86
87 diff --git a/dev-python/jupyter_console/metadata.xml b/dev-python/jupyter_console/metadata.xml
88 new file mode 100644
89 index 0000000..a069311
90 --- /dev/null
91 +++ b/dev-python/jupyter_console/metadata.xml
92 @@ -0,0 +1,13 @@
93 +<?xml version="1.0" encoding="UTF-8"?>
94 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
95 +<pkgmetadata>
96 + <herd>sci</herd>
97 + <longdescription>
98 + A terminal-based console frontend for Jupyter kernels.
99 + This code is based on the single-process IPython terminal.
100 + </longdescription>
101 + <upstream>
102 + <remote-id type="pypi">jupyter_console</remote-id>
103 + <remote-id type="github">jupyter/jupyter_console</remote-id>
104 + </upstream>
105 +</pkgmetadata>