blob: b2ad448a716635580cbcb3e312799a41bb2d28c0 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnuplot-py/gnuplot-py-1.8.ebuild,v 1.3 2008/12/07 19:28:53 vapier Exp $
inherit distutils eutils
DESCRIPTION="A python wrapper for Gnuplot"
HOMEPAGE="http://gnuplot-py.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
IUSE="doc"
DEPEND="virtual/python
dev-python/numpy"
RDEPEND="sci-visualization/gnuplot
${DEPEND}"
PYTHON_MODNAME="Gnuplot"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-1.7-mousesupport.patch"
}
src_install() {
distutils_src_install
dodoc {ANNOUNCE,CREDITS,NEWS,TODO,FAQ}.txt
if use doc; then
insinto /usr/share/doc/${PF}/html
doins -r doc/Gnuplot/* || die "doc install failed"
fi
}
|