summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-05-06 16:41:45 +0200
committerMarius Bakke <marius@gnu.org>2021-05-06 19:10:05 +0200
commit243552674eee9cacc5ced03c7c9e67cb78560a79 (patch)
treee8c19852d752272e95fdccab380b45ed43e0a67d /gnu
parent10213079f49ef42cd7b6d18c622065567d74463f (diff)
gnu: python-hacking: Fix build failure.
This follows up on 9095fccd0ea7789d5b87e5d1948d875d2029f7da, 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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openstack.scm2
-rw-r--r--gnu/packages/python-xyz.scm38
2 files changed, 39 insertions, 1 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 1e3ad1057af..99e17d8e431 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -150,7 +150,7 @@ manner.")
150 "062rvbkvbavqqz55f7q00ikwipkn5j0rdls1rrajdbfwgckjcrsm")))) 150 "062rvbkvbavqqz55f7q00ikwipkn5j0rdls1rrajdbfwgckjcrsm"))))
151 (build-system python-build-system) 151 (build-system python-build-system)
152 (propagated-inputs 152 (propagated-inputs
153 `(("python-flake8" ,python-flake8))) 153 `(("python-flake8" ,python-flake8-3.8)))
154 (native-inputs 154 (native-inputs
155 `( ;; Tests 155 `( ;; Tests
156 ("python-coverage" ,python-coverage) 156 ("python-coverage" ,python-coverage)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 78dcaa5db8d..3a01b74d1d0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5842,6 +5842,17 @@ Python code against some of the style conventions in
5842(define-public python2-pycodestyle 5842(define-public python2-pycodestyle
5843 (package-with-python2 python-pycodestyle)) 5843 (package-with-python2 python-pycodestyle))
5844 5844
5845(define-public python-pycodestyle-2.6
5846 (package
5847 (inherit python-pycodestyle)
5848 (version "2.6.0")
5849 (source (origin
5850 (method url-fetch)
5851 (uri (pypi-uri "pycodestyle" version))
5852 (sha256
5853 (base32
5854 "0bhr6ia0hmgx3nhgibc9pmkzhlh1zcqk707i5fbxgs702ll7v2n5"))))))
5855
5845(define-public python-multidict 5856(define-public python-multidict
5846 (package 5857 (package
5847 (name "python-multidict") 5858 (name "python-multidict")
@@ -8970,6 +8981,17 @@ PEP 8.")
8970(define-public python2-pyflakes 8981(define-public python2-pyflakes
8971 (package-with-python2 python-pyflakes)) 8982 (package-with-python2 python-pyflakes))
8972 8983
8984(define-public python-pyflakes-2.2
8985 (package
8986 (inherit python-pyflakes)
8987 (version "2.2.0")
8988 (source (origin
8989 (method url-fetch)
8990 (uri (pypi-uri "pyflakes" version))
8991 (sha256
8992 (base32
8993 "1j3zqbiwkyicvww499bblq33x0bjpzdrxajhaysr7sk7x5gdgcim"))))))
8994
8973(define-public python-mccabe 8995(define-public python-mccabe
8974 (package 8996 (package
8975 (name "python-mccabe") 8997 (name "python-mccabe")
@@ -9039,6 +9061,22 @@ complexity of Python source code.")
9039 ("python2-typing" ,python2-typing) 9061 ("python2-typing" ,python2-typing)
9040 ,@(package-propagated-inputs base)))))) 9062 ,@(package-propagated-inputs base))))))
9041 9063
9064(define-public python-flake8-3.8
9065 (package
9066 (inherit python-flake8)
9067 (version "3.8.4")
9068 (source (origin
9069 (method url-fetch)
9070 (uri (pypi-uri "flake8" version))
9071 (sha256
9072 (base32
9073 "0fvcrsbyzjpcli8ldbpsdbpmf238nkvwc1dy4hy82lf63rvfinma"))))
9074 (propagated-inputs
9075 `(("python-pycodestyle" ,python-pycodestyle-2.6)
9076 ("python-entrypoints" ,python-entrypoints)
9077 ("python-pyflakes" ,python-pyflakes-2.2)
9078 ("python-mccabe" ,python-mccabe)))))
9079
9042(define-public python-flake8-bugbear 9080(define-public python-flake8-bugbear
9043 (package 9081 (package
9044 (name "python-flake8-bugbear") 9082 (name "python-flake8-bugbear")