代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-autoflake 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global pypi_name autoflake
Name: python-%{pypi_name}
Version: 2.3.1
Release: 1
Summary: Removes unused imports and unused variables.
License: Apache 2
URL: https://github.com/PyCQA/autoflake
Source0: https://files.pythonhosted.org/packages/2a/cb/486f912d6171bc5748c311a2984a301f4e2d054833a1da78485866c71522/autoflake-2.3.1.tar.gz
BuildArch: noarch
%description
Removes unused imports and unused variables.
%package -n python3-%{pypi_name}
Summary: Removes unused imports and unused variables.
Provides: python-%{pypi_name}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
# for test
BuildRequires: python3-pytest
BuildRequires: python3-pyflakes
%description -n python3-%{pypi_name}
Removes unused imports and unused variables.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
%pytest
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/autoflake-*.dist-info/
%{python3_sitelib}/__pycache__/
%{_bindir}/autoflake
%{python3_sitelib}/LICENSE
%{python3_sitelib}/README.md
%{python3_sitelib}/autoflake.py
%{python3_sitelib}/test_autoflake.py
%changelog
* Mon Jul 29 2024 Hann <hannannan@kylinos.cn> - 2.3.1-1
- Update package to version 2.3.1
- Always set encoding when reading setup.cfg
* Fri Feb 23 2024 chendexi <chendexi@kylinos.cn> - 2.3.0-1
- Update package to version 2.3.0
* Mon Jun 19 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.2.1-1
- Update package to version 2.2.1
* Wed Sep 6 2023 li-miaomiao <mmlidc@isoftstone.com> - 2.2.0-2
- Start self-test of software package
* Fri Aug 25 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 2.2.0-1
- Init package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。