Ai
10 Star 0 Fork 10

src-openEuler/python-setuptools-rust
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-setuptools-rust.spec 3.26 KB
一键复制 编辑 原始数据 按行查看 历史
Gioncon 提交于 2025-09-01 10:48 +08:00 . Update version to 1.12.0
%global _empty_manifest_terminate_build 0
Name: python-setuptools-rust
Version: 1.12.0
Release: 1
Summary: Setuptools Rust extension plugin
License: MIT
URL: https://github.com/PyO3/setuptools-rust
Source0: https://files.pythonhosted.org/packages/bc/c4/8d3d282cee60d3ea0369fa15ce27387810040360adb4133e31990a7a2aba/setuptools_rust-1.12.0.tar.gz
BuildArch: noarch
%description
Setuptools helpers for Rust Python extensions. Compile and distribute Python
extensions written in Rust as easily as if they were written in C.
%package -n python3-setuptools-rust
Summary: Setuptools Rust extension plugin
Provides: python-setuptools-rust
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-semantic_version
BuildRequires: python3-toml
BuildRequires: python3-setuptools_scm
BuildRequires: python3-typing-extensions
Requires: python3-setuptools
Requires: python3-semantic_version
Requires: python3-toml
%description -n python3-setuptools-rust
Setuptools helpers for Rust Python extensions. Compile and distribute Python
extensions written in Rust as easily as if they were written in C.
%package help
Summary: Setuptools Rust extension plugin
Provides: python3-setuptools-rust-doc
%description help
Setuptools helpers for Rust Python extensions. Compile and distribute Python
extensions written in Rust as easily as if they were written in C.
%prep
%autosetup -n setuptools_rust-%{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
%files -n python3-setuptools-rust
%doc README.md
%license LICENSE
%{python3_sitelib}/setuptools_rust
%{python3_sitelib}/setuptools_rust*.dist-info/
%files help
%{_docdir}/*
%changelog
* Mon Sep 01 2025 guochao <guochao@kylinos.cn> - 1.12.0-1
- Update package to version 1.12.0
* Thu May 29 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.11.1-1
- Update package to version 1.11.1
Fix finding cargo artifacts when filenames are empty
Drop support for Python 3.8
Support free-threaded Python
Support adding custom env vars
* Thu Oct 24 2024 guochao <guochao@kylinos.cn> - 1.10.2-1
- Update package to version 1.10.2
- bump pypa/cibuildwheel from 2.19.2 to 2.20.0
- fix handling of unset --debug flag
* Mon Oct 21 2024 dongqi <dongqi1@kylinos.cn> - 1.10.0-1
- Update package to version 1.10.0
* Thu Jul 04 2024 liuzhilin <liuzhilin@kylinos.cn> - 1.9.0-2
- Fix Source0 url
* Thu Mar 14 2024 wangqiang <wangqiang1@kylinos.cn> - 1.9.0-1
- Update package to version 1.9.0
* Fri Feb 02 2024 zhengting<zhengting13@huawei.com> - 1.8.1-1
- Update package to version 1.8.1
* Mon Jul 17 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.6.0-1
- Update package to version 1.6.0
* Thu Apr 27 2023 Ge Wang <wang__ge@126.com> - 1.5.2-1
- Update to version 1.5.2
* Sat Aug 14 2021 OpenStack_SIG <openstack@openeuler.org> - 0.12.1-1
- Initial package.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-setuptools-rust.git
git@gitee.com:src-openeuler/python-setuptools-rust.git
src-openeuler
python-setuptools-rust
python-setuptools-rust
master

搜索帮助