From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Update fplll to 5.4.2 and python3-fpylll to 0.5.7
Date: Sun, 09 Oct 2022 17:50:08 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39838@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages fplll
https://github.com/void-linux/void-packages/pull/39838
Update fplll to 5.4.2 and python3-fpylll to 0.5.7
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
This is used by sagemath, no recompilation needed. Quick test in sage and in python:
```sh
$ sage -c 'A=MatrixSpace(ZZ,5,5).random_element(x=1000) ; print([v.norm().n() for v in A]); print([v.norm().n() for v in A.LLL(algorithm="fpLLL:proved")])'
[993.214981763767, 1079.85971311092, 666.938527901935, 1509.64134813538, 1051.61257124475]
[411.366017069957, 517.504589351631, 590.928929736902, 666.938527901935, 749.318356908464]
$ python -c 'import fpylll; A = fpylll.IntegerMatrix(5,5); A.randomize("uniform", bits=10); print([v.norm() for v in A]); print([v.norm() for v in fpylll.LLL.reduction(A)])'
[1161.9513759189754, 1144.8654942830622, 1397.8594349933758, 1367.0314553805995, 1256.5377033738382]
[180.25814822082245, 247.34793308212625, 316.30681307869423, 584.1771991442323, 710.8719997299091]
$ xbps-query --regex -s fp.?lll
[*] fplll-5.4.2_1 Lattice algorithms using floating-point orthogonalization and LLL
[*] fplll-devel-5.4.2_1 Lattice algorithms using floating-point orthogonalization and LLL - development files
[*] python3-fpylll-0.5.7_1 Python wrapper to fplll (floating point lattice algorithms)
```
<!--
#### 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/39838.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fplll-39838.patch --]
[-- Type: text/x-diff, Size: 2964 bytes --]
From ae63aa43867591e235c0eced1168df071bc6acf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 9 Oct 2022 12:31:47 -0300
Subject: [PATCH 1/2] fplll: update to 5.4.2.
---
srcpkgs/fplll/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/fplll/template b/srcpkgs/fplll/template
index 524ce18887f7..11a877d14872 100644
--- a/srcpkgs/fplll/template
+++ b/srcpkgs/fplll/template
@@ -1,6 +1,6 @@
# Template file for 'fplll'
pkgname=fplll
-version=5.4.1
+version=5.4.2
revision=1
build_style=gnu-configure
makedepends="gmp-devel mpfr-devel"
@@ -9,7 +9,7 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fplll/fplll"
distfiles="https://github.com/fplll/fplll/releases/download/${version}/fplll-${version}.tar.gz"
-checksum=7bd887957173aa592091772c1c36f6aa606b3b2ace0d14e2c26c7463dcf2deb7
+checksum=6e7b1704fd56f29dd9fc1dd719cc1f2df1f58964fd77bbde162f594d7fff7ba5
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
From b14ece80fc12d3cfbcab79666f155882a21e6ab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 9 Oct 2022 12:31:52 -0300
Subject: [PATCH 2/2] python3-fpylll: update to 0.5.7.
---
srcpkgs/python3-fpylll/patches/python-3.11.patch | 11 -----------
srcpkgs/python3-fpylll/template | 4 ++--
2 files changed, 2 insertions(+), 13 deletions(-)
delete mode 100644 srcpkgs/python3-fpylll/patches/python-3.11.patch
diff --git a/srcpkgs/python3-fpylll/patches/python-3.11.patch b/srcpkgs/python3-fpylll/patches/python-3.11.patch
deleted file mode 100644
index b5a6c0efbf1e..000000000000
--- a/srcpkgs/python3-fpylll/patches/python-3.11.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/fpylll/gmp/pylong.pxd
-+++ b/src/fpylll/gmp/pylong.pxd
-@@ -3,7 +3,7 @@
- Various functions to deal with conversion mpz <-> Python int/long
- """
-
--cdef extern from "longintrepr.h":
-+cdef extern from "Python.h":
- cdef _PyLong_New(Py_ssize_t s)
- cdef long PyLong_SHIFT
- ctypedef unsigned int digit
diff --git a/srcpkgs/python3-fpylll/template b/srcpkgs/python3-fpylll/template
index dd2adcee6fce..a6fb59a62266 100644
--- a/srcpkgs/python3-fpylll/template
+++ b/srcpkgs/python3-fpylll/template
@@ -1,6 +1,6 @@
# Template file for 'python3-fpylll'
pkgname=python3-fpylll
-version=0.5.6
+version=0.5.7
revision=1
wrksrc="fpylll-${version}"
build_style=python3-module
@@ -13,7 +13,7 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://github.com/fplll/fpylll"
distfiles="${PYPI_SITE}/f/fpylll/fpylll-${version}.tar.gz"
-checksum=6eb8a63fb933c0bf92f290dd66fd884807659214d0ce524afe3687a6a6b13a8b
+checksum=1afc88feee50a3e84de55e3913295922c25691f6edafb9ecfe8f2e90306758f6
case $XBPS_TARGET_MACHINE in
# skip a test with numerical noise on 32 bit
next reply other threads:[~2022-10-09 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-09 15:50 tornaria [this message]
2022-10-09 16:04 ` tornaria
2022-10-11 4:49 ` [PR PATCH] [Merged]: " classabbyamp
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-39838@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).