diff --git a/0001-Remove-pychecker-from-README-639.patch b/0001-Remove-pychecker-from-README-639.patch new file mode 100644 index 0000000..a145017 --- /dev/null +++ b/0001-Remove-pychecker-from-README-639.patch @@ -0,0 +1,35 @@ +From 4cf21896576b734fd901b0dbf6efb0a15162b4af Mon Sep 17 00:00:00 2001 +From: Adam Johnson +Date: Fri, 28 May 2021 18:28:29 +0100 +Subject: [PATCH] Remove pychecker from README (#639) + +Its last release was nearly 10 years ago: https://sourceforge.net/projects/pychecker/files/ , so it seems pretty dead. +--- + README.rst | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/README.rst b/README.rst +index c456d25..47ea7ed 100644 +--- a/README.rst ++++ b/README.rst +@@ -39,8 +39,7 @@ Design Principles + Pyflakes makes a simple promise: it will never complain about style, + and it will try very, very hard to never emit false positives. + +-Pyflakes is also faster than Pylint_ +-or Pychecker_. This is ++Pyflakes is also faster than Pylint_. This is + largely because Pyflakes only examines the syntax tree of each file + individually. As a consequence, Pyflakes is more limited in the + types of things it can check. +@@ -79,7 +78,6 @@ All changes should include tests and pass flake8_. + .. _Pylint: https://www.pylint.org/ + .. _flake8: https://pypi.org/project/flake8/ + .. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/ +-.. _Pychecker: http://pychecker.sourceforge.net/ + .. _`rebase your changes`: https://git-scm.com/book/en/v2/Git-Branching-Rebasing + .. _`GitHub pull request`: https://github.com/PyCQA/pyflakes/pulls + +-- +2.42.0.windows.2 + diff --git a/pyflakes.spec b/pyflakes.spec index b5aa164..d95708d 100644 --- a/pyflakes.spec +++ b/pyflakes.spec @@ -3,7 +3,7 @@ Pyflakes A simple program which checks Python source files for errors.Pyflakes Name: python-pyflakes Version: 2.3.1 -Release: 4 +Release: 5 Summary: passive checker of Python programs License: MIT URL: https://github.com/PyCQA/pyflakes @@ -15,6 +15,7 @@ BuildArch: noarch Patch0001: 0001-Detect-typing-module-attributes-with-import-typing-a.patch Patch0002: 0001-fix-typo-annoation-annotation-636.patch Patch0003: 0001-remove-old-and-unused-tracing-code-625.patch +Patch0004: 0001-Remove-pychecker-from-README-639.patch %package -n python3-pyflakes Summary: passive checker of Python programs @@ -80,6 +81,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jan 31 2024 liubo - 2.3.1-5 +- Remove pychecker from README + * Fri Jan 26 2024 liubo - 2.3.1-4 - remove old and unused "tracing" code (#625)