Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/arrayfire-python/
Date: Tue, 29 Nov 2016 12:26:16
Message-Id: 1480422345.cfc31ee28f29e626d741d4273ce8f4f5a1f29b03.marbre@gentoo
1 commit: cfc31ee28f29e626d741d4273ce8f4f5a1f29b03
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Tue Nov 29 12:25:45 2016 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Tue Nov 29 12:25:45 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cfc31ee2
7
8 dev-python/arrayfire-python: Add test phase
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
16 index beae8f2..5ca9649 100644
17 --- a/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
18 +++ b/dev-python/arrayfire-python/arrayfire-python-3.4.20161126.ebuild
19 @@ -13,6 +13,7 @@ SRC_URI="https://github.com/arrayfire/arrayfire-python/archive/${PV}.tar.gz -> $
20
21 LICENSE="BSD"
22 SLOT="0"
23 +IUSE="test"
24 KEYWORDS="~amd64"
25
26 RDEPEND="
27 @@ -20,3 +21,7 @@ RDEPEND="
28 <sci-libs/arrayfire-3.5.0
29 "
30 DEPEND="${RDEPEND}"
31 +
32 +python_test() {
33 + ${EPYTHON} -m arrayfire.tests
34 +}