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_core/
Date: Sat, 28 Nov 2015 17:33:27
Message-Id: 1448636801.c354eaf7da2acf618bd535dcf705e22d5d559c0e.jlec@gentoo
1 commit: c354eaf7da2acf618bd535dcf705e22d5d559c0e
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Nov 27 15:06:41 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 15:06:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c354eaf7
7
8 dev-python/jupyter_core: Import from science overlay
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/jupyter_core/Manifest | 1 +
13 dev-python/jupyter_core/jupyter_core-4.0.6.ebuild | 54 +++++++++++++++++++++++
14 dev-python/jupyter_core/metadata.xml | 14 ++++++
15 3 files changed, 69 insertions(+)
16
17 diff --git a/dev-python/jupyter_core/Manifest b/dev-python/jupyter_core/Manifest
18 new file mode 100644
19 index 0000000..e12c074
20 --- /dev/null
21 +++ b/dev-python/jupyter_core/Manifest
22 @@ -0,0 +1 @@
23 +DIST jupyter_core-4.0.6.tar.gz 55060 SHA256 96a68a3b1d018ff7776270b26b7cb0cfd7a18a53ef2061421daff435707d198c SHA512 e6d7a0293ce6cdd3202b354aae62900683eb0474590980bf3d9c6f89b4b16182e7caee0e42c3feb3de5851535a01394b20725d9428eb105dbc2c34d90e0d398b WHIRLPOOL c1370d386c63665db1a47f1df0e3942c713b4f9e71ad5a2bd8c83bcf1b5dfe937fdadcd606335a989514499b9e6446d92a0bb250b9e972181b12d0d9423ee80a
24
25 diff --git a/dev-python/jupyter_core/jupyter_core-4.0.6.ebuild b/dev-python/jupyter_core/jupyter_core-4.0.6.ebuild
26 new file mode 100644
27 index 0000000..97392a8
28 --- /dev/null
29 +++ b/dev-python/jupyter_core/jupyter_core-4.0.6.ebuild
30 @@ -0,0 +1,54 @@
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="Core common functionality of Jupyter projects"
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/traitlets[${PYTHON_USEDEP}]
52 + "
53 +DEPEND="${RDEPEND}
54 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
55 + test? (
56 + dev-python/pytest[${PYTHON_USEDEP}]
57 + dev-python/pytest-cov[${PYTHON_USEDEP}]
58 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
59 + )
60 + "
61 +
62 +python_prepare_all() {
63 + # Prevent un-needed download during build
64 + if use doc; then
65 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
66 + fi
67 +
68 + distutils-r1_python_prepare_all
69 +}
70 +
71 +python_compile_all() {
72 + use doc && emake -C docs html
73 +}
74 +
75 +python_test() {
76 + distutils_install_for_testing
77 + cd "${TEST_DIR}"/lib || die
78 + py.test jupyter_core || die
79 +}
80 +
81 +python_install_all() {
82 + use doc && HTML_DOCS=( docs/_build/html/. )
83 + distutils-r1_python_install_all
84 +}
85
86 diff --git a/dev-python/jupyter_core/metadata.xml b/dev-python/jupyter_core/metadata.xml
87 new file mode 100644
88 index 0000000..07c5e18
89 --- /dev/null
90 +++ b/dev-python/jupyter_core/metadata.xml
91 @@ -0,0 +1,14 @@
92 +<?xml version="1.0" encoding="UTF-8"?>
93 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
94 +<pkgmetadata>
95 + <herd>sci</herd>
96 + <longdescription>
97 + Core common functionality of Jupyter projects.
98 + This package contains base application classes and configuration
99 + inhertited by other projects. It doesn't do much on its own.
100 + </longdescription>
101 + <upstream>
102 + <remote-id type="pypi">jupyter_core</remote-id>
103 + <remote-id type="github">jupyter/jupyter_core</remote-id>
104 + </upstream>
105 +</pkgmetadata>