commit: 7ff8eab2a5e2c1a8ba2fd6719e30d65479ac957d
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Sep 27 22:33:32 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sun Sep 27 23:02:00 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7ff8eab2
dev-python/POT: enable passing tests
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-python/POT/POT-0.7.0.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-python/POT/POT-0.7.0.ebuild b/dev-python/POT/POT-0.7.0.ebuild
index 2a541527d..c5fa704f3 100644
--- a/dev-python/POT/POT-0.7.0.ebuild
+++ b/dev-python/POT/POT-0.7.0.ebuild
@@ -21,3 +21,9 @@ RDEPEND="${PYTHON_DEPS}
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ pytest -c /dev/null -vv || die "tests failed for ${EPYTHON}"
+}