~fnux/qutebrowser-adblock-rpm

ref: c275800f305b472102f3cba026a8014ab7b11c4d qutebrowser-adblock-rpm/maturin/maturin.spec -rw-r--r-- 1.0 KiB
c275800fTimothée Floure maturin: bump to 0.11.2 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%global debug_package %{nil}

Name:		maturin
Version:	0.11.2
Release:	1%{?dist}
Summary:	Build tool for publishing rust as python packages
License:	MIT and ASL 2.0
URL:		https://github.com/PyO3/maturin
Source0:	%pypi_source %{name}

BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-toml
BuildRequires: rust-packaging

%description
Build and publish crates with pyo3, rust-cpython and cffi bindings as well as
rust binaries as python packages.


%prep
%autosetup


%build
%py3_build

%install
%py3_install

# FIXME: patch install script instead of cleaning up afterwards.
mv %{buildroot}/%{name} %{buildroot}/%{python3_sitelib}/%{name}

%files
%license license-mit license-apache
%doc Readme.md Changelog.md
%{_bindir}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{name}

%changelog
* Fri Aug 20 2021 Timothée Floure <fnux@fedoraproject.org> - 0.11.2-1
- New upstream release.

* Sun Mar 28 2021 Timothée Floure <fnux@fedoraproject.org> - 0.9.4-1
- Let there be package.