Ai
5 Star 0 Fork 8

src-openEuler/python-hatch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-hatch.spec 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
大漠行舟 提交于 2023-11-29 11:25 +08:00 . Init package with version 1.7.0
%global _empty_manifest_terminate_build 0
Name: python-hatch
Version: 1.7.0
Release: 1
Summary: A modern, extensible Python project manager.
License: MIT
URL: https://github.com/pypa/hatch
Source0: https://files.pythonhosted.org/packages/5a/ff/d0dc75f39798af1d3d2258c82c5fdeca2817cbfadba7c41e8fb7cf0db984/hatch-1.7.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Hatch is a modern, extensible Python project manager.
%package -n python3-hatch
Summary: A modern, extensible Python project manager.
Provides: python-hatch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-hatch
Hatch is a modern, extensible Python project manager.
%package help
Summary: Development documents and examples for hatch
Provides: python3-hatch-doc
%description help
Development documents and examples for hatch.
%prep
%autosetup -n hatch-%{version}
sed -i 's/\~=/\>=/g' pyproject.toml
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/doclist.lst .
%files -n python3-hatch
%doc README.md
%license LICENSE.txt
%{_bindir}/hatch
%{python3_sitelib}/hatch
%{python3_sitelib}/hatch*.dist-info/
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed Nov 29 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.7.0-1
- Init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-hatch.git
git@gitee.com:src-openeuler/python-hatch.git
src-openeuler
python-hatch
python-hatch
openEuler-24.03-LTS-SP1

搜索帮助