diff --git a/isort-5.13.2.tar.gz b/isort-5.13.2.tar.gz deleted file mode 100644 index b25e69a9cb7d4b12bda71d0ba1d1e4cd5db1f05f..0000000000000000000000000000000000000000 Binary files a/isort-5.13.2.tar.gz and /dev/null differ diff --git a/isort-6.0.1.tar.gz b/isort-6.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..904dabcef2561518edbc3700c6549110b0231c75 Binary files /dev/null and b/isort-6.0.1.tar.gz differ diff --git a/python-isort.spec b/python-isort.spec index 7c4d8aab72fd720c396d21af6b6fc196b78928e7..44bd9fe3254d2636a35d7c21e45d7eae95ba3c2f 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -1,39 +1,19 @@ -%global _empty_manifest_terminate_build 0 Name: python-isort -Version: 5.13.2 -Release: 1 -Summary: A Python utility / library to sort Python imports. +Version: 6.0.1 +Release: 1%{?dist} +Summary: A Python utility / library to sort imports. + License: MIT -URL: https://github.com/timothycrosley/isort +URL: https://pycqa.github.io/isort/ Source0: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.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 Python imports. -%{?python_provide:%python_provide python3-isort} -# 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 -BuildRequires: python-pep517 -%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. +%description +isort is a Python utility / library to sort imports. %prep %autosetup -n isort-%{version} @@ -43,39 +23,12 @@ A Python utility / library to sort Python imports. %install %py3_install -mv %{buildroot}%{_bindir}/isort{,-%{python3_version}} -ln -s isort-%{python3_version} %{buildroot}%{_bindir}/isort-3 -ln -s isort-3 %{buildroot}%{_bindir}/isort - -%check -# Disable test because test is not available -# https://github.com/PyCQA/isort/issues/2129 -#pytest tests -%files -n python3-isort -%doc *.md LICENSE -%{_bindir}/isort -%{_bindir}/isort-3 -%{_bindir}/isort-%{python3_version} -%{_bindir}/isort-identify-imports +%files +%doc README.md %{python3_sitelib}/isort/ -%{python3_sitelib}/isort-*.egg-info/ +%{python3_sitelib}/isort-%{version}-py*.egg-info/ %changelog -* Fri May 10 2024 xu_ping <707078654@qq.com> - 5.13.2-1 -- Upgrade version to 5.13.2 - -* Thu Apr 25 2024 wangkai <13474090681@163.com> - 5.12.0-2 -- Disable test - -* Tue Sep 19 2023 xu_ping <707078654@qq.com> - 5.12.0-1 -- Package upgrade to 5.12.0 - -* Mon Aug 02 2021 OpenStack_SIG - 4.3.21-1 -- Package upgrade to 4.3.21 - -* Wed Aug 05 2020 lingsheng - 4.3.4-7 -- Remove python2-isort subpackage - -* Mon Feb 24 2020 Senlin Xia - 4.3.4-6 -- Package init +* Thu Mar 27 2025 Your Name - 6.0.1-1 +- Initial package \ No newline at end of file