me
/
guix
Archived
1
0
Fork 0

gnu: python-black: Relax tomli version requirement.

* gnu/packages/python-xyz.scm (python-black)
[phases]{relax-version-requirements}: New phase.
Maxim Cournoyer 2022-01-17 22:18:30 -05:00
parent e40dfcfcb1
commit d849be7b5f
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 5 additions and 0 deletions

View File

@ -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))