From 4cad04f268de3167424dc4aaa930d0ba10353306 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 29 Dec 2019 12:12:37 -0500 Subject: sci-mathematics/gp2c: update pari version requirement in new revision. The src_configure phase for gp2c needs the pari.cfg file that only newer versions of sci-mathematics/pari install. This was a pretty dumb mistake for me to make, considering that I recently updated pari precisely for this reason. Closes: https://bugs.gentoo.org/704104 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky --- sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild | 29 ++++++++++++++++++++++++++++ sci-mathematics/gp2c/gp2c-0.0.11.2.ebuild | 27 -------------------------- 2 files changed, 29 insertions(+), 27 deletions(-) create mode 100644 sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild delete mode 100644 sci-mathematics/gp2c/gp2c-0.0.11.2.ebuild (limited to 'sci-mathematics/gp2c') diff --git a/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild b/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild new file mode 100644 index 000000000000..51d76b1c279a --- /dev/null +++ b/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${PN}-"$(ver_rs 3 'pl') +DESCRIPTION="A GP to C translator" +HOMEPAGE="http://pari.math.u-bordeaux.fr/" +SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/GP2C/${MY_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +# Perl is run on the build host to compile the descriptions in desc/, +# see for example desc/Makefile.am. +BDEPEND="dev-lang/perl" + +# This is the first version of pari to put pari.cfg where we expect it. +DEPEND=">=sci-mathematics/pari-2.11.2" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure(){ + econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg" +} diff --git a/sci-mathematics/gp2c/gp2c-0.0.11.2.ebuild b/sci-mathematics/gp2c/gp2c-0.0.11.2.ebuild deleted file mode 100644 index d79631921fc5..000000000000 --- a/sci-mathematics/gp2c/gp2c-0.0.11.2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-"$(ver_rs 3 'pl') -DESCRIPTION="A GP to C translator" -HOMEPAGE="http://pari.math.u-bordeaux.fr/" -SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/GP2C/${MY_P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -# Perl is run on the build host to compile the descriptions in desc/, -# see for example desc/Makefile.am. -BDEPEND="dev-lang/perl" -DEPEND="sci-mathematics/pari" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_configure(){ - econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg" -} -- cgit v1.2.3-65-gdbad