gnu: python-flake8: Allow building with newer python-pyflakes.
* gnu/packages/python-xyz.scm (python-flake8)[source]: Add snippet to remove upper bound on dependency python-pyflakes version.
parent
b9c8c3585b
commit
b995c1bd10
|
@ -10200,7 +10200,14 @@ cyclomatic complexity of Python source code.")
|
||||||
(uri (pypi-uri "flake8" version))
|
(uri (pypi-uri "flake8" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0sspgh2ph7bb5fmf49mrdhi7n5m421kfkxk1n0vn4akgg20q6lh7"))))
|
"0sspgh2ph7bb5fmf49mrdhi7n5m421kfkxk1n0vn4akgg20q6lh7"))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(use-modules (guix build utils))
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
;; Remove upper bound on pyflakes version.
|
||||||
|
(("(pyflakes >=.*), .*" _ pyflakes)
|
||||||
|
(string-append pyflakes "\n")))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
|
Reference in New Issue