Accepting request 976386 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/976386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maturin?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-05-12 20:59:55 +00:00 committed by Git OBS Bridge
commit ad1c152bcf
7 changed files with 45 additions and 11 deletions

View File

@ -1,4 +1,8 @@
<services> <services>
<service name="cargo_audit" mode="disabled"> <service name="cargo_vendor" mode="disabled">
<param name="srctar">maturin-0.12.15.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service> </service>
<service name="cargo_audit" mode="disabled"></service>
</services> </services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
maturin-0.12.15.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ca6222ae70276ba2f2d0c7296804bf62db87fec73198f274f8c1729a3f6c8e5
size 148150

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56e7a6a5c313c71c67fe6a4c12f85e6a16af76d1732c49ee2706166eff17a494
size 142058

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed May 11 10:33:54 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 0.12.15
* fix: Only set RUSTFLAGS when absolutely neccessary
* Update rust dependencies
* Remove unused libs_dir field from PythonInterpreter
* Remove target field from PythonInterpreter struct
* Add support for PYO3_CONFIG_FILE
- Update to 0.12.12
* Change mixed rust/python template project layout
* Accept multiple values for --interpreter option
* Update rust dependencies
- Update to 0.12.11
* Switch back to toml_edit
* Add -r option as a short alias for --release
- Update to 0.12.10
* Support pyo3-ffi
* Migrate Python dependency uiri/toml to tomllib / hukkin/tomli
* Use dynamic Python minor version for pyo3 bindings based on
its verison by
* Update rust dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 12 01:48:01 UTC 2022 - Mia Herkt <mia@0x0.st> Sat Feb 12 01:48:01 UTC 2022 - Mia Herkt <mia@0x0.st>

View File

@ -19,15 +19,16 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-maturin Name: python-maturin
Version: 0.12.9 Version: 0.12.15
Release: 0 Release: 0
Summary: Rust/Python Interoperability Summary: Rust/Python Interoperability
License: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
URL: https://github.com/PyO3/maturin URL: https://github.com/PyO3/maturin
Source: https://files.pythonhosted.org/packages/source/m/maturin/maturin-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/m/maturin/maturin-%{version}.tar.gz
Source1: vendor.tar.xz Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml} BuildRequires: %{python_module tomli}
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -41,11 +42,12 @@ as well as rust binaries as python packages.
This project is a zero-configuration replacement for This project is a zero-configuration replacement for
setuptools-rust milksnake. It supports building wheels for Python setuptools-rust milksnake. It supports building wheels for Python
3.5+, can upload them to PyPI and has basic PyPy support. 3.6+, can upload them to PyPI and has basic PyPy support.
%prep %prep
%setup -q -n maturin-%{version} %autosetup -a1 -n maturin-%{version}
tar -xf %{SOURCE1} mkdir .cargo
cp %{SOURCE2} .cargo/config
%build %build
%python_build %python_build

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:aa330f992e2470fcd8946f68b7d17d8d3eef1b44ab6e4fe99b4ccee801b2a46c oid sha256:4c1b9e372038dc03de822db65d7f780ce6cdf26cb6061fdfeb1b7b486d45be88
size 17296212 size 17617716