From d0e0a36c205f0be84f2dd3b2bd4b548de8188f176d9b4cbee7e2d1141776c464 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 11 May 2022 12:31:15 +0000 Subject: [PATCH] Accepting request 976363 from home:susnux:branches:devel:languages:python Update to version 0.12.15 OBS-URL: https://build.opensuse.org/request/show/976363 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-maturin?expand=0&rev=27 --- _service | 6 +++++- cargo_config | 5 +++++ maturin-0.12.15.tar.gz | 3 +++ maturin-0.12.9.tar.gz | 3 --- python-maturin.changes | 23 +++++++++++++++++++++++ python-maturin.spec | 12 +++++++----- vendor.tar.xz | 4 ++-- 7 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 cargo_config create mode 100644 maturin-0.12.15.tar.gz delete mode 100644 maturin-0.12.9.tar.gz diff --git a/_service b/_service index 02841b3..eb26adc 100644 --- a/_service +++ b/_service @@ -1,4 +1,8 @@ - + + maturin-0.12.15.tar.gz + xz + true + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/maturin-0.12.15.tar.gz b/maturin-0.12.15.tar.gz new file mode 100644 index 0000000..51b30ac --- /dev/null +++ b/maturin-0.12.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ca6222ae70276ba2f2d0c7296804bf62db87fec73198f274f8c1729a3f6c8e5 +size 148150 diff --git a/maturin-0.12.9.tar.gz b/maturin-0.12.9.tar.gz deleted file mode 100644 index 3a08759..0000000 --- a/maturin-0.12.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56e7a6a5c313c71c67fe6a4c12f85e6a16af76d1732c49ee2706166eff17a494 -size 142058 diff --git a/python-maturin.changes b/python-maturin.changes index 2c825d3..32b7000 100644 --- a/python-maturin.changes +++ b/python-maturin.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed May 11 10:33:54 UTC 2022 - Ferdinand Thiessen + +- 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 diff --git a/python-maturin.spec b/python-maturin.spec index fa49ff7..d3fc3c5 100644 --- a/python-maturin.spec +++ b/python-maturin.spec @@ -19,15 +19,16 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-maturin -Version: 0.12.9 +Version: 0.12.15 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 +Source2: cargo_config BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module tomli} BuildRequires: cargo-packaging BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -41,11 +42,12 @@ as well as rust binaries as python packages. This project is a zero-configuration replacement for 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 -%setup -q -n maturin-%{version} -tar -xf %{SOURCE1} +%autosetup -a1 -n maturin-%{version} +mkdir .cargo +cp %{SOURCE2} .cargo/config %build %python_build diff --git a/vendor.tar.xz b/vendor.tar.xz index 977bfcb..0080bd8 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa330f992e2470fcd8946f68b7d17d8d3eef1b44ab6e4fe99b4ccee801b2a46c -size 17296212 +oid sha256:4c1b9e372038dc03de822db65d7f780ce6cdf26cb6061fdfeb1b7b486d45be88 +size 17617716