1 Star 0 Fork 13

CaiYX/python-pytools

forked from src-openEuler/python-pytools
关闭
 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pytools.spec 2.07 KB
一键复制 编辑 原始数据 按行查看 历史
CaiYX 提交于 2024-10-25 15:17 +08:00 . Update package to version 2024.1.14
%global _empty_manifest_terminate_build 0
Name: python-pytools
Version: 2024.1.14
Release: 1
Summary: A collection of tools for Python
License: MIT
URL: http://pypi.python.org/pypi/pytools
Source0: https://files.pythonhosted.org/packages/36/03/a77353d9763877fa8984de29a32aaf26ca98227cc405157d46c8a6e1cf6a/pytools-2024.1.14.tar.gz
BuildArch: noarch
%description
Pytools is a big bag of things that are "missing" from the Python standard library.
%package -n python3-pytools
Summary: A collection of tools for Python
Provides: python-pytools
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
%description -n python3-pytools
Pytools is a big bag of things that are "missing" from the Python standard library.
%package help
Summary: Development documents and examples for pytools
Provides: python3-pytools-doc
%description help
Pytools is a big bag of things that are "missing" from the Python standard library.
%prep
%autosetup -n pytools-%{version}
%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
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-pytools
%{python_sitelib}/
%files help
%{_docdir}/*
%changelog
* Fri Oct 25 2024 caiyuxin <caiyuxin@kylinos.cn> - 2024.1.14-1
- Update package to version 2024.1.14
* Fix intersphinx mappings
* Use system byteorder to match numpy
* Add graph utilities for tag propagation
* Fri Jul 28 2023 sunhui <sunhui@kylinos.cn> - 2023.1.1-1
- Update package to version 2023.1.1
* Fri Jul 16 2021 OpenStack_SIG <openstack@openeuler.org>
- Package Spec generated
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caiyuxin/python-pytools.git
git@gitee.com:caiyuxin/python-pytools.git
caiyuxin
python-pytools
python-pytools
master

搜索帮助