Blame SPECS/python-flake8.spec

e93455
Name:             python-flake8
e93455
Version:          6.1.0
e93455
Release:          4%{?dist}
e93455
Summary:          Python code checking using pyflakes, pycodestyle, and mccabe
e93455
e93455
License:          MIT
e93455
URL:              https://github.com/PyCQA/flake8
e93455
Source:           %{url}/archive/%{version}/flake8-%{version}.tar.gz
e93455
e93455
BuildArch:        noarch
e93455
e93455
BuildRequires:    python%{python3_pkgversion}-devel
e93455
e93455
# tox config mixes coverage and tests, so we specify this manually instead
e93455
BuildRequires:    python%{python3_pkgversion}-pytest
e93455
e93455
%description
e93455
Flake8 is a wrapper around PyFlakes, pycodestyle, and Ned's McCabe
e93455
script. It runs all the tools by launching the single flake8 script,
e93455
and displays the warnings in a per-file, merged output.
e93455
e93455
It also adds a few features: files that contain "# flake8: noqa" are
e93455
skipped, lines that contain a "# noqa" comment at the end will not
e93455
issue warnings, Git and Mercurial hooks are included, a McCabe
e93455
complexity checker is included, and it is extendable through
e93455
flake8.extension entry points.
e93455
e93455
%package -n python%{python3_pkgversion}-flake8
e93455
Summary:          %{summary}
e93455
e93455
%description -n python%{python3_pkgversion}-flake8
e93455
Flake8 is a wrapper around PyFlakes, pycodestyle, and Ned's McCabe
e93455
script. It runs all the tools by launching the single flake8 script,
e93455
and displays the warnings in a per-file, merged output.
e93455
e93455
It also adds a few features: files that contain "# flake8: noqa" are
e93455
skipped, lines that contain a "# noqa" comment at the end will not
e93455
issue warnings, Git and Mercurial hooks are included, a McCabe
e93455
complexity checker is included, and it is extendable through
e93455
flake8.extension entry points.
e93455
e93455
%prep
e93455
%autosetup -p1 -n flake8-%{version}
e93455
# Allow pycodestyle 2.12, https://bugzilla.redhat.com/2325146
e93455
sed -i 's/pycodestyle>=2.11.0,<2.12.0/pycodestyle>=2.11.0,<2.13.0/' setup.cfg
e93455
e93455
e93455
%generate_buildrequires
e93455
%pyproject_buildrequires
e93455
e93455
e93455
%build
e93455
%pyproject_wheel
e93455
e93455
e93455
%install
e93455
%pyproject_install
e93455
%pyproject_save_files flake8
e93455
e93455
# Backwards-compatibility symbolic links from when we had both Python 2 and 3
e93455
ln -s flake8 %{buildroot}%{_bindir}/flake8-3
e93455
ln -s flake8 %{buildroot}%{_bindir}/flake8-%{python3_version}
e93455
ln -s flake8 %{buildroot}%{_bindir}/python3-flake8
e93455
e93455
e93455
%check
e93455
%pytest -v
e93455
e93455
e93455
%files -n python%{python3_pkgversion}-flake8 -f %{pyproject_files}
e93455
%doc README.rst CONTRIBUTORS.txt
e93455
%{_bindir}/flake8
e93455
%{_bindir}/flake8-3
e93455
%{_bindir}/flake8-%{python3_version}
e93455
%{_bindir}/python3-flake8
e93455
e93455
e93455
%changelog
e93455
* Mon Nov 11 2024 Miro Hrončok <mhroncok@redhat.com> - 6.1.0-4
e93455
- Allow pycodestyle 2.12
e93455
- Fixes: rhbz#2325146
e93455
e93455
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
e93455
e93455
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 6.1.0-2
e93455
- Rebuilt for Python 3.13
e93455
e93455
* Sat Feb 17 2024 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 6.1.0-1
e93455
- Update to 6.1.0 (RHBZ #2227450)
e93455
e93455
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e93455
e93455
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e93455
e93455
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
e93455
e93455
* Thu Jul 13 2023 Adam Williamson <awilliam@redhat.com> - 6.0.0-1
e93455
- New release 6.0.0, rebuilt for Python 3.12 with fixes
e93455
e93455
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e93455
e93455
* Tue Aug 02 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 5.0.3-1
e93455
- Update to 5.0.3 (RHBZ #2112594)
e93455
e93455
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-5
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
e93455
e93455
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.0.1-4
e93455
- Rebuilt for Python 3.11
e93455
e93455
* Tue Feb 22 2022 Miro Hrončok <mhroncok@redhat.com> - 4.0.1-3
e93455
- Match runtime- and buildtime- requirements
e93455
- Drop redundant requirement of python3-mock
e93455
e93455
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
e93455
e93455
* Wed Oct 13 2021 Matthias Runge <mrunge@redhat.com> - 4.0.1-1
e93455
- rebase to work with upgraded pycodestyle (rhbz#2013271)
e93455
e93455
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.2-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
e93455
e93455
* Mon Jul 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 3.9.2-1
e93455
- Update to 3.9.2
e93455
e93455
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.8.4-2
e93455
- Rebuilt for Python 3.10
e93455
e93455
* Mon Feb 01 2021 Matthias Runge <mrunge@redhat.com> - 3.8.4-1
e93455
- update to 3.8.4 (rhbz#1884848)
e93455
e93455
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.3-4
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e93455
e93455
* Mon Aug 10 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8.3-3
e93455
- Fix compatibility with pytest 6
e93455
e93455
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.3-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e93455
e93455
* Tue Jun 09 2020 Matthias Runge <mrunge@redhat.com> - 3.8.3-1
e93455
- update to 3.8.3 (rhbz#1845273)
e93455
e93455
* Sun May 31 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8.2-1
e93455
- Update to 3.8.2 (#1727999)
e93455
e93455
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.7.7-8
e93455
- Rebuilt for Python 3.9
e93455
e93455
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.7-7
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e93455
e93455
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.7-6
e93455
- Rebuilt for Python 3.8.0rc1 (#1748018)
e93455
e93455
* Wed Oct 02 2019 Matthias Runge <mrunge@redhat.com> - 3.7.7-5
e93455
- fix dropped requirements (rhbz#1757463)
e93455
e93455
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.7-4
e93455
- Rebuilt for Python 3.8
e93455
e93455
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.7-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e93455
e93455
* Thu Jul 18 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.7-2
e93455
- Rebuilt to update automatic Python dependencies
e93455
e93455
* Tue Feb 26 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.7-1
e93455
- Update to 3.7.7 (#1670664)
e93455
- Drop python2
e93455
e93455
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e93455
e93455
* Fri Dec 21 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.6.0-1
e93455
- Update to 3.6.0.
e93455
- http://flake8.pycqa.org/en/latest/release-notes/3.6.0.html
e93455
e93455
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e93455
e93455
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-5
e93455
- Rebuilt for Python 3.7
e93455
e93455
* Mon Jun 11 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-4
e93455
- Make this build and run with pyflakes 2.0.0 (#1582075)
e93455
e93455
* Mon Jun  4 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.0-3
e93455
- apply upstream changes to use pycodestyle 2.4.0
e93455
e93455
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.5.0-2
e93455
- Update Python 2 dependency declarations to new packaging standards
e93455
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e93455
e93455
* Tue Feb 20 2018 Matthias Runge <mrunge@redhat.com> - 3.5.0-1
e93455
- update to 3.5.0 (rhbz#1508183)
e93455
e93455
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e93455
e93455
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 3.4.1-2
e93455
- Cleanup spec file conditionals
e93455
e93455
* Fri Jul 28 2017 Ville Skyttä <ville.skytta@iki.fi> - 3.4.1-1
e93455
- Update to 3.4.1
e93455
e93455
* Fri Jul 28 2017 Ville Skyttä <ville.skytta@iki.fi> - 3.4.0-1
e93455
- Update to 3.4.0
e93455
e93455
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e93455
e93455
* Sun Jul  9 2017 Ville Skyttä <ville.skytta@iki.fi> - 3.3.0-3
e93455
- Point unversioned flake8 executable to Python 3 in F27+
e93455
- Use python3_pkgversion in Python 3 package names
e93455
- Use some python2-* dependencies instead of plain python-* for Python 2
e93455
e93455
* Fri May 26 2017 Ville Skyttä <ville.skytta@iki.fi> - 3.3.0-2
e93455
- Run tests with -Wall
e93455
e93455
* Tue Feb  7 2017 Ville Skyttä <ville.skytta@iki.fi> - 3.3.0-1
e93455
- Update to 3.3.0
e93455
e93455
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.2.1-2
e93455
- Rebuild for Python 3.6
e93455
e93455
* Tue Nov 22 2016 Ville Skyttä <ville.skytta@iki.fi> - 3.2.1-1
e93455
- Update to 3.2.1
e93455
e93455
* Tue Nov 15 2016 Ville Skyttä <ville.skytta@iki.fi> - 3.2.0-1
e93455
- Update to 3.2.0
e93455
e93455
* Sat Sep 17 2016 Ville Skyttä <ville.skytta@iki.fi> - 3.0.4-1
e93455
- Update to 3.0.4
e93455
- Add standard versioned names for executable
e93455
e93455
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.5-2
e93455
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e93455
e93455
* Wed Jun 15 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.5.5-1
e93455
- Update to 2.5.5 (rhbz#1346516)
e93455
e93455
* Fri Feb 12 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-1
e93455
- Update to 2.5.4 (rhbz#1306870)
e93455
e93455
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e93455
e93455
* Sun Jan 31 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.5.2-1
e93455
- Update to 2.5.2 (rhbz#1303383)
e93455
e93455
* Wed Dec 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.5.1-1
e93455
- Update to 2.5.1 (rhbz#1289545)
e93455
- Update to current Fedora Python packaging guidelines
e93455
e93455
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e93455
e93455
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e93455
e93455
* Mon Nov 02 2015 Matthias Runge <mrunge@redhat.com> - 2.5.0-1
e93455
- update to 2.5.0 (rhbz#1275447)
e93455
e93455
* Mon Oct 26 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.4.1-3
e93455
- Update/improve description
e93455
e93455
* Mon Jul 06 2015 Matthias Runge <mrunge@redhat.com> - 2.4.1-2
e93455
- fix FTBFS (rhbz#1239837)
e93455
e93455
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e93455
e93455
* Thu May 21 2015 Matej Cepl <mcepl@redhat.com> - 2.4.1-1
e93455
- update to 2.4.1 (rhbz#1178814)
e93455
e93455
* Mon Oct 20 2014 Matthias Runge <mrunge@redhat.com> - 2.2.5-1
e93455
- update to 2.2.5 (rhbz#1132878)
e93455
e93455
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
e93455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e93455
e93455
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.1.0-2
e93455
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
e93455
e93455
* Wed Apr 09 2014 Matthias Runge <mrunge@redhat.com> - 2.1.0-1
e93455
- update to 2.1.0
e93455
e93455
* Thu Jan 02 2014 Matthias Runge <mrunge@redhat.com> - 2.0-5
e93455
- add missing requires to pep8, python-mccabe and pyflakes (rhbz#1046955)
e93455
e93455
* Mon Nov 18 2013 Matthias Runge <mrunge@redhat.com> - 2.0-4
e93455
- use __python2 instead of __python
e93455
- add CONTRIBUTORS.txt to py3 docs
e93455
e93455
* Tue Nov 05 2013 Matthias Runge <mrunge@redhat.com> - 2.0-3
e93455
- minimal spec cleanup, fix one rpmlint warning
e93455
e93455
* Sat Sep 08 2012 Matej Cepl <mcepl@redhat.com> - 1.4-2
e93455
- Update .spec file according to ongoing packaging review.
e93455
e93455
* Tue Jul 10 2012 Matej Cepl <mcepl@redhat.com> - 1.4-1
e93455
- initial package for Fedora
e93455