gnu: python-black: Relax tomli version requirement.
* gnu/packages/python-xyz.scm (python-black) [phases]{relax-version-requirements}: New phase.
parent
e40dfcfcb1
commit
d849be7b5f
|
@ -5239,6 +5239,11 @@ matching of file paths.")
|
|||
(arguments
|
||||
`(#: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
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(let* ((inpts (or native-inputs inputs))
|
||||
|
|
Reference in New Issue