summaryrefslogtreecommitdiff
path: root/gnu/packages/sagemath.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-02-13 10:56:50 +0100
committerAndreas Enge <andreas@enge.fr>2025-02-13 11:04:29 +0100
commit2e72561e788a0bb37ffe887d546a394b70b8c212 (patch)
treed3660a833a1d8bd98e71040c96bc62c708f95967 /gnu/packages/sagemath.scm
parent12afd5847faa3d9f53c0bf619a56ee49cb405d56 (diff)
gnu: Remove ratpoints.
The only purpose of this package was to be used as an input to sage, but sage does not use it anymore. Equivalent functionality is provided by the command "hyperellratpoints" of pari-gp. * gnu/packages/sagemath.scm (ratpoints): Delete variable. * gnu/packages/patches/ratpoints-sturm_and_rp_private.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Unregister patch. Change-Id: I873ac40c1631523035b00ff678000965f21b6941
Diffstat (limited to 'gnu/packages/sagemath.scm')
-rw-r--r--gnu/packages/sagemath.scm42
1 files changed, 0 insertions, 42 deletions
diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 827329029e..ab34d076b7 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -289,48 +289,6 @@ libraries GMO, MPFR and MPC.")
Polyhedra Library (PPL).")
(license license:gpl3+)))
-(define-public ratpoints
- (package
- (name "ratpoints")
- (version "2.1.3")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "http://www.mathe2.uni-bayreuth.de/stoll/programs/"
- "ratpoints-" version ".tar.gz"))
- (sha256
- (base32
- "0zhad84sfds7izyksbqjmwpfw4rvyqk63yzdjd3ysd32zss5bgf4"))
- (patches
- ;; Taken from
- ;; <https://git.sagemath.org/sage.git/plain/build/pkgs/ratpoints/patches/>
- (search-patches "ratpoints-sturm_and_rp_private.patch"))))
- (build-system gnu-build-system)
- (arguments
- `(#:test-target "test"
- #:make-flags
- (list (string-append "INSTALL_DIR=" (assoc-ref %outputs "out"))
- "CCFLAGS=-fPIC")
- #:phases
- (modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (add-before 'install 'create-install-directories
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (mkdir-p out)
- (with-directory-excursion out
- (for-each (lambda (d) (mkdir-p d))
- '("bin" "include" "lib"))))
- #t)))))
- (inputs
- (list gmp))
- (home-page "http://www.mathe2.uni-bayreuth.de/stoll/programs/")
- (synopsis "Find rational points on hyperelliptic curves")
- (description "Ratpoints tries to find all rational points within
-a given height bound on a hyperelliptic curve in a very efficient way,
-by using an optimized quadratic sieve algorithm.")
- (license license:gpl2+)))
-
(define-public sagemath-data-conway-polynomials
(package
(name "sagemath-data-conway-polynomials")