From 0b318b8f934aa5afcb363cb569d92f5d6a725039 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 28 Jan 2020 21:59:23 +0100 Subject: sci-visualization/pyxplot: Permit scipy-python2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sci-visualization/pyxplot/pyxplot-0.9.2-r1.ebuild | 41 --------------------- sci-visualization/pyxplot/pyxplot-0.9.2-r2.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 44 insertions(+), 41 deletions(-) delete mode 100644 sci-visualization/pyxplot/pyxplot-0.9.2-r1.ebuild create mode 100644 sci-visualization/pyxplot/pyxplot-0.9.2-r2.ebuild (limited to 'sci-visualization/pyxplot') diff --git a/sci-visualization/pyxplot/pyxplot-0.9.2-r1.ebuild b/sci-visualization/pyxplot/pyxplot-0.9.2-r1.ebuild deleted file mode 100644 index 614513710085..000000000000 --- a/sci-visualization/pyxplot/pyxplot-0.9.2-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -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 - virtual/imagemagick-tools - ${PYTHON_DEPS}" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - sed \ - -e "s:/usr/local:${EPREFIX}/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 -} diff --git a/sci-visualization/pyxplot/pyxplot-0.9.2-r2.ebuild b/sci-visualization/pyxplot/pyxplot-0.9.2-r2.ebuild new file mode 100644 index 000000000000..7ecda5c36f0e --- /dev/null +++ b/sci-visualization/pyxplot/pyxplot-0.9.2-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +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-python2[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + ) + virtual/latex-base + virtual/imagemagick-tools + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed \ + -e "s:/usr/local:${EPREFIX}/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 +} -- cgit v1.2.3-65-gdbad