From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] singular: update to 4.4.0.
Date: Sun, 21 Apr 2024 21:32:20 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49966@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages singular
https://github.com/void-linux/void-packages/pull/49966
singular: update to 4.4.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
This needed bumping sagemath, so its testsuite is fully run here for a good test that singular works fine for us. One test fails due to the update of scipy to 1.13, so I added an easy fix (backported, already merged upstream).
@dkwo may want to test on aarch64.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/49966.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-singular-49966.patch --]
[-- Type: text/x-diff, Size: 4332 bytes --]
From ebfa6fdb77a648a95cc029302fe0bbd856d636e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 21 Apr 2024 14:50:37 -0300
Subject: [PATCH 1/2] singular: update to 4.4.0.
---
common/shlibs | 8 ++++----
srcpkgs/singular/template | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index c4a876216d6397..d3c889a0783a69 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4038,10 +4038,10 @@ libecl.so.23.9 ecl-23.9.9_1
libecm.so.1 ecm-7.0.4_3
libcliquer.so.1 cliquer-1.22_1
libomalloc-0.9.6.so singular-4.2.1_1
-libSingular-4.3.2.so singular-4.3.2_1
-libfactory-4.3.2.so singular-4.3.2_1
-libpolys-4.3.2.so singular-4.3.2_1
-libsingular_resources-4.3.2.so singular-4.3.2_1
+libSingular-4.4.0.so singular-4.4.0_1
+libfactory-4.4.0.so singular-4.4.0_1
+libpolys-4.4.0.so singular-4.4.0_1
+libsingular_resources-4.4.0.so singular-4.4.0_1
libbrial.so.3 brial-1.2.10_1
libbrial_groebner.so.3 brial-1.2.10_1
libm4ri-0.0.20200125.so m4ri-20200125_1
diff --git a/srcpkgs/singular/template b/srcpkgs/singular/template
index 819ee81cb82801..aa4899c7bdaab9 100644
--- a/srcpkgs/singular/template
+++ b/srcpkgs/singular/template
@@ -1,6 +1,6 @@
# Template file for 'singular'
pkgname=singular
-version=4.3.2p16
+version=4.4.0
revision=1
_majver=${version%p*}
build_style=gnu-configure
@@ -20,7 +20,7 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="GPL-2.0-or-later"
homepage="https://www.singular.uni-kl.de"
distfiles="https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${_majver//./-}/singular-${version}.tar.gz"
-checksum=675733ba13a6ec67c564e753139f7c0c4b0d3e29bdb995de5341b616f1472a16
+checksum=c269abbd24c84fe33edc0af1e78b8fec53d8e94338410ac06c2666cfd40d43f2
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" ntl-devel"
From e678ec4e1865f9e4958b180865f20ec01661bdfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 21 Apr 2024 14:51:04 -0300
Subject: [PATCH 2/2] sagemath: revbump for singular
---
srcpkgs/sagemath/patches/37763-scipy_1.13.patch | 13 +++++++++++++
srcpkgs/sagemath/patches/get_patches | 1 +
srcpkgs/sagemath/template | 2 +-
3 files changed, 15 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/sagemath/patches/37763-scipy_1.13.patch
diff --git a/srcpkgs/sagemath/patches/37763-scipy_1.13.patch b/srcpkgs/sagemath/patches/37763-scipy_1.13.patch
new file mode 100644
index 00000000000000..219c6bdc323f7e
--- /dev/null
+++ b/srcpkgs/sagemath/patches/37763-scipy_1.13.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sage/matrix/matrix_double_dense.pyx b/src/sage/matrix/matrix_double_dense.pyx
+index 6877a924de2..a01defad999 100644
+--- a/src/sage/matrix/matrix_double_dense.pyx
++++ b/src/sage/matrix/matrix_double_dense.pyx
+@@ -3683,7 +3683,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense):
+ sage: A = matrix(CDF, 2, [1,2+I,3*I,4]); A # needs sage.symbolic
+ [ 1.0 2.0 + 1.0*I]
+ [ 3.0*I 4.0]
+- sage: A.exp() # tol 1.1e-14 # needs sage.symbolic
++ sage: A.exp() # tol 3e-14 # needs sage.symbolic
+ [-19.614602953804912 + 12.517743846762578*I 3.7949636449582176 + 28.88379930658099*I]
+ [ -32.383580980922254 + 21.88423595789845*I 2.269633004093535 + 44.901324827684824*I]
+
diff --git a/srcpkgs/sagemath/patches/get_patches b/srcpkgs/sagemath/patches/get_patches
index 77afead3fc913d..56057bbd4a397b 100755
--- a/srcpkgs/sagemath/patches/get_patches
+++ b/srcpkgs/sagemath/patches/get_patches
@@ -22,3 +22,4 @@ cd $(dirname "$0")
# needs review
get_pr 37492 "singular 4.3.2p16"
+get_pr 37763 "scipy 1.13"
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index 22faf78921c5f4..8b4bf7dfa441bb 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -1,7 +1,7 @@
# Template file for 'sagemath'
pkgname=sagemath
version=10.3
-revision=1
+revision=2
build_wrksrc=pkgs/sagemath-standard
build_style=python3-pep517
make_build_args="--skip-dependency-check"
next reply other threads:[~2024-04-21 19:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-21 19:32 tornaria [this message]
2024-04-23 14:17 ` dkwo
2024-04-23 14:35 ` tornaria
2024-04-24 19:55 ` dkwo
2024-04-24 21:19 ` tornaria
2024-04-24 22:16 ` dkwo
2024-04-24 22:32 ` tornaria
2024-04-25 18:34 ` [PR PATCH] [Merged]: " cinerea0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49966@inbox.vuxu.org \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).