[arch-commits] Commit in giac/repos/community-x86_64 (4 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Jan 6 20:02:11 UTC 2022


    Date: Thursday, January 6, 2022 @ 20:02:11
  Author: arojas
Revision: 1094847

archrelease: copy trunk to community-x86_64

Added:
  giac/repos/community-x86_64/PKGBUILD
    (from rev 1094846, giac/trunk/PKGBUILD)
  giac/repos/community-x86_64/giac-test-pari-2.11.patch
    (from rev 1094846, giac/trunk/giac-test-pari-2.11.patch)
Deleted:
  giac/repos/community-x86_64/PKGBUILD
  giac/repos/community-x86_64/giac-test-pari-2.11.patch

---------------------------+
 PKGBUILD                  |   84 ++++++++++++++++++++++----------------------
 giac-test-pari-2.11.patch |   34 ++++++++---------
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-06 20:01:58 UTC (rev 1094846)
+++ PKGBUILD	2022-01-06 20:02:11 UTC (rev 1094847)
@@ -1,42 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=giac
-_pkgver=1.7.0-43
-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)
-depends=(fltk mpfi gsl pari ntl lapack 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)
-sha256sums=('85f724270c813ae26d665fe2c1b42c271a6d29ecfb75f038efb16e1d0d284a7f'
-            'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624')
-
-prepare() {
-  cd $pkgname-${pkgver%.*}
-  patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
-}
-
-build() {
-  cd $pkgname-${pkgver%.*}
-  CXXFLAGS+=" -std=c++14" # workaround build with GCC 11
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd $pkgname-${pkgver%.*}
-
-  make check
-}
-
-package() {
-  cd $pkgbase-${pkgver%.*}
-  make DESTDIR="$pkgdir" install
-}

Copied: giac/repos/community-x86_64/PKGBUILD (from rev 1094846, giac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-06 20:02:11 UTC (rev 1094847)
@@ -0,0 +1,42 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=giac
+_pkgver=1.7.0-45
+pkgver=${_pkgver//-/.}
+pkgrel=1
+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 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)
+sha256sums=('028b9e323d81a261a243c0768d5e12f3d76371eff05fd24cf2eb177b445f1da6'
+            'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624')
+
+prepare() {
+  cd $pkgname-${pkgver%.*}
+  patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
+}
+
+build() {
+  cd $pkgname-${pkgver%.*}
+  CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" # Fix crashes
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-${pkgver%.*}
+
+  make check
+}
+
+package() {
+  cd $pkgbase-${pkgver%.*}
+  make DESTDIR="$pkgdir" install
+}

Deleted: giac-test-pari-2.11.patch
===================================================================
--- giac-test-pari-2.11.patch	2022-01-06 20:01:58 UTC (rev 1094846)
+++ giac-test-pari-2.11.patch	2022-01-06 20:02:11 UTC (rev 1094847)
@@ -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 1094846, giac/trunk/giac-test-pari-2.11.patch)
===================================================================
--- giac-test-pari-2.11.patch	                        (rev 0)
+++ giac-test-pari-2.11.patch	2022-01-06 20:02:11 UTC (rev 1094847)
@@ -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