summaryrefslogtreecommitdiff
blob: 53de8e4c48bd2e5fe929b759ff3b6b76ab7b4c7e (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.0-r1.ebuild,v 1.1 2007/11/09 12:26:05 bicatali Exp $

inherit distutils

DESCRIPTION="Qt based scientific plotting package with good Postscript output."
HOMEPAGE="http://home.gna.org/veusz/"
SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"

IUSE="doc examples fits"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"

DEPEND="dev-python/numpy"

RDEPEND="${DEPEND}
	>=dev-python/PyQt4-4.3
	fits? ( >=dev-python/pyfits-1.1 )"

src_install() {
	distutils_src_install
	insinto /usr/share/doc/${PF}
	if use doc; then
		doins -r examples || die "examples install failed"
	fi
	if use doc; then
		cd Documents
		doins -r Interface.txt manual.html manimages manual.pdf || die "doc install failed"
	fi
}