Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
singular
Commits:
cfbbe648 by Antonio Rojas at 2024-08-01T19:36:55+02:00
upgpkg: 4.4.0.p3-1: Update to 4.4.0.p3
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − flint-3.1.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = singular
pkgdesc = Computer Algebra System for polynomial computations
- pkgver = 4.4.0.p2
+ pkgver = 4.4.0.p3
pkgrel = 1
url = https://www.singular.uni-kl.de/
arch = x86_64
@@ -24,7 +24,7 @@ pkgbase = singular
depends = readline
provides = singular-factory
options = !zipman
- source = git+https://github.com/Singular/Singular#tag=4.4.0p2
- sha256sums =
5391150ed828c4299bd290b216fc4d667856e1c50393584162dd496aed16e983
+ source =
https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/4-4-0/singular-4.4.0p3.tar.gz
+ sha256sums =
4798dddcc4cb51f1cba5114a5cb4783708b9ab4b7d5e9136cb264eb62190c706
pkgname = singular
=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
# Contributor: Rémy Oudompheng <[email protected]>
pkgname=singular
-_majver=4.4.0
-_patchver=p2
+_majver=4-4-0
+_patchver=p3
_pkgver=${_majver}${_patchver}
pkgver=${_majver//-/.}${_patchver/p/.p}
pkgrel=1
@@ -29,18 +29,19 @@ makedepends=(4ti2
texlive-bin
texlive-latex)
provides=(singular-factory)
-#source=(https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_pkgver//-/.}.tar.gz)
-source=(git+https://github.com/Singular/Singular#tag=$_pkgver)
-sha256sums=('5391150ed828c4299bd290b216fc4d667856e1c50393584162dd496aed16e983')
+source=(https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/$_majver/singular-${_pkgver//-/.}.tar.gz)
+#source=(git+https://github.com/Singular/Singular#tag=$_pkgver)
+sha256sums=('4798dddcc4cb51f1cba5114a5cb4783708b9ab4b7d5e9136cb264eb62190c706')
options=(!zipman)
+_srcdir=singular-${_majver//-/.}
prepare() {
- cd Singular
+ cd $_srcdir
./autogen.sh
}
build() {
- cd Singular
+ cd $_srcdir
./configure \
--prefix=/usr \
@@ -59,11 +60,11 @@ build() {
}
check() {
- cd Singular
+ cd $_srcdir
make check
}
package() {
- cd Singular
+ cd $_srcdir
make DESTDIR="$pkgdir" install
}
=====================================
flint-3.1.patch deleted
=====================================
@@ -1,28 +0,0 @@
-diff --git a/factory/cfModGcd.cc b/factory/cfModGcd.cc
-index 8388f8e5e..482f55898 100644
---- a/factory/cfModGcd.cc
-+++ b/factory/cfModGcd.cc
-@@ -1806,7 +1806,11 @@ gaussianElimFq (CFMatrix& M, CFArray& L, const
Variable& alpha)
- fq_nmod_mat_t FLINTN;
- convertFacCFMatrix2Fq_nmod_mat_t (FLINTN, ctx, *N);
- // rank
-+ #if __FLINT_RELEASE >= 30100
-+ long rk= fq_nmod_mat_rref (FLINTN,FLINTN,ctx);
-+ #else
- long rk= fq_nmod_mat_rref (FLINTN,ctx);
-+ #endif
- // clean up
- fq_nmod_mat_clear (FLINTN,ctx);
- fq_nmod_ctx_clear(ctx);
-@@ -1912,7 +1916,11 @@ solveSystemFq (const CFMatrix& M, const CFArray& L,
const Variable& alpha)
- fq_nmod_mat_t FLINTN;
- convertFacCFMatrix2Fq_nmod_mat_t (FLINTN, ctx, *N);
- // rank
-+ #if __FLINT_RELEASE >= 30100
-+ long rk= fq_nmod_mat_rref (FLINTN,FLINTN,ctx);
-+ #else
- long rk= fq_nmod_mat_rref (FLINTN,ctx);
-+ #endif
- #elif defined(HAVE_NTL)
- int p= getCharacteristic ();
- if (fac_NTL_char != p)
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/commit/cfbbe64897e3014c8662a5a7bc9cfbcf4f4ea5b4
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/commit/cfbbe64897e3014c8662a5a7bc9cfbcf4f4ea5b4
You're receiving this email because of your account on gitlab.archlinux.org.