14
0

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-for-android?expand=0&rev=12
This commit is contained in:
2023-05-16 12:12:34 +00:00
committed by Git OBS Bridge
parent e421db75a0
commit 2ffcaa4988
5 changed files with 253 additions and 9 deletions

View File

@@ -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 @@ BuildArch: noarch
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}