- Update to 1.7.8
* Fix aarch64 Windows cross compilation by @messense in #2359 - Release 1.7.7 * fix abi3 interpreter discovery on Windows by @davidhewitt in #2333 * fix: remove extra indent in generated CI by @jsstevenson in #2340 * Upgrade cargo-xwin to unify rustls versions by @kornelski in #2222 * Normalize python source directory path by @messense in #2343 * Enable fat LTO for maturin release workflow by @messense in #2344 * Use different binding dirs for different uniffi modules by @messense in #2348 * Update minimal Python minor version for pyo3 0.23 by @messense in #2350 * Limit minimal PyPy version based on bindings crate version by @messense in #2351 * Remove hard coded pip show in fix_direct_url by @mbway in #2352 * Do not use xwin to compile on Windows when MSVC compiler can build for the target by @messense in #2353 - Release 1.7.6 * allow -i 3.13t by @davidhewitt in #2324 * propagate abiflags to wheel name on Windows by @davidhewitt in #2325 * Add free-threaded wheel build to generate-ci by default by @messense in #2329 * Bump metadata version to 2.4 to fix license bug by @konstin in #2332 - Release 1.7.5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-maturin?expand=0&rev=96
This commit is contained in:
commit
4880798dc3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
9
_service
Normal file
9
_service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="manual" />
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="srctar">maturin-*.tar.gz</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="manual"></service>
|
||||||
|
</services>
|
BIN
maturin-1.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
maturin-1.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
maturin-1.7.0.tar.gz
Normal file
3
maturin-1.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1ba5277dd7832dc6181d69a005182b97b3520945825058484ffd9296f2efb59c
|
||||||
|
size 188347
|
3
maturin-1.7.1.tar.gz
Normal file
3
maturin-1.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:147754cb3d81177ee12d9baf575d93549e76121dacd3544ad6a50ab718de2b9c
|
||||||
|
size 190286
|
BIN
maturin-1.7.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
maturin-1.7.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
maturin-1.7.8.tar.gz
Normal file
3
maturin-1.7.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:649c6ef3f0fa4c5f596140d761dc5a4d577c485cc32fb5b9b344a8280352880d
|
||||||
|
size 195704
|
1555
python-maturin.changes
Normal file
1555
python-maturin.changes
Normal file
File diff suppressed because it is too large
Load Diff
79
python-maturin.spec
Normal file
79
python-maturin.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-maturin
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-maturin
|
||||||
|
Version: 1.7.8
|
||||||
|
Release: 0
|
||||||
|
Summary: Rust/Python Interoperability
|
||||||
|
License: Apache-2.0 OR MIT
|
||||||
|
URL: https://github.com/PyO3/maturin
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/m/maturin/maturin-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.xz
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools-rust >= 1.4.0}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11}
|
||||||
|
BuildRequires: %{python_module wheel >= 0.36.2}
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%if 0%{?python_version_nodots} < 311
|
||||||
|
Requires: python-tomli >= 1.1.0
|
||||||
|
%endif
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Build and publish crates with pyo3, cffi and uniffi bindings
|
||||||
|
as well as rust binaries as python packages.
|
||||||
|
|
||||||
|
It supports building wheels for Python 3.8+, can upload them
|
||||||
|
to PyPI and has basic PyPy and GraalPy support.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1 -p1 -n maturin-%{version}
|
||||||
|
sed -i '1{/env python/d}' maturin/__init__.py
|
||||||
|
sed -i 's/--locked/--offline/' setup.py
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/maturin
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative maturin
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative maturin
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license license-apache license-mit
|
||||||
|
%doc Changelog.md README.md
|
||||||
|
%python_alternative %{_bindir}/maturin
|
||||||
|
%{python_sitearch}/maturin
|
||||||
|
%{python_sitearch}/maturin-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6bf9edea6e5074eab9f76ad828ba0e655ecf05683e92ca9b2ea39d4de433b953
|
||||||
|
size 31398404
|
Loading…
x
Reference in New Issue
Block a user