diff options
Diffstat (limited to 'sci-mathematics/mdp/mdp-2.3.ebuild')
-rw-r--r-- | sci-mathematics/mdp/mdp-2.3.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-mathematics/mdp/mdp-2.3.ebuild b/sci-mathematics/mdp/mdp-2.3.ebuild new file mode 100644 index 000000000..016b46b51 --- /dev/null +++ b/sci-mathematics/mdp/mdp-2.3.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="~amd64" +IUSE="" +DEPEND="virtual/python + >=dev-lang/python-2.4 + >=dev-python/numpy-0.9.8" +RDEPEND="${DEPEND}" + +src_test() { + PYTHONPATH="${S}/src" "${python}" -c "import mdp;mdp.test()" || die "tests failed" +} + |