mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-titlecase: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-titlecase): [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-next. [arguments] <phases>: Use custom 'check. Change-Id: I0c52c3f815d0c7a44eed92b4cc9c5dbf25be23d0 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
578350017b
commit
a7780fbcc1
1 changed files with 11 additions and 1 deletions
|
@ -32643,7 +32643,17 @@ an upload option to send your work back to the platform.")
|
|||
(sha256
|
||||
(base32
|
||||
"1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "python" "-m" "unittest" test-flags)))))))
|
||||
(native-inputs
|
||||
(list python-setuptools-next))
|
||||
(home-page "https://github.com/ppannuto/python-titlecase")
|
||||
(synopsis "Capitalize strings similar to book titles")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue