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/jupyter_core/
Date: Fri, 17 Nov 2017 18:47:13
Message-Id: 1510944248.fac8a7b984debde0b11e98ab22c554cb13d4adef.soap@gentoo
1 commit: fac8a7b984debde0b11e98ab22c554cb13d4adef
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Nov 10 08:58:47 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 17 18:44:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac8a7b9
7
8 dev-python/jupyter_core: Version bump to 4.4.0
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/6163
12
13 dev-python/jupyter_core/Manifest | 1 +
14 dev-python/jupyter_core/jupyter_core-4.4.0.ebuild | 52 +++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/dev-python/jupyter_core/Manifest b/dev-python/jupyter_core/Manifest
18 index 64f4e981681..7600b4a5676 100644
19 --- a/dev-python/jupyter_core/Manifest
20 +++ b/dev-python/jupyter_core/Manifest
21 @@ -2,3 +2,4 @@ DIST jupyter_core-4.0.6.tar.gz 55060 SHA256 96a68a3b1d018ff7776270b26b7cb0cfd7a1
22 DIST jupyter_core-4.1.0.tar.gz 56500 SHA256 146af0679c33c56db4b85b785f3dacd933ffaca97e7d2d56ff577a5485c2bd13 SHA512 863c4611093e914d92ac268d26e546842132d398d30f78c8440830a426da2923912b7da484ca3282a3f737300af316a305b8417cd1c35acd4a0ff93de1309d39 WHIRLPOOL 80427965a8394f1e86e0fc9a456eb3396cf37ed6e3c4362acb5998121d7b02c3242c3405871a2c25b71394716af039211a994fdbac5e833cc55c7beeb6e29d4e
23 DIST jupyter_core-4.2.1.tar.gz 61794 SHA256 89c55399c8437f777197c2c82c1ff5639c7f71d4eb2f172a81afa120b68dc7b3 SHA512 775a1ddbf6f6cbd44bf924017832c4fa394c453c778639d4d58ca9a11d79574c5203858bd05683210c887ba469baae1290d1885a59833b129064a9c59345ad19 WHIRLPOOL b1797cd8884bf56f7c6d85123251572d18ee0a46bc5b3c8b6bbb97bcfa82b9f70b8b74aaba837293a11c714a5c0ecf99f0740c0d0e3d2250d4cd019533c21f00
24 DIST jupyter_core-4.3.0.tar.gz 57998 SHA256 a96b129e1641425bf057c3d46f4f44adce747a7d60107e8ad771045c36514d40 SHA512 8e84cae53e035e3a3d29fe3b64246ce75bed291165db4ae7fcad472e1f1523d740ac168cb97330844548f3df3d7d82cd833886c1b755761b93e01153500961b1 WHIRLPOOL 6a1237ad91a06d6a5ff8b50258344983d6933cf7b798345471b350ee3a6c87deecca2411d0a009e4d48795b9ba307cc78908d4248439a6ef6f37a07a54b923c3
25 +DIST jupyter_core-4.4.0.tar.gz 63613 SHA256 ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7 SHA512 387f7f98f640b85ff0a24f11e1beae5a851d7eb3ba4a423be028940cb018c0d0ddf42ae8a1c397e3e4cafa560d3a5385b39bb8794448c7c010be7f0ddcba8a9e WHIRLPOOL 9dead3ca5eff2bde1228cd4b52bb8d529304c3d70071a2dc2f1139c00273e1ee3b787b4366182ee5dc721beb58f1403758fc72a4dc0ac3bc7b9e6c5fb9f4a62b
26
27 diff --git a/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild b/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild
28 new file mode 100644
29 index 00000000000..a64ed0b484f
30 --- /dev/null
31 +++ b/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild
32 @@ -0,0 +1,52 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Core common functionality of Jupyter projects"
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 ~arm64 ~x86"
49 +IUSE="doc test"
50 +
51 +RDEPEND="
52 + dev-python/traitlets[${PYTHON_USEDEP}]
53 + "
54 +DEPEND="${RDEPEND}
55 + !!<dev-python/jupyter-1.0.0-r1
56 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
57 + test? (
58 + dev-python/pytest[${PYTHON_USEDEP}]
59 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
60 + >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}]
61 + )
62 + "
63 +
64 +python_prepare_all() {
65 + # Prevent un-needed download during build
66 + if use doc; then
67 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
68 + fi
69 +
70 + distutils-r1_python_prepare_all
71 +}
72 +
73 +python_compile_all() {
74 + if use doc; then
75 + emake -C docs html
76 + HTML_DOCS=( docs/_build/html/. )
77 + fi
78 +}
79 +
80 +python_test() {
81 + distutils_install_for_testing
82 + cd "${TEST_DIR}"/lib || die
83 + py.test jupyter_core || die
84 +}