gnu: Remove python2-flake8.
* gnu/packages/python-xyz.scm (python2-flake8): Delete variable.
This commit is contained in:
parent
4392bf589f
commit
87465a718a
1 changed files with 10 additions and 25 deletions
|
@ -10862,35 +10862,20 @@ (define-public python-flake8
|
||||||
"0y732h02n2aih8gzyfj4bbhg4jgahyv84mjwfindk2g6w45rka0s"))))
|
"0y732h02n2aih8gzyfj4bbhg4jgahyv84mjwfindk2g6w45rka0s"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(replace 'check
|
||||||
(replace 'check
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(invoke "pytest" "-v"))))))
|
||||||
(invoke "pytest" "-v"))))))
|
(propagated-inputs (list python-pycodestyle python-entrypoints
|
||||||
(propagated-inputs
|
python-pyflakes python-mccabe))
|
||||||
(list python-pycodestyle python-entrypoints python-pyflakes
|
(native-inputs (list python-mock python-pytest))
|
||||||
python-mccabe))
|
|
||||||
(native-inputs
|
|
||||||
(list python-mock python-pytest))
|
|
||||||
(home-page "https://gitlab.com/pycqa/flake8")
|
(home-page "https://gitlab.com/pycqa/flake8")
|
||||||
(synopsis
|
(synopsis "The modular source code checker: pep8, pyflakes and co")
|
||||||
"The modular source code checker: pep8, pyflakes and co")
|
|
||||||
(description
|
(description
|
||||||
"Flake8 is a wrapper around PyFlakes, pep8 and python-mccabe.")
|
"Flake8 is a wrapper around PyFlakes, pep8 and python-mccabe.")
|
||||||
(properties `((python2-variant . ,(delay python2-flake8))))
|
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-flake8
|
|
||||||
(let ((base (package-with-python2 (strip-python2-variant python-flake8))))
|
|
||||||
(package/inherit base
|
|
||||||
(propagated-inputs
|
|
||||||
`(("python2-configparser" ,python2-configparser)
|
|
||||||
("python2-enum34" ,python2-enum34)
|
|
||||||
("python2-functools32" ,python2-functools32)
|
|
||||||
("python2-typing" ,python2-typing)
|
|
||||||
,@(package-propagated-inputs base))))))
|
|
||||||
|
|
||||||
(define-public python-flake8-3.8
|
(define-public python-flake8-3.8
|
||||||
(package
|
(package
|
||||||
(inherit python-flake8)
|
(inherit python-flake8)
|
||||||
|
|
Loading…
Reference in a new issue