[07/48] python3-setuptools-rust:Update to version 1.5.2 and to work with python-3.10.8

Message ID 20221109185734.3920-7-adolf.belka@ipfire.org
State Accepted
Commit 47cfdd293ee997fa878f695e1a5dc3bad2861b54
Headers
Series [01/48] python3: Update to version 3.10.8 |

Commit Message

Adolf Belka 9 Nov 2022, 6:56 p.m. UTC
  - Updated from version 1.2.0 to 1.5.2
- Update of rootfile
- Changelog
	v1.5.2
		Fixed
		    Fix regression in dylib build artifacts not being found since 1.5.0. #290
		    Fix regression in sdist missing examples and other supplementary files since 1.5.0. #291
	v1.5.1
		Fixed
		    Fix regression in get_lib_name crashing since 1.5.0. #280
		    Fix regression in Binding.Exec builds with multiple executables not finding built executables since 1.5.0. #283
	v1.5.0
		Added
		    Add support for extension modules built for wasm32-unknown-emscripten with Pyodide. #244
		Changed
		    Locate cdylib artifacts by handling messages from cargo instead of searching target dir (fixes build on MSYS2). #267
		    No longer guess cross-compile environment using HOST_GNU_TYPE / BUILD_GNU_TYPE sysconfig variables. #269
		Fixed
		    Fix RustBin build without wheel. #273
		    Fix RustBin setuptools install. #275
	v1.4.1
		Fixed
		    Fix crash when checking Rust version. #263
	v1.4.0
		Packaging
		    Increase minimum setuptools version to 62.4. #222
		Added
		    Add cargo_manifest_args to support locked, frozen and offline builds. #234
		    Add RustBin for packaging binaries in scripts data directory. #248
		Changed
		    Exec binding RustExtension with script=True is deprecated in favor of RustBin. #248
		    Errors while calling cargo metadata are now reported back to the user #254
		    quiet option will now suppress output of cargo metadata. #256
		    setuptools-rust will now match cargo behavior of not setting --target when the selected target is the rust host. #258
		    Deprecate native option of RustExtension. #258
		Fixed
		    If the sysconfig for BLDSHARED has no flags, setuptools-rust won't crash anymore. #241
	v1.3.0
		Packaging
		    Increase minimum setuptools version to 58. #222
		Fixed
		    Fix crash when python-distutils-extra linux package is installed. #222
		    Fix sdist built with vendored dependencies on Windows having incorrect cargo config. #223

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 .../rootfiles/common/python3-setuptools-rust  | 20 ++++++++++---------
 lfs/python3-setuptools-rust                   |  4 ++--
 2 files changed, 13 insertions(+), 11 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/python3-setuptools-rust b/config/rootfiles/common/python3-setuptools-rust
index a35daef85..ec0f494fe 100644
--- a/config/rootfiles/common/python3-setuptools-rust
+++ b/config/rootfiles/common/python3-setuptools-rust
@@ -1,17 +1,19 @@ 
 usr/lib/python3.10/site-packages/setuptools_rust
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/PKG-INFO
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/SOURCES.txt
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/dependency_links.txt
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/entry_points.txt
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/requires.txt
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/top_level.txt
-#usr/lib/python3.10/site-packages/setuptools_rust-1.2.0-py3.10.egg-info/zip-safe
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/PKG-INFO
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/SOURCES.txt
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/dependency_links.txt
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/entry_points.txt
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/requires.txt
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/top_level.txt
+#usr/lib/python3.10/site-packages/setuptools_rust-1.5.2-py3.10.egg-info/zip-safe
 usr/lib/python3.10/site-packages/setuptools_rust/__init__.py
+usr/lib/python3.10/site-packages/setuptools_rust/_utils.py
 usr/lib/python3.10/site-packages/setuptools_rust/build.py
 usr/lib/python3.10/site-packages/setuptools_rust/clean.py
 usr/lib/python3.10/site-packages/setuptools_rust/command.py
 usr/lib/python3.10/site-packages/setuptools_rust/extension.py
+usr/lib/python3.10/site-packages/setuptools_rust/rustc_info.py
 usr/lib/python3.10/site-packages/setuptools_rust/setuptools_ext.py
-usr/lib/python3.10/site-packages/setuptools_rust/utils.py
 usr/lib/python3.10/site-packages/setuptools_rust/version.py
+
diff --git a/lfs/python3-setuptools-rust b/lfs/python3-setuptools-rust
index 4bf85961c..a12589371 100644
--- a/lfs/python3-setuptools-rust
+++ b/lfs/python3-setuptools-rust
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.2.0
+VER        = 1.5.2
 
 THISAPP    = setuptools-rust-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 9028e3c02cf1090aaba5c78495d01eb01d3608242ab6b3fab2b76928e199a93bad2e1dbcd94d24689c7d42160c4dd409656f230493801906fc15f4235de7b68c
+$(DL_FILE)_BLAKE2 = 735d23c73136d4fe7e9a326345d4bf958d0c7bf9a8da15c71228f0c6e2a91063d888e4d812af9d8295a0524a83921825d25dd010bc1961860609d657c1ae68e7
 
 install : $(TARGET)