14
0

- 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:
2024-09-30 06:33:22 +00:00
committed by Git OBS Bridge
commit 80330aca6b
8 changed files with 387 additions and 0 deletions

View 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: