Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/matplotlib-venn/
Date: Fri, 23 Dec 2016 09:49:03
Message-Id: 1482403265.27cf8577e55d9b235071de97070ea60db12c5a28.jlec@gentoo
1 commit: 27cf8577e55d9b235071de97070ea60db12c5a28
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Thu Dec 22 10:41:05 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 22 10:41:05 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=27cf8577
7
8 dev-python/matplotlib-venn: enabled test phase (#710)
9
10 Package-Manager: portage-2.3.3
11
12 .../matplotlib-venn/matplotlib-venn-0.11.ebuild | 19 +++++++++++++------
13 1 file changed, 13 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/matplotlib-venn/matplotlib-venn-0.11.ebuild b/dev-python/matplotlib-venn/matplotlib-venn-0.11.ebuild
16 index bdb4ed2..272e5d2 100644
17 --- a/dev-python/matplotlib-venn/matplotlib-venn-0.11.ebuild
18 +++ b/dev-python/matplotlib-venn/matplotlib-venn-0.11.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 -EAPI="5"
26 +EAPI=6
27
28 -PYTHON_COMPAT=( python2_7 )
29 +PYTHON_COMPAT=( python2_7 python3_4 python3_5)
30
31 inherit distutils-r1
32
33 @@ -15,10 +15,17 @@ SRC_URI="mirror://pypi/m/${PN}/${P}.zip"
34 LICENSE="MIT"
35 SLOT="0"
36 KEYWORDS="~amd64"
37 -IUSE=""
38 +IUSE="test"
39
40 RDEPEND="
41 dev-python/matplotlib[${PYTHON_USEDEP}]
42 dev-python/numpy[${PYTHON_USEDEP}]
43 - sci-libs/scipy[${PYTHON_USEDEP}]"
44 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
45 + sci-libs/scipy[${PYTHON_USEDEP}]
46 + "
47 +DEPEND="
48 + dev-python/setuptools[${PYTHON_USEDEP}]
49 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
50 +
51 +python_test() {
52 + py.test --verbose || die
53 +}