Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/python-setuptools-rust.git#8ced8f9ce0e5e2aed03524100e6d67ad1650eaf6
This commit is contained in:
parent
74b316e543
commit
89f9f221dc
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
/setuptools-rust-0.11.6.tar.gz
|
||||
/setuptools-rust-0.12.0.tar.gz
|
||||
/setuptools-rust-0.12.1.tar.gz
|
||||
|
@ -1,6 +1,12 @@
|
||||
%if 0%{?rhel}
|
||||
%bcond_with tests
|
||||
%else
|
||||
%bcond_without tests
|
||||
%endif
|
||||
|
||||
Name: python-setuptools-rust
|
||||
Version: 0.11.6
|
||||
Release: 4%{?dist}
|
||||
Version: 0.12.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Setuptools Rust extension plugin
|
||||
|
||||
License: MIT
|
||||
@ -21,6 +27,9 @@ BuildRequires: rust-packaging >= 1.45
|
||||
# RHEL has rust-toolset and neither setuptools-scm nor wheel
|
||||
BuildRequires: rust-toolset >= 1.45
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: rust-pyo3+default-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Setuptools helpers for Rust Python extensions. Compile and distribute Python
|
||||
@ -67,6 +76,15 @@ EOF
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{__python3} -c "from setuptools_rust import RustExtension, version"
|
||||
|
||||
%if %{with tests}
|
||||
cd examples/tomlgen
|
||||
%cargo_prep
|
||||
sed -i 's/"0\.[0-9.]*"/"^0"/g' setup.cfg
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py build
|
||||
cd ../..
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-setuptools-rust
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
@ -74,6 +92,13 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{python3_sitelib}/setuptools_rust-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Thu Mar 11 2021 Christian Heimes <cheimes@redhat.com> - 0.12.1-1
|
||||
- Update to 0.12.1
|
||||
|
||||
* Tue Mar 09 2021 Christian Heimes <cheimes@redhat.com> - 0.12.0-1
|
||||
- Update to 0.12.0 (#1936679)
|
||||
- Run tomlgen example as test case
|
||||
|
||||
* Thu Feb 11 2021 Christian Heimes <cheimes@redhat.com> - 0.11.6-4
|
||||
- Fix RHEL build: remove wheel build requirements, use rust-toolset
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (setuptools-rust-0.11.6.tar.gz) = 5ebc3944d7fb2fb8959c7fc7a897b7e658169bc07f8f29d6acd4a4710009c9c213005e3e846c30b565f743aff72f22582474b5ece9c4e58e43081d60c140a7cb
|
||||
SHA512 (setuptools-rust-0.12.1.tar.gz) = 02dc2e2c91533ae847cfe7be0e7b0816fb376405f979c9767ba415c0223aa57429f1c038eb6c06ac9ec3950738b55026fbc6d4c8a8d938cf58a975d40d84cdb8
|
||||
|
Loading…
Reference in New Issue
Block a user