[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: python-pyparsing: Use 'modify-phases' syntax.
From: |
Marius Bakke |
Subject: |
01/09: gnu: python-pyparsing: Use 'modify-phases' syntax. |
Date: |
Sun, 23 Jul 2017 16:21:34 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 007176e7103fc25bca295c7b09578a37f5d635c7
Author: Marius Bakke <address@hidden>
Date: Sat Jul 22 15:24:54 2017 +0200
gnu: python-pyparsing: Use 'modify-phases' syntax.
* gnu/packages/python.scm (python-pyparsing)[arguments]<#:phases>: Use
'modify-phases'.
---
gnu/packages/python.scm | 36 +++++++++++++++++-------------------
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e7a40df..a8e3186 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3955,26 +3955,24 @@ library, libgit2 implements Git plumbing.")
(outputs '("out" "doc"))
(arguments
`(#:tests? #f ; no test target
- #:modules ((guix build python-build-system)
- (guix build utils))
#:phases
- (alist-cons-after
- 'install 'install-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((doc (string-append (assoc-ref outputs "doc")
- "/share/doc/" ,name "-" ,version))
- (html-doc (string-append doc "/html"))
- (examples (string-append doc "/examples")))
- (mkdir-p html-doc)
- (mkdir-p examples)
- (for-each
- (lambda (dir tgt)
- (map (lambda (file)
- (install-file file tgt))
- (find-files dir ".*")))
- (list "docs" "htmldoc" "examples")
- (list doc html-doc examples))))
- %standard-phases)))
+ (modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((doc (string-append (assoc-ref outputs "doc")
+ "/share/doc/" ,name "-" ,version))
+ (html-doc (string-append doc "/html"))
+ (examples (string-append doc "/examples")))
+ (mkdir-p html-doc)
+ (mkdir-p examples)
+ (for-each
+ (lambda (dir tgt)
+ (map (lambda (file)
+ (install-file file tgt))
+ (find-files dir ".*")))
+ (list "docs" "htmldoc" "examples")
+ (list doc html-doc examples))
+ #t))))))
(home-page "http://pyparsing.wikispaces.com")
(synopsis "Python parsing class library")
(description
- branch master updated (6e864d0 -> 846cb73), Marius Bakke, 2017/07/23
- 02/09: gnu: python-pyparsing: Update to 2.2.0., Marius Bakke, 2017/07/23
- 03/09: gnu: python-matplotlib: Update to 2.0.2., Marius Bakke, 2017/07/23
- 01/09: gnu: python-pyparsing: Use 'modify-phases' syntax.,
Marius Bakke <=
- 06/09: gnu: cmocka: Update to 1.1.1., Marius Bakke, 2017/07/23
- 05/09: gnu: tdb: Update to 1.3.14., Marius Bakke, 2017/07/23
- 08/09: gnu: talloc: Update to 2.1.10., Marius Bakke, 2017/07/23
- 04/09: gnu: python-scipy: Update to 0.19.1., Marius Bakke, 2017/07/23
- 07/09: gnu: ldb: Update to 1.1.31., Marius Bakke, 2017/07/23
- 09/09: gnu: tevent: Update to 0.9.33., Marius Bakke, 2017/07/23