Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/POT/
Date: Sun, 27 Sep 2020 23:02:15
Message-Id: 1601247720.7ff8eab2a5e2c1a8ba2fd6719e30d65479ac957d.epsilon-0@gentoo
1 commit: 7ff8eab2a5e2c1a8ba2fd6719e30d65479ac957d
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sun Sep 27 22:33:32 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sun Sep 27 23:02:00 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7ff8eab2
7
8 dev-python/POT: enable passing tests
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 dev-python/POT/POT-0.7.0.ebuild | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/dev-python/POT/POT-0.7.0.ebuild b/dev-python/POT/POT-0.7.0.ebuild
17 index 2a541527d..c5fa704f3 100644
18 --- a/dev-python/POT/POT-0.7.0.ebuild
19 +++ b/dev-python/POT/POT-0.7.0.ebuild
20 @@ -21,3 +21,9 @@ RDEPEND="${PYTHON_DEPS}
21 dev-python/numpy[${PYTHON_USEDEP}]
22 "
23 DEPEND="${RDEPEND}"
24 +
25 +distutils_enable_tests pytest
26 +
27 +python_test() {
28 + pytest -c /dev/null -vv || die "tests failed for ${EPYTHON}"
29 +}