Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/venusian/
Date: Wed, 26 Apr 2017 16:34:23
Message-Id: 1493224439.7c9883a1c9b4b792309db5a39a10d7b2aea25af5.mgorny@gentoo
1 commit: 7c9883a1c9b4b792309db5a39a10d7b2aea25af5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 26 15:53:52 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 26 16:33:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9883a1
7
8 dev-python/venusian: Fix running tests
9
10 Use 'setup.py nosetests' to run tests, as defined in tox.ini. This
11 solves the problem of nosetests attempting to import files that fail to
12 import by design.
13
14 dev-python/venusian/venusian-1.0.ebuild | 7 +++----
15 1 file changed, 3 insertions(+), 4 deletions(-)
16
17 diff --git a/dev-python/venusian/venusian-1.0.ebuild b/dev-python/venusian/venusian-1.0.ebuild
18 index c4743288016..512b8aec472 100644
19 --- a/dev-python/venusian/venusian-1.0.ebuild
20 +++ b/dev-python/venusian/venusian-1.0.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 +# Copyright 1999-2017 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=5
27 @@ -22,9 +22,8 @@ RDEPEND="
28 DEPEND="${RDEPEND}
29 dev-python/setuptools[${PYTHON_USEDEP}]
30 test? ( dev-python/nose[${PYTHON_USEDEP}]
31 - >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )
32 - "
33 + >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )"
34
35 python_test() {
36 - nosetests || die "Tests fail with ${EPYTHON}"
37 + esetup.py nosetests
38 }