diff options
author | Andreas Enge <[email protected]> | 2025-02-13 10:52:25 +0100 |
---|---|---|
committer | Andreas Enge <[email protected]> | 2025-02-13 11:04:19 +0100 |
commit | 12afd5847faa3d9f53c0bf619a56ee49cb405d56 (patch) | |
tree | 4a05295a2e0fb4486b2ed7c02c773d38da8d734d /gnu/packages/sagemath.scm | |
parent | b10c1ccdeaaa44f86d9abcf142566786480d3bbf (diff) |
gnu: Remove zn-poly.
The only purpose of this package was to be used as an input to sage,
but sage does not use it anymore.
* gnu/packages/sagemath.scm (zn-poly): Delete variable.
Change-Id: Ibaa8bec84be0b5f34bfc70a384113ab08c82a11c
Diffstat (limited to 'gnu/packages/sagemath.scm')
-rw-r--r-- | gnu/packages/sagemath.scm | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 28ebeeea1e..827329029e 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -331,63 +331,6 @@ a given height bound on a hyperelliptic curve in a very efficient way, by using an optimized quadratic sieve algorithm.") (license license:gpl2+))) -;; Sage has become upstream of the following package. -(define-public zn-poly - (package - (name "zn-poly") - (version "0.9.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url (string-append "https://gitlab.com/sagemath/" - "zn_poly.git/")) - (commit version))) - (file-name (git-file-name "zn_poly" version)) - (sha256 - (base32 "1wbc3apxcldxfcw1dnwnn7fvlfb6bwvlr8glvgv6hf79p9r2s4j0")))) - (build-system gnu-build-system) - (native-inputs - `(("python" ,python-2))) - (inputs - (list gmp)) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'configure - ;; The configure script chokes on --enable-fast-install. - (lambda* (#:key inputs outputs #:allow-other-keys) - (invoke "./configure" - (string-append "--prefix=" (assoc-ref outputs "out")) - "--cflags=-O3 -fPIC"))) - (add-before 'build 'prepare-build - (lambda _ - (setenv "CC" "gcc") - #t)) - (add-after 'build 'build-so - (lambda _ - (invoke "make" "libzn_poly.so"))) - (add-after 'install 'install-so - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (lib (string-append out "/lib")) - (soname (string-append "libzn_poly-" ,version ".so")) - (target (string-append lib "/" soname))) - (install-file "libzn_poly.a" lib) - (install-file soname lib) - (symlink target - (string-append lib "/libzn_poly.so")) - (symlink target - (string-append lib "/libzn_poly-" - ,(version-major+minor version) - ".so"))) - #t))))) - (synopsis "Arithmetic for polynomials over Z/NZ") - (description "zn_poly implements the arithmetic of polynomials the -coefficients of which are modular integers.") - (license (list license:gpl2 license:gpl3)) ; dual licensed - (home-page "https://gitlab.com/sagemath/zn_poly"))) - (define-public sagemath-data-conway-polynomials (package (name "sagemath-data-conway-polynomials") |