1 |
commit: 9a88502c1d3528899f000f1bf52691a1ad4c3d75 |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Tue Oct 6 21:16:11 2015 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Tue Oct 6 21:16:11 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9a88502c |
7 |
|
8 |
dev-python/nbformat: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-python/nbformat/ChangeLog | 5 +++ |
13 |
dev-python/nbformat/nbformat-4.0.1.ebuild | 59 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nbformat/ChangeLog b/dev-python/nbformat/ChangeLog |
17 |
index 1fc6362..934c6c2 100644 |
18 |
--- a/dev-python/nbformat/ChangeLog |
19 |
+++ b/dev-python/nbformat/ChangeLog |
20 |
@@ -2,6 +2,11 @@ |
21 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
22 |
# $Id$ |
23 |
|
24 |
+*nbformat-4.0.1 (06 Oct 2015) |
25 |
+ |
26 |
+ 06 Oct 2015; Marius Brehler <marbre@××××××××××××××.de> +nbformat-4.0.1.ebuild: |
27 |
+ dev-python/nbformat: Version bump |
28 |
+ |
29 |
21 Sep 2015; Marius Brehler <marbre@××××××××××××××.de> nbformat-9999.ebuild: |
30 |
dev-python/nbformat: Add ~x86 to KEYWORDS |
31 |
|
32 |
|
33 |
diff --git a/dev-python/nbformat/nbformat-4.0.1.ebuild b/dev-python/nbformat/nbformat-4.0.1.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..cc116c0 |
36 |
--- /dev/null |
37 |
+++ b/dev-python/nbformat/nbformat-4.0.1.ebuild |
38 |
@@ -0,0 +1,59 @@ |
39 |
+# Copyright 1999-2015 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=5 |
44 |
+PYTHON_COMPAT=( python2_7 python{3_3,3_4} ) |
45 |
+PYTHON_REQ_USE='sqlite' |
46 |
+ |
47 |
+inherit distutils-r1 |
48 |
+ |
49 |
+DESCRIPTION="Reference implementation of the Jupyter Notebook format" |
50 |
+HOMEPAGE="http://jupyter.org" |
51 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+LICENSE="BSD" |
55 |
+SLOT="0" |
56 |
+IUSE="doc test" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
60 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
61 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
62 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
63 |
+ " |
64 |
+DEPEND="${RDEPEND} |
65 |
+ doc? ( |
66 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
67 |
+ dev-python/numpydoc[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+ test? ( |
70 |
+ dev-python/nose[${PYTHON_USEDEP}] |
71 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+ " |
74 |
+ |
75 |
+python_prepare_all() { |
76 |
+ # Prevent un-needed download during build |
77 |
+ if use doc; then |
78 |
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die |
79 |
+ fi |
80 |
+ |
81 |
+ distutils-r1_python_prepare_all |
82 |
+} |
83 |
+ |
84 |
+python_compile_all() { |
85 |
+ use doc && emake -C docs html |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ distutils_install_for_testing |
90 |
+ cd "${TEST_DIR}"/lib || die |
91 |
+ nosetests --with-coverage --cover-package=nbformat nbformat || die |
92 |
+} |
93 |
+ |
94 |
+python_install_all() { |
95 |
+ use doc && HTML_DOCS=( docs/_build/html/. ) |
96 |
+ distutils-r1_python_install_all |
97 |
+} |