commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2024-09-30 15:41:15 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.29891 (New) Package is "python-python-for-android" Mon Sep 30 15:41:15 2024 rev:9 rq:1204662 version:2024.1.21 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2024-04-08 17:51:52.160793805 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.29891/python-python-for-android.changes 2024-09-30 15:41:31.695838925 +0200 @@ -1,0 +2,7 @@ +Mon Sep 30 06:32:03 UTC 2024 - Steve Kowalik + +- Add patch fix-mock-assertion.patch: + * Correct mock has_calls call. +- Skip recalcitrant test. + +--- New: fix-mock-assertion.patch BETA DEBUG BEGIN: New: - Add patch fix-mock-assertion.patch: * Correct mock has_calls call. BETA DEBUG END: Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.fatwbN/_old 2024-09-30 15:41:32.343865923 +0200 +++ /var/tmp/diff_new_pack.fatwbN/_new 2024-09-30 15:41:32.343865923 +0200 @@ -27,6 +27,8 @@ Source1:python-python-for-android-rpmlintrc # PATCH-FIX-OPENSUSE We don't need or want isolation when determining metadata Patch0: no-isolation-for-metadata-build.patch +# PATCH-FIX-UPSTREAM gh#kivy/python-for-android#3003 +Patch1: fix-mock-assertion.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -34,12 +36,14 @@ Requires: python-appdirs Requires: python-build Requires: python-colorama >= 0.3.3 +Requires: python-packaging +Requires: python-setuptools +Requires: python-sh >= 2 Requires: python-toml Requires(post): update-alternatives Requires(postun): update-alternatives Recommends: cmake Recommends: python-pip -Recommends: python-setuptools Recommends: python-wheel BuildArch: noarch # SECTION test requirements @@ -108,8 +112,8 @@ skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or test_venv or test_get_package_as_folder or test_extract_metainfo_files_from_package" # Unable to download NDK skip_tests="$skip_tests or (TestToolchainCL and test_create) or test_create_python_bundle" -# Broken with 3.12 - https://github.com/kivy/python-for-android/issues/3002 -skip_tests="$skip_tests or (TestIcuRecipe and test_build_arch)" +# build_dir is somehow None +skip_tests="$skip_tests or (TestSDL2MixerRecipe and test_get_include_dirs)" %pytest -rs tests -k "not ($skip_tests)" @@ -124,6 +128,6 @@ %license LICENSE %python_alternative %{_bindir}/python-for-android %python_alternative %{_bindir}/p4a -%{python_sitelib}/*pythonforandroid*/ -%{python_sitelib}/*python_for_android*/ +%{python_sitelib}/pythonforandroid +%{python_sitelib}/python_for_android-%{version}.dist-info ++ fix-mock-assertion.patch ++ >From 5d5ca2b57aa49c508950c927eb42d2ffe14c3cf6 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 9 Apr 2024 15:36:24 +1000 Subject: [PATCH] Fix mock assertion in ICU recipe Python 3.12 now does not blindly any methods on mocked objects, which masks issues. Correct the assertion of has_calls to assert_has_calls in the ICU recipe. Fixes #3002 --- tests/recipes/test_icu.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/recipes/test_icu.py b/tests/recipes/test_icu.py index 239b99e4c1..dacf65a0b4 100644 --- a/tests/recipes/test_icu.py +++ b/tests/recipes/test_icu.py @@ -52,13 +52,14 @@ def test_build_arch( # We expect some calls to `sh.Command` build_root = self.recipe.get_build_dir(self.arch.arch) -mock_sh_command.has_calls( +mock_sh_command.assert_has_calls( [ mock.call( os.path.join(build_root, "source", "runConfigureICU") ), mock.call(os.path.join(build_root, "source", "configure")), -] +], +any_order=True ) mock_ensure_dir.assert_called() mock_chdir.assert_called()
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2024-04-08 17:39:29 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1905 (New) Package is "python-python-for-android" Mon Apr 8 17:39:29 2024 rev:8 rq:1166050 version:2024.1.21 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2024-01-10 21:52:36.644868987 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.1905/python-python-for-android.changes 2024-04-08 17:51:52.160793805 +0200 @@ -1,0 +2,27 @@ +Mon Apr 8 05:32:06 UTC 2024 - Steve Kowalik + +- Update to 2024.01.21: + * 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. + +--- Old: python-for-android-2023.9.16.tar.gz switch-to-build-from-pep517.patch New: no-isolation-for-metadata-build.patch python-for-android-2024.1.21.tar.gz BETA DEBUG BEGIN: Old:- Stop replacing pep517 in files, we have moved off of it - Remove patch switch-to-build-from-pep517.patch: * Now included. BETA DEBUG END: BETA DEBUG BEGIN: New: * Now included. - Add patch no-isolation-for-metadata-build.patch: * However, we still don't need isolated builds. BETA DEBUG END: Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.gG0h2O/_old 2024-04-08 17:51:52.648811817 +0200 +++ /var/tmp/diff_new_pack.gG0h2O/_new 2024-04-08 17:51:52.652811965 +0200 @@ -16,18 +16,17 @@ # -%define version_with_zeros 2023.02.10 +%define version_with_zeros 2024.01.21 Name: python-python-for-android -Version:2023.9.16 +Version:2024.1.21 Release:0 Summary:Android APK packager for Python scripts and apps License:MIT URL:https://github.com/kivy/python-for-android Source: https://github.com/kivy/python-for-android/archive/refs/tags/v%{version_with_zeros}.tar.gz#/python-for-android-%{version}.tar.gz Source1:python-python-for-android-rpmlintrc -# PATCH-FIX-UPSTREAM Switch to using build rather than pep517 -# Based on gh#kivy/python-for-android#2784, we do not need or want isolation -Patch0: switch-to-build-from-pep517.patch +# PATCH-FIX-OPENSUSE We don't need or want isolation when determining metadata +Patch0: no-isolation-for-metadata-build.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -37,7 +36,7 @@ Requires: python-colorama >= 0.3.3 Requires: python-toml Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: cmake Recommends: python-pip Recommends: python-setuptools @@ -84,16 +83,11 @@ sed -i 's/from backports import tempfile/import tempfile/' tests/test_recipe.py -sed -i 's/pep517<0.7.0/pep517/' setup.py tests/test_pythonpackage_basic.py - -# https://github.com/kivy/python-for-android/pull/2354 -sed -i "s/'pep517.',/'pep517',/" setup.py - %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/python-for-android %python_clone -a %{buildroot}%{_bindir}/p4a %{python_expand rm -r %{buildroot}%{$python_sitelib}/ci/ %{buildroot}%{$python_sitelib}/tests/ @@ -114,6 +108,8 @@ skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or test_venv or test_get_package_as_folder or test_extract_metainfo_files_from_package" # Unable to download NDK skip_tests="$ski
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2024-01-10 21:52:17 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.21961 (New) Package is "python-python-for-android" Wed Jan 10 21:52:17 2024 rev:7 rq:1137829 version:2023.9.16 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2023-05-17 10:53:41.159526643 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.21961/python-python-for-android.changes 2024-01-10 21:52:36.644868987 +0100 @@ -1,0 +2,45 @@ +Tue Jan 9 22:09:21 UTC 2024 - Dirk Müller + +- update to 2023.09.16: + * Cffi update + * Use build rather than pep517 for building + * Removes `mysqldb` recipe as does not support Python 3 + * Removes `Babel` recipe as it's not needed anymore. + * Remove `dateutil` recipe, as it's not needed anymore + * Optimize CI runs, by avoiding unnecessary rebuilds + * Remove `pytz` recipe, as it's not needed anymore + * Changed the url to use https as http fails + * vlc: fix build + * Correct sys_platform + * Docs: Fix code string - quickstart.rst + * Bump `kivy` version to `2.2.1` + * Use a pinned version of `Cython` for now, as most of the +recipes are incompatible with `Cython==3.x.x` + * Automatically generate required pre-requisites + * Use platform.uname instead of os.uname + * Fix simple typos in comments + * `build_platform` should be all-lowercase + * Docs: Fix typos and updated command to build apk - README + * Patching cleanup + * Python versions: Update documentation & CI testing + * Correct check for --sdk option + * Factor out dependency checking. Use modern version handling + * :rotating_light: linter fixes + * Remove deprecated FlatDir in Gradle template + * Standardise ensure_dir and rmdir + * Standardise on move + * Use Python's touch() rather than shelling out. +- update to 2023.05.21: + * Add support for Python 3.10 and make it the default while +building hostpython3 and python3 + * Add PyAV recipe + * Add debug loggings for identifying a matching dist + * Home app functionality + * Use io.IOBase for LogFile + * android_api to integer + * fix #2768 smallIconName null can t be compared to String + * fix tools/liblink: syntax error + * Update `pyjnius` version to `1.5.0` + * Update Kivy recipe for 2.2.0 + +--- Old: python-for-android-2023.2.10.tar.gz New: python-for-android-2023.9.16.tar.gz Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.HLJRNK/_old 2024-01-10 21:52:37.608903995 +0100 +++ /var/tmp/diff_new_pack.HLJRNK/_new 2024-01-10 21:52:37.612904141 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-for-android # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define version_with_zeros 2023.02.10 Name: python-python-for-android -Version:2023.2.10 +Version:2023.9.16 Release:0 Summary:Android APK packager for Python scripts and apps License:MIT ++ python-for-android-2023.2.10.tar.gz -> python-for-android-2023.9.16.tar.gz ++ no output (probably identical)
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2023-05-17 10:53:09 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1533 (New) Package is "python-python-for-android" Wed May 17 10:53:09 2023 rev:6 rq:1087411 version:2023.2.10 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2022-12-15 19:25:54.564296703 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.1533/python-python-for-android.changes 2023-05-17 10:53:41.159526643 +0200 @@ -1,0 +2,32 @@ +Tue May 16 12:08:13 UTC 2023 - Steve Kowalik + +- Update to v2023.02.10: + * pydantic recipe has been updated. + * scypt recipe has been updated. + * --orientation option controls the allowed orientations (portrait, +landscape, portrait-reverse, landscape-reverse). + * --manifest-orientation option has been added to keep the +android:screenOrientation personalisation functionality. + * If --manifest-orientation is not set, and only (one of multiple) +--orientation options are passed, the value for +android:screenOrientationis guessed and synthesized from the +--orientation option. + * Introduced support for permission properties (maxSdkVersion and +usesPermissionFlags) + * Minimal and recommended Android NDK version is now 25b + * MIN_TARGET_API has been updated to 30 and RECOMMENDED_TARGET_API in +order to comply with Google Play Store requirements. + * android.activity now offers Application.ActivityLifecycleCallbacks helpers. + * secp256k1 Update "--host=" #2714 (RobertFlatt) + * recipe.download_file: implement shallow git cloning #2682 (SomberNight) + * Resize webview when keyboard is shown #2674 (dbnicholson) + * Fixes libvpx build #2672 (misl6) + * toml may not be available on systemwide python #2670 (misl6) + * android/activity: Add Application.ActivityLifecycleCallbacks +helpers #2669 (dbnicholson) + * Bump minimal and recommended Android NDK version to 25b #2668 (misl6) + * Include HOME in build environment #2582 (dbnicholson) +- Add patch switch-to-build-from-pep517.patch: + * Do not use pep517 methods, switch to build. + +--- Old: python-for-android-2022.9.4.tar.gz New: python-for-android-2023.2.10.tar.gz switch-to-build-from-pep517.patch Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.mFkIY4/_old 2023-05-17 10:53:41.903530649 +0200 +++ /var/tmp/diff_new_pack.mFkIY4/_new 2023-05-17 10:53:41.955530929 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-python-for-android # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,25 @@ # -%define version_with_zeros 2022.09.04 +%define version_with_zeros 2023.02.10 Name: python-python-for-android -Version:2022.9.4 +Version:2023.2.10 Release:0 Summary:Android APK packager for Python scripts and apps License:MIT URL:https://github.com/kivy/python-for-android -Source: https://github.com/kivy/python-for-android/archive/v%{version_with_zeros}.tar.gz#/python-for-android-%{version}.tar.gz +Source: https://github.com/kivy/python-for-android/archive/refs/tags/v%{version_with_zeros}.tar.gz#/python-for-android-%{version}.tar.gz Source1:python-python-for-android-rpmlintrc +# PATCH-FIX-UPSTREAM Switch to using build rather than pep517 +# Based on gh#kivy/python-for-android#2784, we do not need or want isolation +Patch0: switch-to-build-from-pep517.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-appdirs +Requires: python-build Requires: python-colorama >= 0.3.3 -Requires: python-pep517 Requires: python-toml Requires(post): update-alternatives Requires(postun):update-alternatives @@ -44,8 +47,8 @@ BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Cython} BuildRequires: %{python_module appdirs} +BuildRequires: %{python_module build} BuildRequires: %{python_module colorama >= 0.3.3} -BuildRequires: %{python_module pep517} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sh >= 1.10} ++ python-for-android-2022
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2022-12-15 19:25:27 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1835 (New) Package is "python-python-for-android" Thu Dec 15 19:25:27 2022 rev:5 rq:1043008 version:2022.9.4 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2022-10-08 01:24:51.174178448 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.1835/python-python-for-android.changes 2022-12-15 19:25:54.564296703 +0100 @@ -1,0 +2,11 @@ +Wed Dec 14 22:37:51 UTC 2022 - John Vandenberg + +- Remove arch-tests.patch that was removed from spec in previous change + +--- +Mon Dec 12 17:33:31 UTC 2022 - pgaj...@suse.com + +- really use 2022.09.04 tarball +- six is not required + +--- Old: arch-tests.patch Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.KYZ160/_old 2022-12-15 19:25:55.608302643 +0100 +++ /var/tmp/diff_new_pack.KYZ160/_new 2022-12-15 19:25:55.612302665 +0100 @@ -16,9 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define version_with_zeros 2020.06.02 -%define skip_python2 1 +%define version_with_zeros 2022.09.04 Name: python-python-for-android Version:2022.9.4 Release:0 @@ -27,8 +25,6 @@ URL:https://github.com/kivy/python-for-android Source: https://github.com/kivy/python-for-android/archive/v%{version_with_zeros}.tar.gz#/python-for-android-%{version}.tar.gz Source1:python-python-for-android-rpmlintrc -# https://github.com/kivy/python-for-android/pull/2355 -Patch0: arch-tests.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -36,7 +32,6 @@ Requires: python-appdirs Requires: python-colorama >= 0.3.3 Requires: python-pep517 -Requires: python-six Requires: python-toml Requires(post): update-alternatives Requires(postun):update-alternatives @@ -54,7 +49,6 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sh >= 1.10} -BuildRequires: %{python_module six} BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel} BuildRequires: autoconf @@ -74,8 +68,7 @@ Android APK packager for Python scripts and apps %prep -%setup -q -n python-for-android-%{version_with_zeros} -%patch0 -p1 +%autosetup -p1 -n python-for-android-%{version_with_zeros} sed -i "1{s:#!.*$:#!%{_bindir}/bash:}" pythonforandroid/bootstraps/common/build/gradlew @@ -117,7 +110,7 @@ # Five failures due to venv attempting download of pip, wheel, setuptools skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or test_venv or test_get_package_as_folder or test_extract_metainfo_files_from_package" # Unable to download NDK -skip_tests="$skip_tests or (TestToolchainCL and test_create)" +skip_tests="$skip_tests or (TestToolchainCL and test_create) or test_create_python_bundle" %pytest -rs tests -k "not ($skip_tests)" ++ python-for-android-2022.9.4.tar.gz ++ 13679 lines of diff (skipped)
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2022-10-08 01:24:46 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.2275 (New) Package is "python-python-for-android" Sat Oct 8 01:24:46 2022 rev:4 rq:1008625 version:2022.9.4 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2022-08-09 15:28:23.713632532 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.2275/python-python-for-android.changes 2022-10-08 01:24:51.174178448 +0200 @@ -1,0 +2,38 @@ +Thu Oct 6 22:26:44 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version v2022.09.04 + Fixed bugs: + Matplotlib failed to import properly on an APK from Buildozer and Kivy #2643 + Closed issues: + KeyError: Matplotlib with kivy android #2658 + KeyError: Matplotlib #2659 + Upgrade from NDK 19b to 23b causes problems with Pandas library #2654 + Update Dockerfile for ARM #2653 + Apple M2 chip doesn't generate apk: compiling error on liblzma #2652 + aiohttp/_http_parser.pyx:46:0: '_headers.pxi' not found #2651 + [Question] Pip SSL ? #2649 + Colab gives me as error "No module named 'typing_extensions' ", even if before with the same compilation it worked #2648 + [Question] Java Files #2646 + Using foreground services will cause wired behaviour on Android 8 #2641 + Can't apply patches with relative paths for local recipe #2623 + Compile for x86 on MacOS #2215 + splash always loading #1907 + python-for-android.readthedocs.io has problems updating, apparently #1709 + Webview apps not working on Android #1644 + Merged pull requests: + liblzma: Use p4a_install instead of install, as a file named INSTALL is already present. #2663 (misl6) + Force --platform=linux/amd64 in Dockerfile #2660 (misl6) + Remove six and enum34 dependency #2657 (misl6) + Update supported Python versions #2656 (misl6) + Fixes some E275 - assert is a keyword. #2647 (misl6) + Updates matplotlib, fixes an issue related to shared libc++ #2645 (misl6) + RTSP support for ffmpeg #2644 (alicakici1234) + Fixes TypeError: str.join() takes exactly one argument (2 given) in hostpython3/__init__.py", line 69 #2642 (Furtif) + Resolve absolute path to local recipes #2640 (dbnicholson) + Merges master into develop after release 2022.07.20 #2639 (misl6) + Fix webview Back button behaviour #2636 (interlark) + Add icon-bg and icon-fg to fix_args #2633 (danigm) + Remove stray - in output file name #2581 (dbnicholson) + Add option for adding files to res/xml without touching manifest #2330 (rambo) + +--- Old: python-for-android-2020.6.2.tar.gz New: python-for-android-2022.9.4.tar.gz Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.0SJ6DW/_old 2022-10-08 01:24:51.650179540 +0200 +++ /var/tmp/diff_new_pack.0SJ6DW/_new 2022-10-08 01:24:51.654179549 +0200 @@ -20,7 +20,7 @@ %define version_with_zeros 2020.06.02 %define skip_python2 1 Name: python-python-for-android -Version:2020.6.2 +Version:2022.9.4 Release:0 Summary:Android APK packager for Python scripts and apps License:MIT @@ -47,9 +47,9 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module Cython} BuildRequires: %{python_module appdirs} BuildRequires: %{python_module colorama >= 0.3.3} -BuildRequires: %{python_module Cython} BuildRequires: %{python_module pep517} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -59,13 +59,13 @@ BuildRequires: %{python_module wheel} BuildRequires: autoconf BuildRequires: automake -BuildRequires: clang BuildRequires: ccache +BuildRequires: clang BuildRequires: cmake BuildRequires: dos2unix BuildRequires: gcc-c++ -BuildRequires: lld BuildRequires: libtool +BuildRequires: lld BuildRequires: unzip # /SECTION %python_subpackages ++ python-for-android-2020.6.2.tar.gz -> python-for-android-2022.9.4.tar.gz ++ no output (probably identical)
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2022-08-09 15:27:51 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1521 (New) Package is "python-python-for-android" Tue Aug 9 15:27:51 2022 rev:3 rq:993866 version:2020.6.2 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2022-06-18 22:06:40.627697645 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.1521/python-python-for-android.changes 2022-08-09 15:28:23.713632532 +0200 @@ -1,0 +2,5 @@ +Tue Aug 9 00:15:47 UTC 2022 - John Vandenberg + +- Add test dependencies and mark one test skipped + +--- Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.T8w6tj/_old 2022-08-09 15:28:24.125633709 +0200 +++ /var/tmp/diff_new_pack.T8w6tj/_new 2022-08-09 15:28:24.125633709 +0200 @@ -49,6 +49,7 @@ BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module appdirs} BuildRequires: %{python_module colorama >= 0.3.3} +BuildRequires: %{python_module Cython} BuildRequires: %{python_module pep517} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -56,9 +57,15 @@ BuildRequires: %{python_module six} BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel} +BuildRequires: autoconf +BuildRequires: automake BuildRequires: clang +BuildRequires: ccache BuildRequires: cmake BuildRequires: dos2unix +BuildRequires: gcc-c++ +BuildRequires: lld +BuildRequires: libtool BuildRequires: unzip # /SECTION %python_subpackages @@ -109,6 +116,8 @@ export PYTHONPATH=${PWD}:${PWD}/tests/ # Five failures due to venv attempting download of pip, wheel, setuptools skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or test_venv or test_get_package_as_folder or test_extract_metainfo_files_from_package" +# Unable to download NDK +skip_tests="$skip_tests or (TestToolchainCL and test_create)" %pytest -rs tests -k "not ($skip_tests)" @@ -123,6 +132,7 @@ %license LICENSE %python_alternative %{_bindir}/python-for-android %python_alternative %{_bindir}/p4a -%{python_sitelib}/* +%{python_sitelib}/*pythonforandroid*/ +%{python_sitelib}/*python_for_android*/ %changelog
commit python-python-for-android for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-for-android for openSUSE:Factory checked in at 2022-06-18 22:06:37 Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old) and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1548 (New) Package is "python-python-for-android" Sat Jun 18 22:06:37 2022 rev:2 rq:983631 version:2020.6.2 Changes: --- /work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes 2020-11-23 10:45:59.646332645 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-for-android.new.1548/python-python-for-android.changes 2022-06-18 22:06:40.627697645 +0200 @@ -1,0 +2,5 @@ +Fri Jun 17 13:29:45 UTC 2022 - Dominique Leuenberger + +- Properly fix shebangs to inject path to python interpreter. + +--- Other differences: -- ++ python-python-for-android.spec ++ --- /var/tmp/diff_new_pack.kjxU1G/_old 2022-06-18 22:06:41.115698339 +0200 +++ /var/tmp/diff_new_pack.kjxU1G/_new 2022-06-18 22:06:41.119698345 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-python-for-android # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,7 +39,7 @@ Requires: python-six Requires: python-toml Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: cmake Recommends: python-pip Recommends: python-setuptools @@ -95,7 +95,7 @@ %python_clone -a %{buildroot}%{_bindir}/p4a %{python_expand rm -r %{buildroot}%{$python_sitelib}/ci/ %{buildroot}%{$python_sitelib}/tests/ -sed -i "1{s:#!.*$:#!%{_bindir}/$python:}" \ +sed -i "1{s:#!.*$:#!%{_bindir}/python%{$python_bin_suffix}:}" \ %{buildroot}%{$python_sitelib}/pythonforandroid/tools/*link \ %{buildroot}%{$python_sitelib}/pythonforandroid/bootstraps/common/build/build.py \ %{buildroot}%{$python_sitelib}/pythonforandroid/toolchain.py