From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pari: update to 2.15.1.
Date: Tue, 15 Nov 2022 20:13:21 +0100 [thread overview]
Message-ID: <20221115191321.CI28x9zitVdPmVibTFdpqBLntP1vJlmvLi1LMHi-mY4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40492@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages pari
https://github.com/void-linux/void-packages/pull/40492
pari: update to 2.15.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### 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/40492.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pari-40492.patch --]
[-- Type: text/x-diff, Size: 3394 bytes --]
From 08902e9b1bf27f4d7e477e1c6db7a9e47c0bed61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 12 Nov 2022 15:42:01 -0300
Subject: [PATCH] pari: update to 2.15.1.
---
...cd3f497f30f757c8eecadc9b45b33754a540.patch | 54 -------------------
srcpkgs/pari/template | 4 +-
2 files changed, 2 insertions(+), 56 deletions(-)
delete mode 100644 srcpkgs/pari/patches/9c4bcd3f497f30f757c8eecadc9b45b33754a540.patch
diff --git a/srcpkgs/pari/patches/9c4bcd3f497f30f757c8eecadc9b45b33754a540.patch b/srcpkgs/pari/patches/9c4bcd3f497f30f757c8eecadc9b45b33754a540.patch
deleted file mode 100644
index 2cea7402b6e4..000000000000
--- a/srcpkgs/pari/patches/9c4bcd3f497f30f757c8eecadc9b45b33754a540.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-See: https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2419
---
-
-commit 9c4bcd3f497f30f757c8eecadc9b45b33754a540
-Author: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
-Date: Tue Oct 4 10:30:43 2022 +0200
-
- 6- conversion to float of t_QUAD with t_FRAC components [#2419]
-
-diff --git a/src/basemath/gen2.c b/src/basemath/gen2.c
-index 3ef74a7023..d810270b99 100644
---- a/src/basemath/gen2.c
-+++ b/src/basemath/gen2.c
-@@ -2429,8 +2429,8 @@ quadtofp(GEN x, long prec)
- else
- { /* if (b) x ~ (u + z) / 2 and quadnorm(x) ~ (u^2 - z^2) / 4
- * else x ~ u + z and quadnorm(x) ~ u^2 - z^2 */
-- long s = signe(u);
-- if (s == -signe(v)) /* conjugate expression avoids cancellation */
-+ long s = gsigne(u);
-+ if (s == -gsigne(v)) /* conjugate expression avoids cancellation */
- {
- z = gdiv(quadnorm(x), gsub(u, z));
- if (b) shiftr_inplace(z, 1);
-diff --git a/src/test/32/quad b/src/test/32/quad
-index 2b43d87a4a..1f1042d143 100644
---- a/src/test/32/quad
-+++ b/src/test/32/quad
-@@ -43,6 +43,7 @@ w
- -4294967297
- 4294967297
- -4294967297
-+2.2847006554165615148712535010323047844
- *** at top-level: floor(w8)
- *** ^---------
- *** floor: incorrect type in gfloor (t_QUAD).
-@@ -55,4 +56,4 @@ w
- *** at top-level: floor(Mod(0,3)*quadgen(5))
- *** ^--------------------------
- *** floor: incorrect type in gfloor (t_QUAD).
--Total time spent: 2
-+Total time spent: 1
-diff --git a/src/test/in/quad b/src/test/in/quad
-index c8cd5a586f..82cd5e992d 100644
---- a/src/test/in/quad
-+++ b/src/test/in/quad
-@@ -47,6 +47,7 @@ ceil(2*w)
- ceil(-2*w)
- round(2*w)
- round(-2*w)
-+quadgen(5) + 2/3 + 0.\\ #2419
-
- \\ Errors keep at end of file
- floor(w8)
diff --git a/srcpkgs/pari/template b/srcpkgs/pari/template
index 811826a1ee14..cf5ba9501444 100644
--- a/srcpkgs/pari/template
+++ b/srcpkgs/pari/template
@@ -1,6 +1,6 @@
# Template file for 'pari'
pkgname=pari
-version=2.15.0
+version=2.15.1
revision=1
build_style=configure
build_helper=qemu
@@ -19,7 +19,7 @@ license="GPL-2.0-or-later"
homepage="https://pari.math.u-bordeaux.fr"
changelog="https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=blob_plain;f=CHANGES;hb=refs/heads/pari-${version%.*}"
distfiles="https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${version}.tar.gz"
-checksum=e474851e0d16d4e4f9a0d9612c746a2ae7c9a1ec185d04c440b1c74a85755685
+checksum=45419db77c6685bee67e42e0ecb78e19ef562be7aafc637c8a41970f2e909e3d
build_options="x11 pthreads"
build_options_default="x11 pthreads"
next prev parent reply other threads:[~2022-11-15 19:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-12 19:16 [PR PATCH] " tornaria
2022-11-15 19:13 ` tornaria [this message]
2022-11-17 12:59 ` [PR REVIEW] " paper42
2022-11-17 17:22 ` [PR PATCH] [Updated] " tornaria
2022-11-18 11:25 ` [PR PATCH] [Merged]: " paper42
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=20221115191321.CI28x9zitVdPmVibTFdpqBLntP1vJlmvLi1LMHi-mY4@z \
--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).