forked from pool/python-python-for-android
- Add patch fix-mock-assertion.patch:
* Correct mock has_calls call. - Skip recalcitrant test. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-for-android?expand=0&rev=18
This commit is contained in:
13
no-isolation-for-metadata-build.patch
Normal file
13
no-isolation-for-metadata-build.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: python-for-android-2024.01.21/pythonforandroid/pythonpackage.py
|
||||
===================================================================
|
||||
--- python-for-android-2024.01.21.orig/pythonforandroid/pythonpackage.py
|
||||
+++ python-for-android-2024.01.21/pythonforandroid/pythonpackage.py
|
||||
@@ -432,7 +432,7 @@ def _extract_metainfo_files_from_package
|
||||
|
||||
if path_type != "wheel":
|
||||
# Use a build helper function to fetch the metadata directly
|
||||
- metadata = build.util.project_wheel_metadata(path)
|
||||
+ metadata = build.util.project_wheel_metadata(path, isolated=False)
|
||||
# And write it to a file
|
||||
metadata_path = os.path.join(output_path, "built_metadata")
|
||||
with open(metadata_path, 'w') as f:
|
Reference in New Issue
Block a user