commit: 9fbb6c322745d7684c0ff6cee95f28336798402f Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Sat May 30 09:22:21 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sat May 30 09:22:21 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fbb6c32
dev-python/pyfftw: Implement python_test() Package-Manager: portage-2.2.18 dev-python/pyfftw/ChangeLog | 3 +++ dev-python/pyfftw/pyfftw-9999.ebuild | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-python/pyfftw/ChangeLog b/dev-python/pyfftw/ChangeLog index 3c19f1e..abebe19 100644 --- a/dev-python/pyfftw/ChangeLog +++ b/dev-python/pyfftw/ChangeLog @@ -1,6 +1,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 30 May 2015; Marius Brehler <[email protected]> pyfftw-9999.ebuild: + Implement python_test() + *pyfftw-9999 (04 Feb 2015) *pyfftw-0.9.2 (04 Feb 2015) diff --git a/dev-python/pyfftw/pyfftw-9999.ebuild b/dev-python/pyfftw/pyfftw-9999.ebuild index 962cf05..ff5aea1 100644 --- a/dev-python/pyfftw/pyfftw-9999.ebuild +++ b/dev-python/pyfftw/pyfftw-9999.ebuild @@ -23,10 +23,18 @@ fi LICENSE="BSD" SLOT="0" +IUSE="test" RDEPEND=" >=dev-python/numpy-1.8.0[${PYTHON_USEDEP}] >=sci-libs/fftw-3.3.3 >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +python_test() { + distutils_install_for_testing + esetup.py test || die +}
