Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
sagemath


Commits:
74d6ee78 by Antonio Rojas at 2024-10-07T18:39:20+02:00
upgpkg: 10.4-5: More pari 2.17 fixes

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- pari-2.17.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = sagemath
        pkgdesc = Open Source Mathematics Software, free alternative to Magma, 
Maple, Mathematica, and Matlab
        pkgver = 10.4
-       pkgrel = 4
+       pkgrel = 5
        url = http://www.sagemath.org
        arch = x86_64
        license = GPL-2.0-or-later
@@ -136,6 +136,6 @@ pkgbase = sagemath
        sha256sums = 
7f4a110de79b0f6daf54ccf94a5b82931737b62afd4d289453e9e90dd2b5ec64
        sha256sums = 
bed395c2150fa7d812b565021b0b10ce0f8b2b027a594d8f19bb3639bccf9018
        sha256sums = 
4705d3f67993b987d53275393be8718b7ce5a26f61c615ec54f32f8fe9aa466a
-       sha256sums = 
ee3a4822ae144a871b1576f594c37a762ad50a68577820f4375b9ad5d937a302
+       sha256sums = 
aeb608a585cdd1b44608b3024f8ab8f7df19e3c6aeeb41fc3d05b687244e1a9d
 
 pkgname = sagemath


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 
 pkgname=sagemath
 pkgver=10.4
-pkgrel=4
+pkgrel=5
 pkgdesc='Open Source Mathematics Software, free alternative to Magma, Maple, 
Mathematica, and Matlab'
 arch=(x86_64)
 url='http://www.sagemath.org'
@@ -143,7 +143,7 @@ 
sha256sums=('22b7e87978b7fe1935a4e06c0a3cc2bf0e65087feb67fa0f5b7b39a0b9206a08'
             '7f4a110de79b0f6daf54ccf94a5b82931737b62afd4d289453e9e90dd2b5ec64'
             'bed395c2150fa7d812b565021b0b10ce0f8b2b027a594d8f19bb3639bccf9018'
             '4705d3f67993b987d53275393be8718b7ce5a26f61c615ec54f32f8fe9aa466a'
-            'ee3a4822ae144a871b1576f594c37a762ad50a68577820f4375b9ad5d937a302')
+            'aeb608a585cdd1b44608b3024f8ab8f7df19e3c6aeeb41fc3d05b687244e1a9d')
 _pkgs=(standard
        bliss
        coxeter3


=====================================
pari-2.17.patch
=====================================
@@ -49,3 +49,25 @@ index 98db6023dc9..5fd7fba1c47 100644
          pari_float[1] = evalexpo(exponent + rounded_prec - 1) + 
evalsigne(mpfr_sgn(self.value))
          mpz_export(&pari_float[2], NULL, 1, wordsize // 8, 0, 0, mantissa)
          mpz_clear(mantissa)
+diff --git a/src/sage/schemes/elliptic_curves/ell_point.py 
b/src/sage/schemes/elliptic_curves/ell_point.py
+index 0da080ffdbe..34615bb46b8 100755
+--- a/src/sage/schemes/elliptic_curves/ell_point.py
++++ b/src/sage/schemes/elliptic_curves/ell_point.py
+@@ -142,7 +142,7 @@ lazy_import('sage.schemes.generic.morphism', 
'SchemeMorphism')
+ 
+ try:
+     from sage.libs.pari.all import pari, PariError
+-    from cypari2.pari_instance import prec_words_to_bits
++    from cypari2.pari_instance import prec_pari_to_bits
+ except ImportError:
+     PariError = ()
+ 
+@@ -3705,7 +3705,7 @@ class 
EllipticCurvePoint_number_field(EllipticCurvePoint_field):
+         E_pari = E_work.pari_curve()
+         log_pari = E_pari.ellpointtoz(pt_pari, precision=working_prec)
+ 
+-        while prec_words_to_bits(log_pari.precision()) < precision:
++        while prec_pari_to_bits(log_pari.precision()) < precision:
+             # result is not precise enough, re-compute with double
+             # precision. if the base field is not QQ, this
+             # requires modifying the precision of the embedding,



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sagemath/-/commit/74d6ee7870f0577698012ea0c1af5ceec7612a02

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sagemath/-/commit/74d6ee7870f0577698012ea0c1af5ceec7612a02
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to