[packages/maturin] Up to 1.8.2

arekm arekm at pld-linux.org
Mon Mar 3 12:15:43 CET 2025


commit 4baeda9ecaa2f36e6d3ba003de0c40da9fde7a2b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 3 11:16:13 2025 +0100

    Up to 1.8.2

 maturin.spec | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/maturin.spec b/maturin.spec
index 2f91188..8003ae1 100644
--- a/maturin.spec
+++ b/maturin.spec
@@ -1,25 +1,26 @@
 %bcond_without	python3
 
 %define		module		maturin
-%define		crates_ver	0.10.3
+%define		crates_ver	1.8.2
 
 Summary:	Build and publish rust crates as python packages
 Name:		maturin
-Version:	0.10.3
-Release:	3
+Version:	1.8.2
+Release:	1
 License:	MIT or Apache v2.0
 Group:		Applications
 Source0:	https://github.com/PyO3/maturin/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	b1d821f86a97dc10648f38aa2c6a8540
+# Source0-md5:	762eaadba0e0a250a30892c8d17c32a2
 # ./create-crates.sh
 Source1:	%{name}-crates-%{crates_ver}.tar.xz
-# Source1-md5:	1b5a724601e35752b98b5ad8afc2a2b1
+# Source1-md5:	c15d367a752fc0c9997eb4c6a95f7df5
 URL:		https://github.com/PyO3/maturin
 BuildRequires:	cargo
 BuildRequires:	rpmbuild(macros) >= 2.004
 BuildRequires:	rust
 %if %{with python3}
 BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools_rust >= 1.0
 %endif
 ExclusiveArch:	%{rust_arches}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,7 +34,6 @@ Summary:	Maturin bindings for Python
 Group:		Libraries/Python
 Requires:	python3-modules >= 1:3.2
 Requires:	%{name} = %{version}-%{release}
-BuildArch:	noarch
 
 %description -n python3-%{module}
 Maturin bindings for Python.
@@ -82,14 +82,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changelog.md Readme.md
+%doc Changelog.md README.md
 %attr(755,root,root) %{_bindir}/maturin
 
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%{py3_sitescriptdir}/get_interpreter_metadata.py
-%{py3_sitescriptdir}/__pycache__/get_interpreter_metadata*
-%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py3_sitedir}/%{module}
+%{py3_sitedir}/%{module}-%{version}-py*.egg-info
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/maturin.git/commitdiff/4baeda9ecaa2f36e6d3ba003de0c40da9fde7a2b



More information about the pld-cvs-commit mailing list