diff options
Diffstat (limited to 'sci-visualization/pyxplot/pyxplot-0.9.2.ebuild')
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.9.2.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild b/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild index c466031bcfd4..bb0518e80bde 100644 --- a/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild +++ b/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild,v 1.1 2012/12/06 20:42:44 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.9.2.ebuild,v 1.2 2013/07/16 17:56:57 bicatali Exp $ -EAPI=4 +EAPI=5 -PYTHON_DEPEND="2" +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit multilib python +inherit multilib python-single-r1 DESCRIPTION="Gnuplot like graphing program publication-quality figures" HOMEPAGE="http://www.pyxplot.org.uk/" @@ -24,22 +24,16 @@ RDEPEND=" sci-libs/cfitsio sci-libs/fftw:3.0 sci-libs/gsl - sci-libs/scipy + sci-libs/scipy[${PYTHON_USEDEP}] virtual/latex-base || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" DEPEND="${RDEPEND} virtual/pkgconfig" -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - src_prepare() { sed \ -e "s:/usr/local:${EROOT}usr/:" \ -e "s:/lib/:/$(get_libdir)/:" \ - -e "s:\${USRDIR}/share/${PN}:${EPREFIX}/$(python_get_sitedir)/${PN}:" \ -e "s:/doc/${PN}:/doc/${PF}:" \ -i Makefile.skel || die "sed Makefile.skel failed" sed -i -e 's/-ltermcap//' configure || die |