From 489ff32ae04c24538f478fc1e383a64393101bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 21 Apr 2024 14:51:04 -0300 Subject: [PATCH] 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 00000000000..219c6bdc323 --- /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 77afead3fc9..56057bbd4a3 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 22faf78921c..8b4bf7dfa44 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"