[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: scilab: Cleanup.
From: |
guix-commits |
Subject: |
04/06: gnu: scilab: Cleanup. |
Date: |
Wed, 1 May 2024 17:48:42 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit df1a6c725939ae5ff026f6a4333d7aa94608430d
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Wed Apr 10 09:15:13 2024 +0200
gnu: scilab: Cleanup.
* gnu/packages/maths.scm (scilab):
[arguments]<#:phases>: In pre-build phase, remove unecessary
code, due to the former introduction of the rewrap-scilab-cli
phase. More robust version setting in the set-version phase. It
anticipates for the next release which will not use "main" anymore.
[source]<origin>(snippet) Sort dynamic_link deleted files.
[inputs]: Add bash-minimal.
Change-Id: I49b17886405e1ed8161e71b51655fa393ff7f10b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 361f2f7b68..3ce67cc0ba 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -9768,9 +9768,9 @@ computation is supported via MPI.")
"compile"
"config.guess"
"config.sub"
- "ltmain.sh"
"depcomp"
"install-sh"
+ "ltmain.sh"
"missing"))
(delete-file-recursively "modules/dynamic_link/src/scripts/m4")
(for-each delete-file
@@ -9794,6 +9794,7 @@ computation is supported via MPI.")
(inputs (list `(,pcre "bin")
`(,pcre "out")
arpack-ng
+ bash-minimal
curl
fftw
gettext-minimal
@@ -9851,10 +9852,8 @@ computation is supported via MPI.")
(add-after 'unpack 'set-version
(lambda _
(substitute* "modules/core/includes/version.h.in"
- (("scilab-branch-main") ; version
- (string-append
- "scilab-"
- #$(version-major+minor (package-version this-package)))))))
+ (("branch-[a-z0-9\\.]*") ; version
+ #$(version-major+minor (package-version this-package))))))
(add-after 'unpack 'restrain-to-scilab-cli
(lambda _
;; Install only scilab-cli.desktop
@@ -9888,10 +9887,6 @@ computation is supported via MPI.")
((assoc-ref %standard-phases 'bootstrap)))))
(add-before 'build 'pre-build
(lambda* (#:key inputs #:allow-other-keys)
- ;; Fix scilab script.
- (substitute* "bin/scilab"
- (("/bin/ls")
- (search-input-file inputs "bin/ls")))
;; Fix core.start.
(substitute* "modules/core/etc/core.start"
(("'SCI/modules")
- branch master updated (2aeb9faa42 -> 04d4e772e5), guix-commits, 2024/05/01
- 01/06: gnu: xdot: Update to 1.3., guix-commits, 2024/05/01
- 04/06: gnu: scilab: Cleanup.,
guix-commits <=
- 03/06: teams: Add myself to the documentation team., guix-commits, 2024/05/01
- 06/06: gnu: scilab: Improve package management robustness in scilab-cli., guix-commits, 2024/05/01
- 02/06: teams: Add documentation team., guix-commits, 2024/05/01
- 05/06: gnu: scilab: Fixup and improve compilerDetection.sh script., guix-commits, 2024/05/01