[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/23: gnu: cgit: Return #t from all phases.
From: |
Tobias Geerinckx-Rice |
Subject: |
04/23: gnu: cgit: Return #t from all phases. |
Date: |
Wed, 27 Jun 2018 07:01:49 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 0eb21fbaf7afe2f70b60aa5021bf395bc7cd3dce
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Jun 26 16:13:27 2018 +0200
gnu: cgit: Return #t from all phases.
* gnu/packages/version-control.scm (cgit)[arguments]: Substitute INVOKE
for SYSTEM*.
---
gnu/packages/version-control.scm | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 168ffeb..342b532 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -579,9 +579,8 @@ collaboration using typical untrusted file hosts or
services.")
(add-after 'unpack 'unpack-git
(lambda* (#:key inputs #:allow-other-keys)
;; Unpack the source of git into the 'git' directory.
- (zero? (system*
- "tar" "--strip-components=1" "-C" "git" "-xf"
- (assoc-ref inputs "git:src")))))
+ (invoke "tar" "--strip-components=1" "-C" "git" "-xf"
+ (assoc-ref inputs "git:src"))))
(add-after 'unpack 'patch-absolute-file-names
(lambda* (#:key inputs #:allow-other-keys)
(define (quoted-file-name input path)
@@ -612,21 +611,20 @@ collaboration using typical untrusted file hosts or
services.")
(delete 'configure) ; no configure script
(add-after 'build 'build-man
(lambda* (#:key make-flags #:allow-other-keys)
- (zero? (apply system* `("make" ,@make-flags "doc-man")))))
+ (apply invoke "make" "doc-man" make-flags)))
(replace 'install
(lambda* (#:key make-flags outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- (and (zero? (apply system*
- `("make" ,@make-flags
- ,(string-append "prefix=" out)
- ,(string-append
- "CGIT_SCRIPT_PATH=" out "/share/cgit")
- "install" "install-man")))
- ;; Move the platform-dependent 'cgit.cgi' into lib
- ;; to get it stripped.
- (rename-file (string-append out "/share/cgit/cgit.cgi")
- (string-append out "/lib/cgit/cgit.cgi"))
- #t))))
+ (apply invoke
+ "make" "install" "install-man"
+ (string-append "prefix=" out)
+ (string-append "CGIT_SCRIPT_PATH=" out "/share/cgit")
+ make-flags)
+ ;; Move the platform-dependent 'cgit.cgi' into lib to get it
+ ;; stripped.
+ (rename-file (string-append out "/share/cgit/cgit.cgi")
+ (string-append out "/lib/cgit/cgit.cgi"))
+ #t)))
(add-after 'install 'wrap-python-scripts
(lambda* (#:key outputs #:allow-other-keys)
(for-each
- 19/23: gnu: discount: Return #t from all phases., (continued)
- 19/23: gnu: discount: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27
- 03/23: doc: Private key passphrases are not supported., Tobias Geerinckx-Rice, 2018/06/27
- 15/23: gnu: python-mpd2: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 20/23: gnu: ghmm: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27
- 18/23: gnu: papagayo: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27
- 12/23: gnu: slib: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 09/23: gnu: squeak-vm: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 22/23: gnu: dlib: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27
- 07/23: gnu: aegis: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 08/23: gnu: java-jgit: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 04/23: gnu: cgit: Return #t from all phases.,
Tobias Geerinckx-Rice <=
- 14/23: gnu: python-patsy: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 23/23: gnu: python-scikit-learn: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 13/23: gnu: scm: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/27
- 16/23: gnu: cifs-utils: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27
- 11/23: gnu: scmutils: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/27