summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-01-26 22:49:47 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-01-26 22:49:47 +0000
commit9d0bee5c389d8e50946d20ee3b9d6f6c6f81149e (patch)
treec1cd5c820141ae111383664dece882b61c760bb3 /sci-visualization/pyxplot/pyxplot-0.8.4.ebuild
parentadd ~ppc wrt #348984 (diff)
downloadgentoo-2-9d0bee5c389d8e50946d20ee3b9d6f6c6f81149e.tar.gz
gentoo-2-9d0bee5c389d8e50946d20ee3b9d6f6c6f81149e.tar.bz2
gentoo-2-9d0bee5c389d8e50946d20ee3b9d6f6c6f81149e.zip
Version bump
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/pyxplot/pyxplot-0.8.4.ebuild')
-rw-r--r--sci-visualization/pyxplot/pyxplot-0.8.4.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-visualization/pyxplot/pyxplot-0.8.4.ebuild b/sci-visualization/pyxplot/pyxplot-0.8.4.ebuild
new file mode 100644
index 000000000000..d369c5032957
--- /dev/null
+++ b/sci-visualization/pyxplot/pyxplot-0.8.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.8.4.ebuild,v 1.1 2011/01/26 22:49:47 bicatali Exp $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+
+inherit eutils python
+
+DESCRIPTION="Gnuplot like graphing program publication-quality figures"
+HOMEPAGE="http://www.pyxplot.org.uk/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/latex-base
+ sci-libs/cfitsio
+ sci-libs/fftw:3.0
+ >=sci-libs/gsl-1.10
+ sci-libs/scipy
+ media-libs/libpng
+ dev-libs/libxml2
+ app-text/gv
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e 's:/local:/:' \
+ -e "s:/lib/:/$(get_libdir)/:" \
+ -e "s:\${USRDIR}/share/${PN}:/$(python_get_sitedir)/${PN}:" \
+ -e "s:/doc/${PN}:/doc/${PF}:" \
+ Makefile.skel || die "sed Makefile.skel failed"
+ sed -i -e 's/-ltermcap//' configure
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS ChangeLog
+}