all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: 68714@debbugs.gnu.org
Cc: Andreas Enge <andreas@enge.fr>, Andreas Enge <andreas@enge.fr>,
	Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68714] [PATCH 1/5] gnu: flint: Update to 3.0.1.
Date: Thu, 25 Jan 2024 14:58:02 +0100	[thread overview]
Message-ID: <e286b425040ec0a099848045b1813aa00cc3a92d.1706190861.git.andreas@enge.fr> (raw)
In-Reply-To: <cover.1706190861.git.andreas@enge.fr>

* gnu/packages/algebra.scm (flint): Update to 3.0.1.
  [arguments]: Remove obsolete phase additions.

Change-Id: Iebac9d3a0b1e19147df9402d522c55cb168148d7
---
 gnu/packages/algebra.scm | 29 ++++-------------------------
 1 file changed, 4 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 8d1877e3d9..43047a9b32 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -417,41 +417,20 @@ (define-public giac
 (define-public flint
   (package
    (name "flint")
-   (version "2.9.0")
+   (version "3.0.1")
    (source
     (origin
       (method url-fetch)
-      (uri (string-append "http://flintlib.org/flint-" version ".tar.gz"))
+      (uri (string-append "https://flintlib.org/flint-" version ".tar.gz"))
       (sha256
-       (base32 "0sp79ixaawjzna79afrlwlx9hg55jxil03f1wq435j9k23ar1h1g"))))
+       (base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv"))))
    (build-system gnu-build-system)
    (inputs
     (list ntl))
    (propagated-inputs
     (list gmp mpfr)) ; header files from both are included by flint/arith.h
    (arguments
-    `(#:parallel-tests? #f              ; seems to be necessary on arm
-      #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'newer-c++
-           (lambda _
-             (substitute* "configure"
-               (("-ansi") ""))
-             #t))
-         (replace 'configure
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out"))
-                   (gmp (assoc-ref inputs "gmp"))
-                   (mpfr (assoc-ref inputs "mpfr"))
-                   (ntl (assoc-ref inputs "ntl")))
-               ;; Do not pass "--enable-fast-install", which makes the
-               ;; homebrew configure process fail.
-               (invoke "./configure"
-                       (string-append "--prefix=" out)
-                       (string-append "--with-gmp=" gmp)
-                       (string-append "--with-mpfr=" mpfr)
-                       (string-append "--with-ntl=" ntl))
-               #t))))))
+    `(#:parallel-tests? #f))            ; seems to be necessary on arm
    (synopsis "Fast library for number theory")
    (description
     "FLINT is a C library for number theory.  It supports arithmetic
-- 
2.41.0





  reply	other threads:[~2024-01-25 13:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 13:54 [bug#68714] [PATCH 0/5] Update flint to 3.0.1 Andreas Enge
2024-01-25 13:58 ` Andreas Enge [this message]
2024-01-25 13:58 ` [bug#68714] [PATCH 2/5] gnu: pynac: Remove package Andreas Enge
2024-01-25 13:58 ` [bug#68714] [PATCH 3/5] gnu: s7: Compile with flint@3 Andreas Enge
2024-01-25 13:58 ` [bug#68714] [PATCH 4/5] gnu: python-flint: Update to 0.5.0 and build " Andreas Enge
2024-01-25 13:58 ` [bug#68714] [PATCH 5/5] gnu: arb: Deprecate package Andreas Enge
2024-01-25 22:27 ` [bug#68714] [PATCH 0/5] Update flint to 3.0.1 Sharlatan Hellseher
2024-01-26  5:21   ` Liliana Marie Prikler
2024-01-26  9:24 ` bug#68714: Done Andreas Enge

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=e286b425040ec0a099848045b1813aa00cc3a92d.1706190861.git.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=68714@debbugs.gnu.org \
    --cc=bavier@posteo.net \
    --cc=sharlatanus@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.