Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyfftw/
Date: Wed, 03 Jun 2015 10:21:41
Message-Id: 1432977741.9fbb6c322745d7684c0ff6cee95f28336798402f.jlec@gentoo
1 commit: 9fbb6c322745d7684c0ff6cee95f28336798402f
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat May 30 09:22:21 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 09:22:21 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fbb6c32
7
8 dev-python/pyfftw: Implement python_test()
9
10 Package-Manager: portage-2.2.18
11
12 dev-python/pyfftw/ChangeLog | 3 +++
13 dev-python/pyfftw/pyfftw-9999.ebuild | 10 +++++++++-
14 2 files changed, 12 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/pyfftw/ChangeLog b/dev-python/pyfftw/ChangeLog
17 index 3c19f1e..abebe19 100644
18 --- a/dev-python/pyfftw/ChangeLog
19 +++ b/dev-python/pyfftw/ChangeLog
20 @@ -1,6 +1,9 @@
21 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
22 # $Header: $
23
24 + 30 May 2015; Marius Brehler <marbre@××××××××××××××.de> pyfftw-9999.ebuild:
25 + Implement python_test()
26 +
27 *pyfftw-9999 (04 Feb 2015)
28 *pyfftw-0.9.2 (04 Feb 2015)
29
30
31 diff --git a/dev-python/pyfftw/pyfftw-9999.ebuild b/dev-python/pyfftw/pyfftw-9999.ebuild
32 index 962cf05..ff5aea1 100644
33 --- a/dev-python/pyfftw/pyfftw-9999.ebuild
34 +++ b/dev-python/pyfftw/pyfftw-9999.ebuild
35 @@ -23,10 +23,18 @@ fi
36
37 LICENSE="BSD"
38 SLOT="0"
39 +IUSE="test"
40
41 RDEPEND="
42 >=dev-python/numpy-1.8.0[${PYTHON_USEDEP}]
43 >=sci-libs/fftw-3.3.3
44 >=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
45 "
46 -DEPEND="${RDEPEND}"
47 +DEPEND="${RDEPEND}
48 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
49 + "
50 +
51 +python_test() {
52 + distutils_install_for_testing
53 + esetup.py test || die
54 +}