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