1 |
commit: 38edd4ed0651e80808006ec4b9c236f53518a8f7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 26 14:27:37 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 26 15:26:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38edd4ed |
7 |
|
8 |
dev-python/whelk: Enable tests |
9 |
|
10 |
dev-python/whelk/whelk-2.7.ebuild | 6 +++++- |
11 |
1 file changed, 5 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/dev-python/whelk/whelk-2.7.ebuild b/dev-python/whelk/whelk-2.7.ebuild |
14 |
index 71e95a04ed8..0344e53e72b 100644 |
15 |
--- a/dev-python/whelk/whelk-2.7.ebuild |
16 |
+++ b/dev-python/whelk/whelk-2.7.ebuild |
17 |
@@ -1,4 +1,4 @@ |
18 |
-# Copyright 1999-2016 Gentoo Foundation |
19 |
+# Copyright 1999-2017 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=6 |
23 |
@@ -18,3 +18,7 @@ IUSE="" |
24 |
|
25 |
DEPEND="" |
26 |
RDEPEND="${DEPEND}" |
27 |
+ |
28 |
+python_test() { |
29 |
+ "${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}" |
30 |
+} |