Skip to content

Commit f4696ae

Browse files
committed
gnu: Remove python-flake8-polyfill.
This package is mostly useful for Flake8 version 2 or 3 (see: PyCQA/flake8-polyfill#14 (comment)). * gnu/packages/python-xyz.scm (python-flake8-polyfill): Delete variable.
1 parent e05cac9 commit f4696ae

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

gnu/packages/python-xyz.scm

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10348,42 +10348,6 @@ the same line (which can be introduced by the code formatting tool Black), or
1034810348
unnecessary plus operators for explicit string literal concatenation.")
1034910349
(license license:expat)))
1035010350

10351-
(define-public python-flake8-polyfill
10352-
(package
10353-
(name "python-flake8-polyfill")
10354-
(version "1.0.2")
10355-
(source
10356-
(origin
10357-
(method url-fetch)
10358-
(uri (pypi-uri "flake8-polyfill" version))
10359-
(sha256
10360-
(base32
10361-
"1nlf1mkqw856vi6782qcglqhaacb23khk9wkcgn55npnjxshhjz4"))
10362-
(patches (search-patches "python-flake8-polyfill-flake8-4-compat.patch"))))
10363-
(build-system python-build-system)
10364-
(arguments
10365-
'(#:phases
10366-
(modify-phases %standard-phases
10367-
(replace 'check
10368-
(lambda* (#:key tests? #:allow-other-keys)
10369-
;; Be compatible with Pytest 4:
10370-
;; https://gitlab.com/pycqa/flake8-polyfill/merge_requests/7
10371-
(substitute* "setup.cfg"
10372-
(("\\[pytest\\]")
10373-
"[tool:pytest]"))
10374-
(when tests?
10375-
(invoke "py.test" "-v")))))))
10376-
(propagated-inputs
10377-
(list python-flake8))
10378-
(native-inputs
10379-
(list python-mock python-pep8 python-pycodestyle python-pytest))
10380-
(home-page "https://github.com/pycqa/flake8-polyfill")
10381-
(synopsis "Polyfill package for Flake8 plugins")
10382-
(description
10383-
"This package that provides some compatibility helpers for Flake8
10384-
plugins that intend to support Flake8 2.x and 3.x simultaneously.")
10385-
(license license:expat)))
10386-
1038710351
(define-public python-flake8-print
1038810352
(package
1038910353
(name "python-flake8-print")

0 commit comments

Comments
 (0)