Initial import (#1906490).
This commit is contained in:
parent
40b3161b9b
commit
a5ddc25d77
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/setuptools-rust-0.11.6.tar.gz
|
52
python-setuptools-rust.spec
Normal file
52
python-setuptools-rust.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: python-setuptools-rust
|
||||
Version: 0.11.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Setuptools Rust extension plugin
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/PyO3/setuptools-rust
|
||||
Source0: %{pypi_source setuptools-rust}
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(setuptools) >= 46.1
|
||||
BuildRequires: python3dist(setuptools-scm) >= 3.4.3
|
||||
BuildRequires: python3dist(toml) >= 0.9.0
|
||||
BuildRequires: python3dist(wheel)
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%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: %{summary}
|
||||
Requires: python3dist(setuptools) >= 46.1
|
||||
Requires: rust-packaging
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%autosetup -n setuptools-rust-%{version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf setuptools-rust.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-setuptools-rust
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/setuptools_rust/
|
||||
%{python3_sitelib}/setuptools_rust-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Thu Jan 14 2021 Christian Heimes <cheimes@redhat.com> - 0.11.6-1
|
||||
- Initial package.
|
||||
- Resolves: rhbz#1906490
|
Loading…
Reference in New Issue
Block a user