gnu: gap: Update to 4.11.1.
* gnu/packages/algebra.scm (gap): Update to 4.11.1. [source]<snippet>: Remove trailing #t. [arguments]<phases>: Remove trailing #t. Install missing config.h header. Co-authored-by: vicvbcun <guix@ikherbers.com>
parent
0f6dc54780
commit
c1a6c6e6d7
|
@ -1206,17 +1206,17 @@ xtensor provides:
|
||||||
(define-public gap
|
(define-public gap
|
||||||
(package
|
(package
|
||||||
(name "gap")
|
(name "gap")
|
||||||
(version "4.11.0")
|
(version "4.11.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://files.gap-system.org/gap-"
|
(uri (string-append "https://files.gap-system.org/gap-"
|
||||||
(version-major+minor version)
|
(version-major+minor version)
|
||||||
"/tar.bz2/gap-"
|
"/tar.gz/gap-"
|
||||||
version
|
version
|
||||||
".tar.bz2"))
|
".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "00l6hvy4iggnlrib4vp805sxdm3j7n3hzpv5zs9hbiiavh80l1xz"))
|
(base32 "01535s81h254zcs84zi95xqmhvvn6fn9qss8761myxc2gpdcadb6"))
|
||||||
(modules '((guix build utils) (ice-9 ftw) (srfi srfi-1)))
|
(modules '((guix build utils) (ice-9 ftw) (srfi srfi-1)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -1249,9 +1249,7 @@ xtensor provides:
|
||||||
"alnuth-"
|
"alnuth-"
|
||||||
"autpgrp-"
|
"autpgrp-"
|
||||||
"crisp-" ; bsd-2
|
"crisp-" ; bsd-2
|
||||||
"ctbllib" ; gpl3+, clarified in the next release;
|
"ctbllib" ; gpl3+
|
||||||
; see
|
|
||||||
; http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/README.md
|
|
||||||
"FactInt-"
|
"FactInt-"
|
||||||
"fga"
|
"fga"
|
||||||
"irredsol-" ; bsd-2
|
"irredsol-" ; bsd-2
|
||||||
|
@ -1262,8 +1260,7 @@ xtensor provides:
|
||||||
"resclasses-"
|
"resclasses-"
|
||||||
"sophus-"
|
"sophus-"
|
||||||
"tomlib-"
|
"tomlib-"
|
||||||
"utils-"))))
|
"utils-"))))))))
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list gmp readline zlib))
|
(list gmp readline zlib))
|
||||||
|
@ -1280,14 +1277,12 @@ xtensor provides:
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
(with-directory-excursion "pkg"
|
(with-directory-excursion "pkg"
|
||||||
(invoke "../bin/BuildPackages.sh")
|
(invoke "../bin/BuildPackages.sh"))))
|
||||||
#t)))
|
|
||||||
(add-after 'build-packages 'build-doc
|
(add-after 'build-packages 'build-doc
|
||||||
;; The documentation is bundled, but we create it from source.
|
;; The documentation is bundled, but we create it from source.
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "doc"
|
(with-directory-excursion "doc"
|
||||||
(invoke "./make_doc"))
|
(invoke "./make_doc"))))
|
||||||
#t))
|
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -1312,6 +1307,8 @@ xtensor provides:
|
||||||
(chmod prog #o755)
|
(chmod prog #o755)
|
||||||
;; Install the headers and library, which are needed by Sage.
|
;; Install the headers and library, which are needed by Sage.
|
||||||
(invoke "make" "install-headers")
|
(invoke "make" "install-headers")
|
||||||
|
(install-file "gen/config.h"
|
||||||
|
(string-append out "/include/gap"))
|
||||||
(invoke "make" "install-libgap")
|
(invoke "make" "install-libgap")
|
||||||
;; Remove information on the build directory from sysinfo.gap.
|
;; Remove information on the build directory from sysinfo.gap.
|
||||||
(substitute* "sysinfo.gap"
|
(substitute* "sysinfo.gap"
|
||||||
|
@ -1321,8 +1318,7 @@ xtensor provides:
|
||||||
(invoke "make" "install-gaproot")
|
(invoke "make" "install-gaproot")
|
||||||
;; Copy the directory of compiled packages; the make target
|
;; Copy the directory of compiled packages; the make target
|
||||||
;; install-pkg is currently empty.
|
;; install-pkg is currently empty.
|
||||||
(copy-recursively "pkg" (string-append share "/pkg")))
|
(copy-recursively "pkg" (string-append share "/pkg"))))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://www.gap-system.org/")
|
(home-page "https://www.gap-system.org/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"System for computational group theory")
|
"System for computational group theory")
|
||||||
|
|
Reference in New Issue