gnu: python-hacking: Fix build failure.

This follows up on 9095fccd0e, et.al.

* gnu/packages/python-xyz.scm (python-pycodestyle-2.6, python-pyflakes-2.2,
python-flake8-3.8): New variables.
* gnu/packages/openstack.scm (python-hacking)[propagated-inputs]: Change from
PYTHON-FLAKE8 to PYTHON-FLAKE8-3.8.
This commit is contained in:
Marius Bakke 2021-05-06 16:41:45 +02:00
parent 10213079f4
commit 243552674e
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 39 additions and 1 deletions

View file

@ -150,7 +150,7 @@ (define-public python-hacking
"062rvbkvbavqqz55f7q00ikwipkn5j0rdls1rrajdbfwgckjcrsm"))))
(build-system python-build-system)
(propagated-inputs
`(("python-flake8" ,python-flake8)))
`(("python-flake8" ,python-flake8-3.8)))
(native-inputs
`( ;; Tests
("python-coverage" ,python-coverage)

View file

@ -5842,6 +5842,17 @@ (define-public python-pycodestyle
(define-public python2-pycodestyle
(package-with-python2 python-pycodestyle))
(define-public python-pycodestyle-2.6
(package
(inherit python-pycodestyle)
(version "2.6.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pycodestyle" version))
(sha256
(base32
"0bhr6ia0hmgx3nhgibc9pmkzhlh1zcqk707i5fbxgs702ll7v2n5"))))))
(define-public python-multidict
(package
(name "python-multidict")
@ -8970,6 +8981,17 @@ (define-public python-pyflakes
(define-public python2-pyflakes
(package-with-python2 python-pyflakes))
(define-public python-pyflakes-2.2
(package
(inherit python-pyflakes)
(version "2.2.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pyflakes" version))
(sha256
(base32
"1j3zqbiwkyicvww499bblq33x0bjpzdrxajhaysr7sk7x5gdgcim"))))))
(define-public python-mccabe
(package
(name "python-mccabe")
@ -9039,6 +9061,22 @@ (define-public python2-flake8
("python2-typing" ,python2-typing)
,@(package-propagated-inputs base))))))
(define-public python-flake8-3.8
(package
(inherit python-flake8)
(version "3.8.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "flake8" version))
(sha256
(base32
"0fvcrsbyzjpcli8ldbpsdbpmf238nkvwc1dy4hy82lf63rvfinma"))))
(propagated-inputs
`(("python-pycodestyle" ,python-pycodestyle-2.6)
("python-entrypoints" ,python-entrypoints)
("python-pyflakes" ,python-pyflakes-2.2)
("python-mccabe" ,python-mccabe)))))
(define-public python-flake8-bugbear
(package
(name "python-flake8-bugbear")