diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-01-17 22:18:30 -0500 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-01-17 22:24:04 -0500 |
| commit | d849be7b5fe7d6f20f9a46793d8ba6ca2a3a54ba (patch) | |
| tree | 2cbfa3ea6cc08ac8b3b8cbb85766bf6d445d0361 | |
| parent | e40dfcfcb1bcfa15355b076714897709fa4e1fb2 (diff) | |
gnu: python-black: Relax tomli version requirement.
* gnu/packages/python-xyz.scm (python-black)
[phases]{relax-version-requirements}: New phase.
| -rw-r--r-- | gnu/packages/python-xyz.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ce8bd6402..e4cb94fe1b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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)) |
