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.
This commit is contained in:
Efraim Flashner 2022-06-06 22:18:36 +03:00
parent b9c8c3585b
commit b995c1bd10
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -10200,7 +10200,14 @@ (define-public python-flake8
(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