|
|
bdf0df6 |
%global srcname flake8-import-order
|
|
|
a6cd3b9 |
%bcond_with pylama
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
Name: python-%{srcname}
|
|
|
b6e716e |
Version: 0.18.1
|
|
|
97ee488 |
Release: 5%{?dist}
|
|
|
bdf0df6 |
Summary: Flake8 plugin for checking order of imports in Python code
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
License: LGPLv3
|
|
|
a6cd3b9 |
URL: https://github.com/PyCQA/%{srcname}
|
|
|
a6cd3b9 |
Source0: https://files.pythonhosted.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
a6cd3b9 |
Patch0: flake8-import-order-0.9.2-nolama.patch
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
BuildArch: noarch
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%description
|
|
|
bdf0df6 |
%{summary}.
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
bdf0df6 |
Summary: %{summary}
|
|
|
bdf0df6 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
bdf0df6 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
a6cd3b9 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
a6cd3b9 |
BuildRequires: python%{python3_pkgversion}-flake8
|
|
|
a6cd3b9 |
BuildRequires: python%{python3_pkgversion}-pycodestyle
|
|
|
beceea2 |
BuildRequires: python%{python3_pkgversion}-asttokens
|
|
|
bdf0df6 |
Requires: python%{python3_pkgversion}-flake8
|
|
|
a6cd3b9 |
Requires: python%{python3_pkgversion}-pycodestyle
|
|
|
beceea2 |
Requires: python%{python3_pkgversion}-asttokens
|
|
Orion Poplawski |
2e4b441 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
bdf0df6 |
%{summary}.
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%prep
|
|
|
a6cd3b9 |
%setup -q -n %{srcname}-%{version}
|
|
|
a6cd3b9 |
%if ! %{with pylama}
|
|
|
a6cd3b9 |
%patch0 -p1
|
|
|
a6cd3b9 |
rm tests/test_pylama_linter.py
|
|
|
a6cd3b9 |
%endif
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%build
|
|
|
bdf0df6 |
%py3_build
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%install
|
|
|
bdf0df6 |
%py3_install
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%check
|
|
|
a6cd3b9 |
%if ! %{with pylama}
|
|
|
a6cd3b9 |
mv flake8_import_order/pylama_linter.py flake8_import_order/pylama_linter.NOT
|
|
|
a6cd3b9 |
%endif
|
|
|
bdf0df6 |
|
|
|
cc84bc1 |
%{__python3} setup.py develop --user
|
|
|
cc84bc1 |
%{__python3} -m pytest -v
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
Orion Poplawski |
2e4b441 |
%license COPYING
|
|
|
bdf0df6 |
%doc README.rst
|
|
|
bdf0df6 |
%{python3_sitelib}/*
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
|
|
|
bdf0df6 |
%changelog
|
|
|
97ee488 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-5
|
|
|
97ee488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
97ee488 |
|
|
|
bb8d7c9 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.18.1-4
|
|
|
bb8d7c9 |
- Rebuilt for Python 3.11
|
|
|
bb8d7c9 |
|
|
|
7509b6e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-3
|
|
|
7509b6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7509b6e |
|
|
|
0f369aa |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-2
|
|
|
0f369aa |
- Second attempt - Rebuilt for
|
|
|
0f369aa |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
0f369aa |
|
|
|
b6e716e |
* Tue Jun 15 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18.1-1
|
|
|
b6e716e |
- Update to latest version (#1685087)
|
|
|
b6e716e |
|
|
|
b7d897f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.18-11
|
|
|
b7d897f |
- Rebuilt for Python 3.10
|
|
|
b7d897f |
|
|
|
aee0261 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-10
|
|
|
aee0261 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
aee0261 |
|
|
|
9da4485 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-9
|
|
|
9da4485 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9da4485 |
|
|
|
ca91294 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.18-8
|
|
|
ca91294 |
- Rebuilt for Python 3.9
|
|
|
ca91294 |
|
|
|
646fd42 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-7
|
|
|
646fd42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
646fd42 |
|
|
|
f6f3e0d |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18-6
|
|
|
f6f3e0d |
- Rebuilt for Python 3.8
|
|
|
f6f3e0d |
|
|
|
e536c8e |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-5
|
|
|
e536c8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e536c8e |
|
|
|
56144c4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-4
|
|
|
56144c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
56144c4 |
|
|
|
8db61de |
* Wed Oct 24 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18-3
|
|
|
8db61de |
- Subpackage python2-flake8-import-order has been removed
|
|
|
8db61de |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
8db61de |
|
|
|
42d3d85 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-2
|
|
|
42d3d85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
42d3d85 |
|
|
|
b4a7e0c |
* Mon Jul 9 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18-1
|
|
|
b4a7e0c |
- Update to 0.18 (#1599108)
|
|
|
b4a7e0c |
|
|
|
934e254 |
* Thu Jul 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17.1-2
|
|
|
934e254 |
- Rebuilt for Python 3.7
|
|
|
934e254 |
|
|
|
8ba6ce3 |
* Mon Mar 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17.1-1
|
|
|
8ba6ce3 |
- Update to 0.17.1 (#1544280)
|
|
|
9b92636 |
- Conditionalize the Python 2 subpackage
|
|
|
8ba6ce3 |
|
|
|
c630e87 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-3
|
|
|
c630e87 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c630e87 |
|
|
|
a276b85 |
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.15-2
|
|
|
a276b85 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
a276b85 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
a276b85 |
|
|
|
ce14e5f |
* Thu Nov 9 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.15-1
|
|
|
ce14e5f |
- Update to 0.15 (#1508184)
|
|
|
ce14e5f |
|
|
|
39dd004 |
* Mon Nov 6 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.3-1
|
|
|
39dd004 |
- Update to 0.14.2 (#1508184)
|
|
|
39dd004 |
|
|
|
3f1b52d |
* Sun Jul 30 2017 Ville Skyttä <ville.skytta@iki.fi> - 0.13-1
|
|
|
3f1b52d |
- Update to 0.13
|
|
|
3f1b52d |
|
|
|
42e2ab7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
42e2ab7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
42e2ab7 |
|
|
|
b7365f3 |
* Fri May 26 2017 Ville Skyttä <ville.skytta@iki.fi> - 0.12-2
|
|
|
b7365f3 |
- Run tests with -Wall
|
|
|
b7365f3 |
|
|
|
3b2e40b |
* Tue Feb 14 2017 Ville Skyttä <ville.skytta@iki.fi> - 0.12-1
|
|
|
3b2e40b |
- Update to 0.12
|
|
|
3b2e40b |
|
|
|
7c806a2 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
|
|
|
7c806a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7c806a2 |
|
|
|
c3f385b |
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.11-2
|
|
|
c3f385b |
- Rebuild for Python 3.6
|
|
|
c3f385b |
|
|
|
f861e1c |
* Fri Nov 11 2016 Ville Skyttä <ville.skytta@iki.fi> - 0.11-1
|
|
|
f861e1c |
- Update to 0.11
|
|
|
f861e1c |
|
|
Orion Poplawski |
2e4b441 |
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 0.9.2-2
|
|
Orion Poplawski |
2e4b441 |
- Use %%license
|
|
Orion Poplawski |
2e4b441 |
- Minor spec cleanup
|
|
Orion Poplawski |
2e4b441 |
|
|
|
a6cd3b9 |
* Sun Sep 18 2016 Ville Skyttä <ville.skytta@iki.fi> - 0.9.2-1
|
|
|
a6cd3b9 |
- Update to 0.9.2
|
|
|
a6cd3b9 |
|
|
|
bd21461 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
|
|
|
bd21461 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
bd21461 |
|
|
|
263693f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
|
263693f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
263693f |
|
|
|
bdf0df6 |
* Wed Dec 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-1
|
|
|
bdf0df6 |
- First build
|