[arch-commits] Commit in giac/repos/community-x86_64 (6 files)
Antonio Rojas
arojas at archlinux.org
Sun May 2 21:33:59 UTC 2021
Date: Sunday, May 2, 2021 @ 21:33:59
Author: arojas
Revision: 926276
archrelease: copy trunk to community-x86_64
Added:
giac/repos/community-x86_64/PKGBUILD
(from rev 926275, giac/trunk/PKGBUILD)
giac/repos/community-x86_64/giac-evalb.patch
(from rev 926275, giac/trunk/giac-evalb.patch)
giac/repos/community-x86_64/giac-test-pari-2.11.patch
(from rev 926275, giac/trunk/giac-test-pari-2.11.patch)
Deleted:
giac/repos/community-x86_64/PKGBUILD
giac/repos/community-x86_64/giac-evalb.patch
giac/repos/community-x86_64/giac-test-pari-2.11.patch
---------------------------+
PKGBUILD | 105 ++++++++++++++++++--------------------------
giac-evalb.patch | 22 ++++-----
giac-test-pari-2.11.patch | 34 +++++++-------
3 files changed, 73 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-02 21:33:42 UTC (rev 926275)
+++ PKGBUILD 2021-05-02 21:33:59 UTC (rev 926276)
@@ -1,60 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgbase=giac
-pkgname=(xcas libgiac)
-_pkgver=1.7.0-3
-pkgver=${_pkgver//-/.}
-pkgrel=2
-pkgdesc="A free computer algebra system"
-arch=(x86_64)
-url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
-license=(GPL3)
-makedepends=(python mpfi gsl pari ntl lapack libpng libjpeg fltk texlive-core texlive-science hevea glpk libao gmp-ecm nauty libsamplerate)
-source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz
- giac-test-pari-2.11.patch
- giac-evalb.patch)
-sha256sums=('181fec9db622571bb568d5c254aeaab29fe5c6310a4f3af5a207e7392f9171f0'
- 'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624'
- '1c20d955192183f2b248c327b2270369dea2961a80b5cdca09083228920c7a07')
-
-prepare() {
- cd $pkgbase-${pkgver%.*}
- patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
- patch -p1 < ../giac-evalb.patch # Fix evalb
-}
-
-build() {
- cd $pkgbase-${pkgver%.*}
-
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd $pkgbase-${pkgver%.*}
-
- make check
-}
-
-package_xcas() {
- depends=(libgiac fltk)
- optdepends=('perl: for pgiac')
- conflicts=(giac)
- provides=(giac)
- replaces=(giac)
-
- cd $pkgbase-${pkgver%.*}
- make DESTDIR="$pkgdir" install
-
- rm -r "$pkgdir"/usr/{lib,include}
-}
-
-package_libgiac() {
- pkgdesc="Giac shared library"
- depends=(mpfi gsl pari ntl lapack libpng curl glpk libao gmp-ecm libsamplerate)
-
- cd $pkgbase-${pkgver%.*}
- make DESTDIR="$pkgdir" install
-
- rm -r "$pkgdir"/usr/{bin,share}
-}
Copied: giac/repos/community-x86_64/PKGBUILD (from rev 926275, giac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-02 21:33:59 UTC (rev 926276)
@@ -0,0 +1,45 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=giac
+_pkgver=1.7.0-3
+pkgver=${_pkgver//-/.}
+pkgrel=3
+pkgdesc='A free computer algebra system'
+arch=(x86_64)
+url='http://www-fourier.ujf-grenoble.fr/~parisse/giac.html'
+license=(GPL3)
+depends=(fltk mpfi gsl pari ntl lapack libpng curl glpk libao gmp-ecm libsamplerate)
+makedepends=(python libjpeg texlive-core texlive-science hevea nauty)
+optdepends=('perl: for pgiac')
+replaces=(libgiac xcas)
+provides=(libgiac xcas)
+source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz
+ giac-test-pari-2.11.patch
+ giac-evalb.patch)
+sha256sums=('181fec9db622571bb568d5c254aeaab29fe5c6310a4f3af5a207e7392f9171f0'
+ 'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624'
+ '1c20d955192183f2b248c327b2270369dea2961a80b5cdca09083228920c7a07')
+
+prepare() {
+ cd $pkgname-${pkgver%.*}
+ patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
+ patch -p1 < ../giac-evalb.patch # Fix evalb
+}
+
+build() {
+ cd $pkgname-${pkgver%.*}
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-${pkgver%.*}
+
+ make check
+}
+
+package() {
+ cd $pkgbase-${pkgver%.*}
+ make DESTDIR="$pkgdir" install
+}
Deleted: giac-evalb.patch
===================================================================
--- giac-evalb.patch 2021-05-02 21:33:42 UTC (rev 926275)
+++ giac-evalb.patch 2021-05-02 21:33:59 UTC (rev 926276)
@@ -1,11 +0,0 @@
-Index: trunk/geogebra/giac/src/giac/cpp/subst.cc
-===================================================================
---- a/src/subst.cc
-+++ b/src/subst.cc
-@@ -3277,4 +3277,6 @@
- }
- gen invfracpow(const gen & e,GIAC_CONTEXT){
-+ if (e.is_symb_of_sommet(at_same))
-+ return symbolic(at_same,makesequence(invfracpow(e._SYMBptr->feuille[0],contextptr),invfracpow(e._SYMBptr->feuille[1],contextptr)));
- vector< gen_op_context > invfracpow_v(1,do_invfracpow);
- vector<const unary_function_ptr *> inv_v(1,at_inv);
Copied: giac/repos/community-x86_64/giac-evalb.patch (from rev 926275, giac/trunk/giac-evalb.patch)
===================================================================
--- giac-evalb.patch (rev 0)
+++ giac-evalb.patch 2021-05-02 21:33:59 UTC (rev 926276)
@@ -0,0 +1,11 @@
+Index: trunk/geogebra/giac/src/giac/cpp/subst.cc
+===================================================================
+--- a/src/subst.cc
++++ b/src/subst.cc
+@@ -3277,4 +3277,6 @@
+ }
+ gen invfracpow(const gen & e,GIAC_CONTEXT){
++ if (e.is_symb_of_sommet(at_same))
++ return symbolic(at_same,makesequence(invfracpow(e._SYMBptr->feuille[0],contextptr),invfracpow(e._SYMBptr->feuille[1],contextptr)));
+ vector< gen_op_context > invfracpow_v(1,do_invfracpow);
+ vector<const unary_function_ptr *> inv_v(1,at_inv);
Deleted: giac-test-pari-2.11.patch
===================================================================
--- giac-test-pari-2.11.patch 2021-05-02 21:33:42 UTC (rev 926275)
+++ giac-test-pari-2.11.patch 2021-05-02 21:33:59 UTC (rev 926276)
@@ -1,17 +0,0 @@
-Change test output for PARI 2.11
-
-See https://trac.sagemath.org/ticket/25567
-and https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102
-
-diff -ru a/check/TP11-sol.cas.out1 b/check/TP11-sol.cas.out1
---- a/check/TP11-sol.cas.out1 2014-10-21 10:51:48.000000000 +0200
-+++ b/check/TP11-sol.cas.out1 2018-08-07 17:04:12.528052773 +0200
-@@ -10,7 +10,7 @@
- 1073741824000000000000000000061203284109000000000000000000000000008409,
- 2^3*3*389*733*156904374622257604823879982847602392900751802349981470895277241,
- "Done",
--matrix[[2,7,1],[3,2,1],[389,2,1],[733,2,1],[156904374622257604823879982847602392900751802349981470895277241,2,matrix[[2,13,1],[3,3,1],[5,2,1],[7,2,1],[56467,2,1],[6553084925887974620811527,2,matrix[[2,5,1],[19,2,1],[71,2,1],[126823,2,1]]]]]],
-+1,
- 0,
- [],
- 1,
Copied: giac/repos/community-x86_64/giac-test-pari-2.11.patch (from rev 926275, giac/trunk/giac-test-pari-2.11.patch)
===================================================================
--- giac-test-pari-2.11.patch (rev 0)
+++ giac-test-pari-2.11.patch 2021-05-02 21:33:59 UTC (rev 926276)
@@ -0,0 +1,17 @@
+Change test output for PARI 2.11
+
+See https://trac.sagemath.org/ticket/25567
+and https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102
+
+diff -ru a/check/TP11-sol.cas.out1 b/check/TP11-sol.cas.out1
+--- a/check/TP11-sol.cas.out1 2014-10-21 10:51:48.000000000 +0200
++++ b/check/TP11-sol.cas.out1 2018-08-07 17:04:12.528052773 +0200
+@@ -10,7 +10,7 @@
+ 1073741824000000000000000000061203284109000000000000000000000000008409,
+ 2^3*3*389*733*156904374622257604823879982847602392900751802349981470895277241,
+ "Done",
+-matrix[[2,7,1],[3,2,1],[389,2,1],[733,2,1],[156904374622257604823879982847602392900751802349981470895277241,2,matrix[[2,13,1],[3,3,1],[5,2,1],[7,2,1],[56467,2,1],[6553084925887974620811527,2,matrix[[2,5,1],[19,2,1],[71,2,1],[126823,2,1]]]]]],
++1,
+ 0,
+ [],
+ 1,
More information about the arch-commits
mailing list