gnu: python-parse: Use 'modify-phases' syntax.

* gnu/packages/python.scm (python-parse)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Efraim Flashner 2016-10-27 23:29:56 +03:00
parent aa6c09ed71
commit f9a65318dd
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -1412,10 +1412,9 @@ (define-public python-parse
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(alist-replace (modify-phases %standard-phases
'check (replace 'check
(lambda _ (zero? (system* "python" "test_parse.py"))) (lambda _ (zero? (system* "python" "test_parse.py")))))))
%standard-phases)))
(home-page "https://github.com/r1chardj0n3s/parse") (home-page "https://github.com/r1chardj0n3s/parse")
(synopsis "Parse strings") (synopsis "Parse strings")
(description (description