blob: 1ab2093cb732864b4c9582514612da0a72d1e0f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mlpy/mlpy-3.5.0.ebuild,v 1.2 2012/12/06 20:36:31 bicatali Exp $
EAPI=4
inherit distutils
DESCRIPTION="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 ~x86 ~amd64-linux ~x86-linux"
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
}
|