forked from pool/python-python-for-android
* Update Lottie player version * Remove distutils usage, as is not available anymore on Python 3.12 * enable json1 extenstion in sqlite3 * Bump pyjnius version to 1.6.1 * Add (now mandatory) .readthedocs.yaml file, add docs requirements.txt and update sphinx conf * Update Android gradle plugin to 8.1.1 and gradle to 8.0.2 * Add support for Python 3.11 and make it the default while building hostpython3 and python3 * Remove redundant append into WHITELIST_PATTERNS * sourceCompatibility 1.7 and targetCompatibility 1.7 are obsolete, use 1.8 * Update sdl2 deps to reflect the same targeted in kivy/kivy * Initial support for PySide6 and Qt * Bump Kivy version to 2.3.0 * Update OpenSSL version to 1.1.1w - Stop replacing pep517 in files, we have moved off of it - Remove patch switch-to-build-from-pep517.patch: * Now included. - Add patch no-isolation-for-metadata-build.patch: * However, we still don't need isolated builds. - Switch to pyproject macros. - Skip a test that breaks with Python 3.12. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-for-android?expand=0&rev=16
14 lines
755 B
Diff
14 lines
755 B
Diff
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:
|