commit:     cfc31ee28f29e626d741d4273ce8f4f5a1f29b03
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov 29 12:25:45 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Nov 29 12:25:45 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cfc31ee2

dev-python/arrayfire-python: Add test phase

Package-Manager: portage-2.3.0

 dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild 
b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
index beae8f2..5ca9649 100644
--- a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
+++ b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
@@ -13,6 +13,7 @@ 
SRC_URI="https://github.com/arrayfire/arrayfire-python/archive/${PV}.tar.gz -> $
 
 LICENSE="BSD"
 SLOT="0"
+IUSE="test"
 KEYWORDS="~amd64"
 
 RDEPEND="
@@ -20,3 +21,7 @@ RDEPEND="
        <sci-libs/arrayfire-3.5.0
        "
 DEPEND="${RDEPEND}"
+
+python_test() {
+       ${EPYTHON} -m arrayfire.tests
+}

Reply via email to