1 Star 0 Fork 5

jiangxinyu/python-autoflake

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-autoflake.spec 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2023-11-15 14:55 . Update package to version 2.2.1
%global pypi_name autoflake
Name: python-%{pypi_name}
Version: 2.2.1
Release: 1
Summary: Removes unused imports and unused variables.
License: Apache 2
URL: https://github.com/PyCQA/autoflake
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.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 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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jxy_git/python-autoflake.git
git@gitee.com:jxy_git/python-autoflake.git
jxy_git
python-autoflake
python-autoflake
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385