commit: 162b33a823a201ca5d7888cb3ac14b367fa75f21
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Jan 28 19:11:31 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jan 28 19:11:31 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=162b33a8
sci-mathematics/giac: version bump, EAPI bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.../giac/{giac-1.1.0.ebuild => giac-1.6.0.ebuild} | 37 +++++++++++-----------
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/sci-mathematics/giac/giac-1.1.0.ebuild
b/sci-mathematics/giac/giac-1.6.0.ebuild
similarity index 74%
rename from sci-mathematics/giac/giac-1.1.0.ebuild
rename to sci-mathematics/giac/giac-1.6.0.ebuild
index 520a56151..c8d28b51a 100644
--- a/sci-mathematics/giac/giac-1.1.0.ebuild
+++ b/sci-mathematics/giac/giac-1.6.0.ebuild
@@ -1,27 +1,30 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="A free C++ CAS (Computer Algebra System) library and its
interfaces"
-HOMEPAGE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
-SRC_URI="http://www-fourier.ujf-grenoble.fr/~parisse/${PN}/${P}.tar.bz2"
-LICENSE="GPL-2"
+HOMEPAGE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
+SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/giac/${P}.tar.gz"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+
IUSE="doc examples fltk"
-AUTOTOOLS_IN_SOURCE_BUILD=true
-inherit autotools-utils flag-o-matic pax-utils
+inherit flag-o-matic pax-utils xdg
-RDEPEND=">=dev-libs/gmp-3
- >=sys-libs/readline-4.2
- fltk? ( >=x11-libs/fltk-1.1.9 )
- dev-libs/mpfr
- sci-libs/gsl
- >=sci-mathematics/pari-2.3
- >=dev-libs/ntl-5.2"
+RDEPEND="
+ >=dev-libs/gmp-3
+ >=sys-libs/readline-4.2
+ fltk? ( >=x11-libs/fltk-1.1.9 )
+ dev-libs/mpfr
+ sci-libs/gsl
+ >=sci-mathematics/pari-2.3
+ >=dev-libs/ntl-5.2
+"
+BDEPEND="dev-tex/hevea"
src_prepare(){
sed -e "s:\$(prefix)/share:\$(DESTDIR)\$(prefix)/share:g" \
@@ -32,6 +35,7 @@ src_prepare(){
if use !fltk; then
sed -e "s: gl2ps\.[chlo]*::g" -i src/Makefile.* || die
fi
+ default
}
src_configure(){
@@ -41,10 +45,7 @@ src_configure(){
append-lfs-flags
append-libs $(fltk-config --ldflags | sed -e
's/\(-L\S*\)\s.*/\1/') || die
fi
- local myeconfargs=(
- $(use_enable fltk gui)
- )
- autotools-utils_src_configure
+ econf $(use_enable fltk gui)
}
src_install() {