Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/metakernel/
Date: Sun, 26 Feb 2017 02:24:09
Message-Id: 1488075795.cac6fd3b9d5c2b9530843786a30c0ac2a44bf5ef.heroxbd@gentoo
1 commit: cac6fd3b9d5c2b9530843786a30c0ac2a44bf5ef
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 02:23:15 2017 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 02:23:15 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cac6fd3b
7
8 dev-python/metakernel: version bump to 0.18.4.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/metakernel/metakernel-0.18.4.ebuild | 37 ++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-python/metakernel/metakernel-0.18.4.ebuild b/dev-python/metakernel/metakernel-0.18.4.ebuild
16 new file mode 100644
17 index 000000000..a26ef5a06
18 --- /dev/null
19 +++ b/dev-python/metakernel/metakernel-0.18.4.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
27 +
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Metakernel for Jupyter"
31 +HOMEPAGE="https://github.com/Calysto/metakernel"
32 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
33 +KEYWORDS="~amd64"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +IUSE="test"
38 +
39 +RDEPEND="
40 + >=dev-python/ipython-3.0[${PYTHON_USEDEP}]
41 + "
42 +DEPEND="${RDEPEND}
43 + test? (
44 + dev-python/nose[${PYTHON_USEDEP}]
45 + dev-python/coverage[${PYTHON_USEDEP}]
46 + >=dev-python/metakernel_python-0.11.3[${PYTHON_USEDEP}]
47 + )
48 +"
49 +
50 +# tests currently fail and the dying/stopping of ipcluster needs to be fixed
51 +RESTRICT="test"
52 +
53 +python_test() {
54 + ipcluster start -n=3 &
55 + nosetests --with-doctest --with-coverage --cover-package metakernel || die
56 + ipcluster stop
57 +}