525025c
%global srcname pep8-naming
525025c
%global srcname_ pep8_naming
525025c
%global _description \
525025c
Check the PEP-8 naming conventions. \
525025c
This module provides a plugin for flake8, the Python code checker. \
525025c
(It replaces the plugin flint-naming for the flint checker.)
525025c
525025c
525025c
Name:           python-%{srcname}
85998a3
Version:        0.11.1
a9d01da
Release:        3%{?dist}
525025c
Summary:        Check PEP-8 naming conventions, a plugin for flake8
525025c
525025c
License:        MIT
525025c
URL:            https://pypi.python.org/pypi/%{srcname}
c6decb5
Source0:        %pypi_source
525025c
525025c
BuildArch:      noarch
525025c
525025c
BuildRequires:  python3-devel
eb1ce2f
BuildRequires:  python3dist(setuptools)
eb1ce2f
BuildRequires:  python3dist(flake8)
c6decb5
BuildRequires:  (python3dist(flake8-polyfill) >= 1.0.2 with python3dist(flake8-polyfill) < 2)
525025c
525025c
%description %{_description}
525025c
525025c
525025c
%package -n python3-%{srcname}
525025c
Summary:        %{summary}
525025c
%{?python_provide:%python_provide python3-%{srcname}}
eb1ce2f
Requires:       python3dist(flake8)
525025c
525025c
%description -n python3-%{srcname} %{_description}
525025c
525025c
525025c
%prep
525025c
%autosetup -n %{srcname}-%{version}
525025c
525025c
525025c
%build
525025c
%py3_build
525025c
525025c
525025c
%install
525025c
%py3_install
525025c
525025c
525025c
%check
85998a3
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} run_tests.py
525025c
525025c
525025c
%files -n python3-%{srcname}
525025c
%doc README.rst
2a81764
%license LICENSE
525025c
%{python3_sitelib}/pep8ext_naming.py
525025c
%{python3_sitelib}/__pycache__/pep8ext_naming.*.py*
eb1ce2f
%{python3_sitelib}/%{srcname_}-%{version}-py%{python3_version}.egg-info
525025c
525025c
525025c
%changelog
a9d01da
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-3
a9d01da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a9d01da
1758399
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-2
1758399
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1758399
85998a3
* Sun Jun 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.11.1-1
85998a3
- Update to latest version
85998a3
4da22b4
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-2
4da22b4
- Rebuilt for Python 3.9
4da22b4
a78c2f8
* Sun Mar 22 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.10.0-1
a78c2f8
- Update to latest version
a78c2f8
19f91e7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
19f91e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
19f91e7
50345ea
* Thu Jan 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.1-1
50345ea
- Update to latest version
50345ea
ebaf8bc
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-12
ebaf8bc
- Rebuilt for Python 3.8.0rc1 (#1748018)
ebaf8bc
b3201e2
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-11
b3201e2
- Rebuilt for Python 3.8
b3201e2
151fb00
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-10
151fb00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
151fb00
2e56061
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-9
2e56061
- Subpackage python2-pep8-naming has been removed
2e56061
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2e56061
99d1dfa
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-8
99d1dfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
99d1dfa
839321e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
839321e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
839321e
8388cdb
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-6
8388cdb
- Rebuilt for Python 3.7
8388cdb
e2e1ad5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
e2e1ad5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e2e1ad5
2a81764
* Fri Oct 27 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.1-4
2a81764
- Use python2- BuildRequires/Requires.
2a81764
- Add license file to package.
2a81764
525025c
* Wed Oct 25 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.1-3
525025c
- Enable tests during build.
525025c
- Simplify spec for Fedora.
525025c
525025c
* Thu Jun 08 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.1-2
525025c
- Don't build python3-pep8-naming on EL7
525025c
525025c
* Tue Jun 6 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.4.1-1
525025c
- New upstream release
525025c
525025c
* Tue Feb 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.3-1
525025c
- Initial RPM release