mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-01 16:07:04 -08:00
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
41 lines
937 B
Bash
41 lines
937 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit multilib python-single-r1
|
|
|
|
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 ~amd64-linux ~x86-linux"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
app-text/gv
|
|
dev-libs/libxml2:2
|
|
media-libs/libpng:0
|
|
sci-libs/cfitsio
|
|
sci-libs/fftw:3.0
|
|
sci-libs/gsl
|
|
sci-libs/scipy[${PYTHON_USEDEP}]
|
|
virtual/latex-base
|
|
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
sed \
|
|
-e "s:/usr/local:${EROOT}usr/:" \
|
|
-e "s:/lib/:/$(get_libdir)/:" \
|
|
-e "s:/doc/${PN}:/doc/${PF}:" \
|
|
-i Makefile.skel || die "sed Makefile.skel failed"
|
|
sed -i -e 's/-ltermcap//' configure || die
|
|
}
|