!4 Upgrade python-isort to 4.3.21
From: @huangtianhua Reviewed-by: Signed-off-by:
This commit is contained in:
commit
b49ad84a8e
BIN
isort-4.3.21.tar.gz
Normal file
BIN
isort-4.3.21.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,26 +1,39 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-isort
|
||||
Version: 4.3.4
|
||||
Release: 7
|
||||
Summary: A Python utility / library to sort imports
|
||||
|
||||
Version: 4.3.21
|
||||
Release: 1
|
||||
Summary: A Python utility / library to sort Python imports.
|
||||
License: MIT
|
||||
URL: https://github.com/timothycrosley/isort
|
||||
Source0: https://github.com/timothycrosley/isort/archive/%{version}/isort-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/43/00/8705e8d0c05ba22f042634f791a61f4c678c32175763dcf2ca2a133f4739/isort-4.3.21.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections and by type.
|
||||
|
||||
%package -n python3-isort
|
||||
Summary: A Python utility / library to sort imports
|
||||
Summary: A Python utility / library to sort Python imports.
|
||||
%{?python_provide:%python_provide python3-isort}
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
BuildRequires: python3-mock python3-pytest
|
||||
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pylama
|
||||
|
||||
%description -n python3-isort
|
||||
Isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections and by type.
|
||||
Python 3 version.
|
||||
|
||||
%package help
|
||||
Summary: A Python utility / library to sort Python imports.
|
||||
Provides: python3-isort-doc
|
||||
%description help
|
||||
A Python utility / library to sort Python imports.
|
||||
|
||||
%prep
|
||||
%autosetup -n isort-%{version}
|
||||
sed -i -e '1{\@^#!.*@d}' isort/main.py
|
||||
@ -46,6 +59,9 @@ ln -s isort-3 %{buildroot}%{_bindir}/isort
|
||||
%{python3_sitelib}/isort-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 02 2021 OpenStack_SIG <openstack@openeuler.org> - 4.3.21-1
|
||||
- Package upgrade to 4.3.21
|
||||
|
||||
* Wed Aug 05 2020 lingsheng <lingsheng@huawei.com> - 4.3.4-7
|
||||
- Remove python2-isort subpackage
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user