mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-args: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-args): [arguments]<#:phases>: Remove 'check phase replacement. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Ia25eae40725adadce182cbdb5e874dd7352e4d35 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7b1f7c7e8c
commit
b31de4d4d7
1 changed files with 3 additions and 7 deletions
|
@ -20136,18 +20136,14 @@ minimal and fast API targeting the following uses:
|
|||
(sha256
|
||||
(base32
|
||||
"1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-args.py
|
||||
(lambda _
|
||||
(substitute* "args.py"
|
||||
(("basestring") "str"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "nosetests" "-v")))))))
|
||||
(native-inputs (list python-nose))
|
||||
(("basestring") "str")))))))
|
||||
(native-inputs (list python-nose python-setuptools python-wheel))
|
||||
(synopsis "Command-line argument parser")
|
||||
(description
|
||||
"This library provides a Python module to parse command-line arguments.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue