6 Star 0 Fork 3

src-openEuler/python-pre-commit-hooks

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pre_commit_hooks.spec 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2024-02-22 17:18 . Update package to version 4.5.0
%global _empty_manifest_terminate_build 0
%global pypi_name pre-commit-hooks
%global srcname pre_commit_hooks
%global _description %{expand:
Some out-of-the-box hooks for pre-commit.}
Name: python-%{pypi_name}
Version: 4.5.0
Release: 1
Summary: Some out-of-the-box hooks for pre-commit.
License: MIT
URL: https://github.com/pre-commit/pre-commit-hooks
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%description %_description
%package -n python3-%{pypi_name}
Summary: Some out-of-the-box hooks for pre-commit.
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.md
%{_bindir}/*
%{python3_sitelib}/*
%license LICENSE
%changelog
* Thu Feb 22 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.5.0-1
- Update package to version 4.5.0
Fix blank lines in file-contents-sorter plugin
* Wed Aug 23 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 4.4.0-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-pre-commit-hooks.git
git@gitee.com:src-openeuler/python-pre-commit-hooks.git
src-openeuler
python-pre-commit-hooks
python-pre-commit-hooks
master

搜索帮助