!7 Update package

From: @liqiuyu123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-12-19 12:21:16 +00:00 committed by Gitee
commit db4e729926
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 26 additions and 25 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,20 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-flake8-import-order Name: python-flake8-import-order
Version: 0.18.1 Version: 0.18.2
Release: 2 Release: 1
Summary: Flake8 and pylama plugin that checks the ordering of import statements. Summary: Flake8 and pylama plugin that checks the ordering of import statements.
License: LGPLv3 and MIT and GPLv3 License: LGPLv3 and MIT and GPLv3
URL: https://github.com/PyCQA/flake8-import-order URL: https://github.com/PyCQA/flake8-import-order
Source0: https://files.pythonhosted.org/packages/81/47/5f2cea0164e77dd40726d83b4c865c2a701f60b73cb6af7b539cd42aafb4/flake8-import-order-0.18.1.tar.gz Source0: https://files.pythonhosted.org/packages/23/55/181d5e1b70ff1c7e1ee1d5e2247dfd53f1168fe706656f57e788aa1df2ab/flake8-import-order-0.18.2.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-flake8
Requires: python3-pylama
Requires: python3-pycodestyle
Requires: python3-setuptools
Requires: python3-enum34
Requires: python3-pyflakes
%description %description
A flake8 and Pylama plugin that checks the ordering of your imports. It does A flake8 and Pylama plugin that checks the ordering of your imports. It does
not check anything else about the imports. Merely that they are grouped and ordered correctly. not check anything else about the imports. Merely that they are grouped and ordered correctly.
@ -14,26 +22,18 @@ not check anything else about the imports. Merely that they are grouped and orde
%package -n python3-flake8-import-order %package -n python3-flake8-import-order
Summary: Flake8 and pylama plugin that checks the ordering of import statements. Summary: Flake8 and pylama plugin that checks the ordering of import statements.
Provides: python-flake8-import-order Provides: python-flake8-import-order
# Base build requires BuildRequires: python3-devel
BuildRequires: python3-devel BuildRequires: python3-setuptools
BuildRequires: python3-setuptools BuildRequires: python3-pbr
BuildRequires: python3-pbr BuildRequires: python3-pip
BuildRequires: python3-pip BuildRequires: python3-wheel
BuildRequires: python3-wheel BuildRequires: python3-pycodestyle
# General requires BuildRequires: python3-enum34
BuildRequires: python3-pycodestyle BuildRequires: python3-pylama
BuildRequires: python3-enum34 BuildRequires: python3-flake8
BuildRequires: python3-pylama BuildRequires: python3-pyflakes
BuildRequires: python3-flake8 BuildRequires: python3-pytest
BuildRequires: python3-pyflakes
BuildRequires: python3-pytest
# General requires
Requires: python3-flake8
Requires: python3-pylama
Requires: python3-pycodestyle
Requires: python3-setuptools
Requires: python3-enum34
Requires: python3-pyflakes
%description -n python3-flake8-import-order %description -n python3-flake8-import-order
A flake8 and Pylama plugin that checks the ordering of your imports. It does A flake8 and Pylama plugin that checks the ordering of your imports. It does
not check anything else about the imports. Merely that they are grouped and ordered correctly. not check anything else about the imports. Merely that they are grouped and ordered correctly.
@ -51,7 +51,6 @@ not check anything else about the imports. Merely that they are grouped and orde
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
@ -87,11 +86,13 @@ mv %{buildroot}/doclist.lst .
%files -n python3-flake8-import-order -f filelist.lst %files -n python3-flake8-import-order -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Dec 16 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.18.2-1
- Update package to version 0.18.2
* Tue Nov 16 2021 OpenStack_SIG <openstack@openeuler.org> - 0.18.1-2 * Tue Nov 16 2021 OpenStack_SIG <openstack@openeuler.org> - 0.18.1-2
- Correct %check to run tests - Correct %check to run tests