diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2012-05-10 11:23:11 -0500 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2012-05-10 11:23:11 -0500 |
commit | 0758089f42a1ab82d3191f6dc1898ba0e361e8e7 (patch) | |
tree | fab681b60ecb0888562c1870601e7a30326a3bec /sci-mathematics/mlpy/mlpy-3.5.0.ebuild | |
parent | scribus: 1.4 was merged to portage, delete outdated stuff. (diff) | |
download | dberkholz-0758089f42a1ab82d3191f6dc1898ba0e361e8e7.tar.gz dberkholz-0758089f42a1ab82d3191f6dc1898ba0e361e8e7.tar.bz2 dberkholz-0758089f42a1ab82d3191f6dc1898ba0e361e8e7.zip |
mlpy: bump to 3.5.0
Diffstat (limited to 'sci-mathematics/mlpy/mlpy-3.5.0.ebuild')
-rw-r--r-- | sci-mathematics/mlpy/mlpy-3.5.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-mathematics/mlpy/mlpy-3.5.0.ebuild b/sci-mathematics/mlpy/mlpy-3.5.0.ebuild new file mode 100644 index 0000000..c5daf07 --- /dev/null +++ b/sci-mathematics/mlpy/mlpy-3.5.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit distutils + +DESCRIPTION="Machine Learning PYthon (mlpy) is a high-performance Python library for predictive modeling" +HOMEPAGE="https://mlpy.fbk.eu/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" +RDEPEND=">=sci-libs/gsl-1.11 + >=dev-python/numpy-1.3 + >=sci-libs/scipy-0.7 + >=dev-lang/python-2.6" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +src_install() { + distutils_src_install + if use doc; then + pushd docs 2>/dev/null || die + emake html || die + dohtml -r build/html/* + popd 2>/dev/null || die + fi +} |