diff options
Diffstat (limited to 'sci-mathematics/mdp/mdp-2.4.ebuild')
-rw-r--r-- | sci-mathematics/mdp/mdp-2.4.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-mathematics/mdp/mdp-2.4.ebuild b/sci-mathematics/mdp/mdp-2.4.ebuild new file mode 100644 index 000000000..db15330be --- /dev/null +++ b/sci-mathematics/mdp/mdp-2.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils + +DESCRIPTION="A Python data processing framework." +HOMEPAGE="http://mdp-toolkit.sourceforge.net/index.html" + +MY_P="${P/mdp/MDP}" +MY_P="${MY_P/_rc/RC}" +S="${WORKDIR}/${MY_P}" + +SRC_URI="mirror://sourceforge/mdp-toolkit/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND="virtual/python + >=dev-lang/python-2.4 + ( >=dev-python/numpy-1.1 ) || ( >=sci-libs/scipy-0.5.2 )" +RDEPEND="${DEPEND}" + +src_test() { + PYTHONPATH="${S}/src" "${python}" -c "import mdp;mdp.test()" || die "tests failed" +} + |