Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/nbformat/
Date: Tue, 03 Jan 2017 10:33:52
Message-Id: 1483439498.5779aefce387c28ca612f150d079755e1c136bad.marbre@gentoo
1 commit: 5779aefce387c28ca612f150d079755e1c136bad
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Tue Jan 3 10:31:38 2017 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Tue Jan 3 10:31:38 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5779aefc
7
8 dev-python/nbformat: Bump to EAPI=6, fix deps and testing
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/nbformat/nbformat-9999.ebuild | 13 +++++++------
13 1 file changed, 7 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/nbformat/nbformat-9999.ebuild b/dev-python/nbformat/nbformat-9999.ebuild
16 index a823d00..aa36b64 100644
17 --- a/dev-python/nbformat/nbformat-9999.ebuild
18 +++ b/dev-python/nbformat/nbformat-9999.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 -EAPI=5
24 +EAPI=6
25
26 PYTHON_COMPAT=( python2_7 python3_{4,5} )
27 PYTHON_REQ_USE='sqlite'
28 @@ -18,9 +18,9 @@ SLOT="0"
29 IUSE="doc test"
30
31 RDEPEND="
32 - dev-python/jsonschema[${PYTHON_USEDEP}]
33 + >=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}]
34 dev-python/ipython_genutils[${PYTHON_USEDEP}]
35 - dev-python/traitlets[${PYTHON_USEDEP}]
36 + >=dev-python/traitlets-4.1[${PYTHON_USEDEP}]
37 dev-python/jupyter_core[${PYTHON_USEDEP}]
38 "
39 DEPEND="${RDEPEND}
40 @@ -29,8 +29,9 @@ DEPEND="${RDEPEND}
41 dev-python/numpydoc[${PYTHON_USEDEP}]
42 )
43 test? (
44 - dev-python/nose[${PYTHON_USEDEP}]
45 - dev-python/coverage[${PYTHON_USEDEP}]
46 + dev-python/testpath[${PYTHON_USEDEP}]
47 + dev-python/pytest[${PYTHON_USEDEP}]
48 + dev-python/pytest-cov[${PYTHON_USEDEP}]
49 )
50 "
51
52 @@ -50,7 +51,7 @@ python_compile_all() {
53 python_test() {
54 distutils_install_for_testing
55 cd "${TEST_DIR}"/lib || die
56 - nosetests --with-coverage --cover-package=nbformat nbformat || die
57 + py.test -v --cov nbformat nbformat || die
58 }
59
60 python_install_all() {