gnu: python-cairocffi: Use 'modify-phases' syntax.
* gnu/packages/python.scm (python-cairocffi)[arguments]: Use 'modify-phases'.master
parent
e2816ac72d
commit
6734c7bae3
|
@ -4278,8 +4278,8 @@ support for Python 3 and PyPy. It is based on cffi.")
|
|||
`(("python-xcffib" ,python-xcffib))) ; used at run time
|
||||
(arguments
|
||||
`(#:phases
|
||||
(alist-cons-after
|
||||
'install 'install-doc
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-doc
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((data (string-append (assoc-ref outputs "doc") "/share"))
|
||||
(doc (string-append data "/doc/" ,name "-" ,version))
|
||||
|
@ -4294,8 +4294,8 @@ support for Python 3 and PyPy. It is based on cffi.")
|
|||
(string-append doc file)))
|
||||
'("/README.rst" "/CHANGES" "/LICENSE"))
|
||||
(system* "python" "setup.py" "build_sphinx")
|
||||
(copy-recursively "docs/_build/html" html)))
|
||||
%standard-phases)))
|
||||
(copy-recursively "docs/_build/html" html)
|
||||
#t))))))
|
||||
(home-page "https://github.com/SimonSapin/cairocffi")
|
||||
(synopsis "Python bindings and object-oriented API for Cairo")
|
||||
(description
|
||||
|
|
Reference in New Issue