Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbformat/
Date: Sat, 25 Feb 2017 14:19:04
Message-Id: 1488032323.2f369e08e75735cbbbdb7cd64d75b425ccb958a5.soap@gentoo
1 commit: 2f369e08e75735cbbbdb7cd64d75b425ccb958a5
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Thu Feb 23 11:15:00 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 14:18:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f369e08
7
8 dev-python/nbformat: Version bump to 4.3.0
9
10 Package-Manager: portage-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/4062
12
13 dev-python/nbformat/Manifest | 1 +
14 dev-python/nbformat/nbformat-4.3.0.ebuild | 59 +++++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest
18 index e877bfd9e1..6d0558d46d 100644
19 --- a/dev-python/nbformat/Manifest
20 +++ b/dev-python/nbformat/Manifest
21 @@ -1,3 +1,4 @@
22 DIST nbformat-4.0.1.tar.gz 105767 SHA256 5261c957589b9dfcd387c338d59375162ba9ca82c69e378961a1f4e641285db5 SHA512 f73e8cffc61825aa8b7b0ef3b842cba51baf2cdf0c5d0035e2e7cb51f71c6c819f09201367a3b342c2736492dee1e78c519961aaea8f2cc4b5e69a1545085d2a WHIRLPOOL 9b08003c456e00c529b7bf8e786d57a583e53e5a1e7e9eb4c3cc492c5b1d60e76579c9102e6c56749d546a9a124d475687d4ec1d71e0f3634698d5e30499db93
23 DIST nbformat-4.1.0.tar.gz 108264 SHA256 dbf6c0ed0cb7c5a7184536368f1dd1ada2d48fd6f016e0f9e9b69236e28c0857 SHA512 606d8aa786fdbe8fe6d12d9a13886a49043b096a86ad180556f65f226d5031c98f6c80b4319de09292f2f17ed9e3a5038828c94a7306ed2abd78976e30fc08d4 WHIRLPOOL f01d3431fb007b12bbd892181781d87a700c01a28f1bf5308f4ae0f5c5dd63c768e926964848a3a21b6bd34e8d6d2b6c3d962b4dee1f034a387e45d2c3741a2e
24 DIST nbformat-4.2.0.tar.gz 110309 SHA256 389a5b630a30539074f238a48fb9864592f63d611baccfa2ffaf14ffe239de06 SHA512 4b1b4ae59948306d750e0e44f5443980de64f7ae1e4afd57299114e952b9733268bd54900ea8598e4ba14754c622fb1fe7eb13a29716c91941d79ba75031f543 WHIRLPOOL 9e7ab6e385be29502cbe7a76aee57017e5956ee71d825902ffe25d6fb4b092eab17a649c04dbee953efdbc34c309dc79fe71d10fa96a7b888c3b46608765ed5b
25 +DIST nbformat-4.3.0.tar.gz 578765 SHA256 5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b SHA512 f4727466b96bb1e1524e9c496898bf0e868fd85b65e325a9741f0debc4f9fd908652b0eb4d0d20ed68332d7770c21dcb41b63ec76dc6a7d1b3267f03a7f96757 WHIRLPOOL e6b55758042127ab40d14268d45b33d7d32b2fab42a1aeaef106e9f6aad144f4228221074fd6cfc287fea2274167534c970546afc1d8216bc90f51e29318dfc2
26
27 diff --git a/dev-python/nbformat/nbformat-4.3.0.ebuild b/dev-python/nbformat/nbformat-4.3.0.ebuild
28 new file mode 100644
29 index 0000000000..76fc1ca89c
30 --- /dev/null
31 +++ b/dev-python/nbformat/nbformat-4.3.0.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
40 +PYTHON_REQ_USE='sqlite'
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Reference implementation of the Jupyter Notebook format"
45 +HOMEPAGE="http://jupyter.org"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="doc test"
52 +
53 +RDEPEND="
54 + >=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}]
55 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
56 + >=dev-python/traitlets-4.1[${PYTHON_USEDEP}]
57 + dev-python/jupyter_core[${PYTHON_USEDEP}]
58 + "
59 +DEPEND="${RDEPEND}
60 + doc? (
61 + dev-python/sphinx[${PYTHON_USEDEP}]
62 + dev-python/numpydoc[${PYTHON_USEDEP}]
63 + )
64 + test? (
65 + dev-python/testpath[${PYTHON_USEDEP}]
66 + dev-python/pytest[${PYTHON_USEDEP}]
67 + dev-python/pytest-cov[${PYTHON_USEDEP}]
68 + )
69 + "
70 +
71 +python_prepare_all() {
72 + # Prevent un-needed download during build
73 + if use doc; then
74 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
75 + fi
76 +
77 + distutils-r1_python_prepare_all
78 +}
79 +
80 +python_compile_all() {
81 + if use doc; then
82 + emake -C docs html
83 + HTML_DOCS=( docs/_build/html/. )
84 + fi
85 +}
86 +
87 +python_test() {
88 + distutils_install_for_testing
89 + cd "${TEST_DIR}"/lib || die
90 + py.test -v --cov nbformat nbformat || die
91 +}