mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-invoke: Refresh style.
* gnu/packages/python-xyz.scm (python-invoke): Use G-expressions, fix order of fields. [description]: Fix fill paragraph indentation. Change-Id: I493bfe2a7308d51c9ef00083f88742e330ad79de
This commit is contained in:
parent
9fbe19661f
commit
e7ed7acf7c
1 changed files with 24 additions and 23 deletions
|
@ -26171,31 +26171,32 @@ manipulation and interaction with formal grammars.")
|
||||||
(define-public python-invoke
|
(define-public python-invoke
|
||||||
(package
|
(package
|
||||||
(name "python-invoke")
|
(name "python-invoke")
|
||||||
(home-page "https://www.pyinvoke.org/")
|
|
||||||
(version "1.6.0")
|
(version "1.6.0")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "invoke" version))
|
(uri (pypi-uri "invoke" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1lsql9daabfr31c7syva5myc5bka45k57ygs9fliv63qrwp1wk9p"))))
|
||||||
"1lsql9daabfr31c7syva5myc5bka45k57ygs9fliv63qrwp1wk9p"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
(list
|
||||||
;; XXX: Requires many dependencies that are not yet in Guix.
|
;; XXX: Requires many dependencies that are not yet in Guix.
|
||||||
`(#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'delete-python2-code
|
(add-after 'unpack 'delete-python2-code
|
||||||
(lambda _
|
(lambda _
|
||||||
(delete-file-recursively "invoke/vendor/yaml2")))
|
(delete-file-recursively "invoke/vendor/yaml2")))
|
||||||
(add-after 'unpack 'fix-bash-path
|
(add-after 'unpack 'fix-bash-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((bash (assoc-ref inputs "bash")))
|
(let ((bash #$(this-package-input "bash-minimal")))
|
||||||
(substitute* "invoke/config.py"
|
(substitute* "invoke/config.py"
|
||||||
(("shell = \"/bin/bash\"")
|
(("shell = \"/bin/bash\"")
|
||||||
(string-append "shell = \"" bash "/bin/bash\"")))))))))
|
(string-append "shell = \"" bash "/bin/bash\"")))))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("bash" ,bash-minimal)))
|
(list bash-minimal))
|
||||||
|
(home-page "https://www.pyinvoke.org/")
|
||||||
(synopsis "Pythonic task execution")
|
(synopsis "Pythonic task execution")
|
||||||
(description
|
(description
|
||||||
"Invoke is a Python task execution tool and library, drawing inspiration
|
"Invoke is a Python task execution tool and library, drawing inspiration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue