[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: gmp-ecm: Update to 7.0.5.
From: |
guix-commits |
Subject: |
04/13: gnu: gmp-ecm: Update to 7.0.5. |
Date: |
Mon, 3 Oct 2022 11:19:17 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit bcc61c08be8a7a278dcdf72c9cf04a879098761a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Oct 2 20:15:09 2022 -0400
gnu: gmp-ecm: Update to 7.0.5.
* gnu/packages/algebra.scm (gmp-ecm): Update to 7.0.5.
[source]: Fetch from git from gitlab.inria.fr.
[arguments]: Use gexps.
[phases] {patch-paths}: New phase
[native-inputs]: New field.
[home-page]: Update URL.
---
gnu/packages/algebra.scm | 61 +++++++++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 9648809a4e..c98b882d09 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -631,35 +631,42 @@ geometry and singularity theory.")
(define-public gmp-ecm
(package
- (name "gmp-ecm")
- (version "7.0.4")
- (source (origin
- (method url-fetch)
- (uri
- (let ((hash "00c4c691a1ef8605b65bdf794a71539d"))
- (string-append "https://gitlab.inria.fr/zimmerma/ecm/"
- "uploads/" hash "/ecm-" version
- ".tar.gz")))
- (sha256 (base32
-
"0hxs24c2m3mh0nq1zz63z3sb7dhy1rilg2s1igwwcb26x3pb7xqc"))))
- (build-system gnu-build-system)
- (inputs
- (list gmp))
- (arguments
- `(#:configure-flags '("--enable-shared"
- ;; Disable specific assembly routines, which depend
- ;; on the subarchitecture of the build machine,
- ;; and use gmp instead.
- "--disable-asm-redc")))
- (synopsis "Integer factorization library using the elliptic curve method")
- (description
- "GMP-ECM factors integers using the elliptic curve method (ECM) as well
+ (name "gmp-ecm")
+ (version "7.0.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.inria.fr/zimmerma/ecm")
+ (commit (string-append "git-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "013sfsd5kyh7phhf4namcdndpcp2jnibzxf10f4g89qabr8av63m"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list gmp))
+ (arguments
+ (list
+ #:configure-flags #~(list "--enable-shared"
+ ;; Disable specific assembly routines, which
+ ;; depend on the subarchitecture of the build
+ ;; machine, and use gmp instead.
+ "--disable-asm-redc")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda _
+ (substitute* "test.ecm"
+ (("/bin/rm") (which "rm"))))))))
+ (native-inputs (list autoconf automake libtool))
+ (synopsis "Integer factorization library using the elliptic curve method")
+ (description
+ "GMP-ECM factors integers using the elliptic curve method (ECM) as well
as the P-1 and P+1 algorithms. It provides a library and a stand-alone
binary.")
- ;; Most files are under lgpl3+, but some are under gpl3+ or gpl2+,
- ;; so the combined work is under gpl3+.
- (license license:gpl3+)
- (home-page "http://ecm.gforge.inria.fr/")))
+ (home-page "https://gitlab.inria.fr/zimmerma/ecm")
+ ;; Most files are under lgpl3+, but some are under gpl3+ or gpl2+, so the
+ ;; combined work is under gpl3+.
+ (license license:gpl3+)))
(define-public bc
(package
- branch master updated (aeaabc4253 -> 06201b76e5), guix-commits, 2022/10/03
- 03/13: gnu: gf2x: Update to 1.3.0., guix-commits, 2022/10/03
- 05/13: gnu: gappa: Update to 1.4.1., guix-commits, 2022/10/03
- 01/13: gnu-maintenance: Remove retired 'gforge.inria.fr' site., guix-commits, 2022/10/03
- 07/13: gnu: isl: Remove outdated comment., guix-commits, 2022/10/03
- 08/13: gnu: mpfi: Use gexps and remove input labels., guix-commits, 2022/10/03
- 10/13: gnu: Remove unused scotch patches., guix-commits, 2022/10/03
- 02/13: gnu: gf2x: Migrate from gforge.inria.fr to gitlab.inria.fr., guix-commits, 2022/10/03
- 04/13: gnu: gmp-ecm: Update to 7.0.5.,
guix-commits <=
- 06/13: gnu: gappa: Honor TESTS?., guix-commits, 2022/10/03
- 11/13: gnu: ocaml-dose3: Migrate from gforce.inria.fr., guix-commits, 2022/10/03
- 12/13: gnu: r-spams: Update to 2.6.1., guix-commits, 2022/10/03
- 09/13: gnu: mpfi: Update to 1.5.4-1.b982534., guix-commits, 2022/10/03
- 13/13: gnu: Remove ocaml-craml., guix-commits, 2022/10/03