[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: aegis: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
09/09: gnu: aegis: Use 'modify-phases'. |
Date: |
Fri, 22 Jul 2016 15:25:08 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 8ef843c711e73db2aac9e9b6e4193bc13b7c1dad
Author: Efraim Flashner <address@hidden>
Date: Fri Jul 22 17:34:57 2016 +0300
gnu: aegis: Use 'modify-phases'.
* gnu/packages/version-control.scm (aegis)[arguments]: Use 'modify-phases'.
---
gnu/packages/version-control.scm | 60 ++++++++++++++++++--------------------
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 450f7f5..d0decef 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -964,39 +964,37 @@ accessed and migrated on modern systems.")
"--sharedstatedir=/var/com/aegis")
#:parallel-build? #f ; There are some nasty racy rules in the Makefile.
#:phases
- (alist-cons-before
- 'configure 'pre-conf
- (lambda _
- (substitute* (append '("configure"
- "etc/check-tar-gz.sh"
- "etc/patches.sh"
- "etc/test.sh"
- "script/aexver.in"
- "script/aebisect.in"
- "script/aeintegratq.in"
- "script/tkaegis.in"
- "script/test_funcs.in"
- "web/eg_oss_templ.sh"
- "web/webiface.html"
- "libaegis/getpw_cache.cc")
- (find-files "test" "\\.sh"))
- (("/bin/sh") (which "sh")))
- (setenv "SH" (which "sh")))
- (alist-replace
- 'check
- (lambda _
- (let ((home (string-append (getcwd) "/my-new-home")))
- ;; Some tests need to write to $HOME.
- (mkdir home)
- (setenv "HOME" home)
+ (modify-phases %standard-phases
+ (add-before 'configure 'pre-conf
+ (lambda _
+ (substitute* (append '("configure"
+ "etc/check-tar-gz.sh"
+ "etc/patches.sh"
+ "etc/test.sh"
+ "script/aexver.in"
+ "script/aebisect.in"
+ "script/aeintegratq.in"
+ "script/tkaegis.in"
+ "script/test_funcs.in"
+ "web/eg_oss_templ.sh"
+ "web/webiface.html"
+ "libaegis/getpw_cache.cc")
+ (find-files "test" "\\.sh"))
+ (("/bin/sh") (which "sh")))
+ (setenv "SH" (which "sh"))))
+ (replace 'check
+ (lambda _
+ (let ((home (string-append (getcwd) "/my-new-home")))
+ ;; Some tests need to write to $HOME.
+ (mkdir home)
+ (setenv "HOME" home)
- ;; This test assumes that flex has been symlinked to "lex".
- (substitute* "test/00/t0011a.sh"
- (("type lex") "type flex"))
+ ;; This test assumes that flex has been symlinked to "lex".
+ (substitute* "test/00/t0011a.sh"
+ (("type lex") "type flex"))
- ;; The author decided to call the check rule "sure".
- (zero? (system* "make" "sure"))))
- %standard-phases))))
+ ;; The author decided to call the check rule "sure".
+ (zero? (system* "make" "sure"))))))))
(home-page "http://aegis.sourceforge.net")
(synopsis "Project change supervisor")
(description "Aegis is a project change supervisor, and performs some of
- branch master updated (f21403e -> 8ef843c), Efraim Flashner, 2016/07/22
- 01/09: gnu: bazaar: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 07/09: gnu: cssc: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 05/09: gnu: subversion: Use https., Efraim Flashner, 2016/07/22
- 03/09: gnu: gnuplot: Update to upstream's re-release of 5.0.4., Efraim Flashner, 2016/07/22
- 04/09: gnu: git-flow: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 08/09: gnu: git: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 02/09: gnu: enlightenment: Update to 0.21.1., Efraim Flashner, 2016/07/22
- 06/09: gnu: subversion: Use 'modify-phases'., Efraim Flashner, 2016/07/22
- 09/09: gnu: aegis: Use 'modify-phases'.,
Efraim Flashner <=