From 90fcb5c1888a1b2b2a08339c0a049a5e83c3b22a9968093dc93e6c8731863de1 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 9 Aug 2022 00:58:42 +0000 Subject: [PATCH] Accepting request 993865 from home:jayvdb:branches:devel:languages:python - Add test dependencies and mark one test skipped OBS-URL: https://build.opensuse.org/request/show/993865 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-for-android?expand=0&rev=5 --- python-python-for-android.changes | 5 +++++ python-python-for-android.spec | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/python-python-for-android.changes b/python-python-for-android.changes index 24b0290..3e78eaa 100644 --- a/python-python-for-android.changes +++ b/python-python-for-android.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 9 00:15:47 UTC 2022 - John Vandenberg + +- Add test dependencies and mark one test skipped + ------------------------------------------------------------------- Fri Jun 17 13:29:45 UTC 2022 - Dominique Leuenberger diff --git a/python-python-for-android.spec b/python-python-for-android.spec index f66f01f..90bce55 100644 --- a/python-python-for-android.spec +++ b/python-python-for-android.spec @@ -49,6 +49,7 @@ BuildArch: noarch 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 sh >= 1.10} 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 @@ chmod a+x %{buildroot}%{$python_sitelib}/pythonforandroid/toolchain.py 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 @@ skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or te %license LICENSE %python_alternative %{_bindir}/python-for-android %python_alternative %{_bindir}/p4a -%{python_sitelib}/* +%{python_sitelib}/*pythonforandroid*/ +%{python_sitelib}/*python_for_android*/ %changelog