Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-gallery/
Date: Wed, 04 Jan 2017 06:02:58
Message-Id: 1483509724.0ef27c60ebc1d8b3103e943efe35e4173584682b.bicatali@gentoo
1 commit: 0ef27c60ebc1d8b3103e943efe35e4173584682b
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 02:42:04 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 4 06:02:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef27c60
7
8 dev-python/sphinx-gallery: fix nose depedency
9 And add basic testing.
10
11 Package-Manager: Portage-2.3.3, Repoman-2.3.1
12
13 ...inx-gallery-0.1.7.ebuild => sphinx-gallery-0.1.7-r1.ebuild} | 10 +++++++++-
14 1 file changed, 9 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.1.7.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.1.7-r1.ebuild
17 similarity index 69%
18 rename from dev-python/sphinx-gallery/sphinx-gallery-0.1.7.ebuild
19 rename to dev-python/sphinx-gallery/sphinx-gallery-0.1.7-r1.ebuild
20 index a1f4cb5..7f9ae30 100644
21 --- a/dev-python/sphinx-gallery/sphinx-gallery-0.1.7.ebuild
22 +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.1.7-r1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2016 Gentoo Foundation
25 +# Copyright 1999-2017 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 # $Id$
28
29 @@ -22,6 +22,14 @@ RDEPEND="
30 dev-python/pillow[${PYTHON_USEDEP}]
31 dev-python/sphinx[${PYTHON_USEDEP}]
32 "
33 +# yes nose is somehow required besides testing
34 DEPEND="
35 + dev-python/nose[${PYTHON_USEDEP}]
36 dev-python/setuptools[${PYTHON_USEDEP}]
37 "
38 +
39 +python_test() {
40 + echo 'backend: agg' > matplotlibrc
41 + VARTEXFONTS="${T}"/fonts MPLCONFIGDIR="${BUILD_DIR}" \
42 + nosetests -v || die
43 +}