mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 02:29:24 -05:00
gnu: python-black: Relax tomli version requirement.
* gnu/packages/python-xyz.scm (python-black) [phases]{relax-version-requirements}: New phase.
This commit is contained in:
parent
e40dfcfcb1
commit
d849be7b5f
1 changed files with 5 additions and 0 deletions
|
@ -5239,6 +5239,11 @@ (define-public python-black
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-version-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("tomli[^\"]*\",")
|
||||||
|
"tomli\","))))
|
||||||
(add-after 'patch-source-shebangs 'use-absolute-file-names
|
(add-after 'patch-source-shebangs 'use-absolute-file-names
|
||||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
(let* ((inpts (or native-inputs inputs))
|
(let* ((inpts (or native-inputs inputs))
|
||||||
|
|
Loading…
Reference in a new issue