summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-10-27 23:29:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-10-27 23:29:56 +0300
commitf9a65318ddc34a84fea128b756d23ad619f519dc (patch)
tree3e8b7cfeeb2cfa7c4132f6f31c62a2adaf742e47
parentaa6c09ed71acbc371731d56424ee403a69efb833 (diff)
downloadguix-f9a65318ddc34a84fea128b756d23ad619f519dc.tar.gz
gnu: python-parse: Use 'modify-phases' syntax.
* gnu/packages/python.scm (python-parse)[arguments]: Use 'modify-phases'
syntax.
-rw-r--r--gnu/packages/python.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5fabd0e01..73cabe8228 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1412,10 +1412,9 @@ backported for previous versions of Python from 2.4 to 3.3.")
     (build-system python-build-system)
     (arguments
      `(#:phases
-       (alist-replace
-        'check
-        (lambda _ (zero? (system* "python" "test_parse.py")))
-        %standard-phases)))
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (zero? (system* "python" "test_parse.py")))))))
     (home-page "https://github.com/r1chardj0n3s/parse")
     (synopsis "Parse strings")
     (description