guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/13: gnu: python-xcffib: Use 'modify-phases' syntax.


From: Marius Bakke
Subject: 10/13: gnu: python-xcffib: Use 'modify-phases' syntax.
Date: Tue, 13 Dec 2016 20:08:38 +0000 (UTC)

mbakke pushed a commit to branch python-tests
in repository guix.

commit 4a36012426d750a3eed98bb7385fcdf4ad64f628
Author: Marius Bakke <address@hidden>
Date:   Tue Dec 13 19:15:21 2016 +0100

    gnu: python-xcffib: Use 'modify-phases' syntax.
    
    * gnu/packages/python.scm (python-xcffib)[arguments]: Use 'modify-phases'.
---
 gnu/packages/python.scm |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 200ba30..6aee72c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4230,15 +4230,15 @@ a front-end for C compilers or analysis tools.")
        ("python-six" ,python-six)))
     (arguments
      `(#:phases
-       (alist-cons-after
-        'install 'install-doc
-        (lambda* (#:key outputs #:allow-other-keys)
-          (let ((doc (string-append (assoc-ref outputs "out") "/share"
-                                    "/doc/" ,name "-" ,version)))
-            (mkdir-p doc)
-            (copy-file "README.md"
-                       (string-append doc "/README.md"))))
-        %standard-phases)))
+       (modify-phases %standard-phases
+         (add-after 'install 'install-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((doc (string-append (assoc-ref outputs "out") "/share"
+                                       "/doc/" ,name "-" ,version)))
+               (mkdir-p doc)
+               (copy-file "README.md"
+                          (string-append doc "/README.md"))
+               #t))))))
     (home-page "https://github.com/tych0/xcffib";)
     (synopsis "XCB Python bindings")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]