blob: bb7f82b8b04516662c2622e3e91a7a7718d9d724 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
inherit bzr distutils
DESCRIPTION="general purpose python library for professional astronomers/astrophysicists"
HOMEPAGE="https://launchpad.net/astropysics"
SRC_URI=""
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
EBZR_REPO_URI="lp:astropysics"
DEPEND="doc? ( dev-python/sphinx )"
RDEPEND="dev-python/chaco
dev-python/matplotlib
dev-python/pyfits
dev-python/vo
sci-astronomy/sextractor
sci-visualization/mayavi
sci-libs/scipy"
RESTRICT_PYTHON_ABIS="3.*"
src_compile() {
distutils_src_compile
if use doc; then
cd docs
emake html || die
cd ..
fi
}
src_install() {
distutils_src_install
if use doc; then
cd docs/_build
insinto /usr/share/doc/${PF}
doins -r html || die
cd ../..
fi
}
|