forked from pool/python-PyInstaller
- Disable functional tests as it takes ages and basic checks
are okay with unittests - Use xdist for test execution as otherwise it takes ages OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
3024efca4e
commit
6904e726ca
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 07:22:03 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Disable functional tests as it takes ages and basic checks
|
||||||
|
are okay with unittests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 10 09:31:11 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Use xdist for test execution as otherwise it takes ages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 17 13:33:04 UTC 2020 - Alberto Planas Dominguez <aplanas@suse.com>
|
Fri Jan 17 13:33:04 UTC 2020 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
@@ -24,7 +24,6 @@ Version: 3.6
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Bundle a Python application and all its dependencies into a single package
|
Summary: Bundle a Python application and all its dependencies into a single package
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://www.pyinstaller.org
|
URL: https://www.pyinstaller.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyInstaller/PyInstaller-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PyInstaller/PyInstaller-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
@@ -53,13 +52,14 @@ BuildRequires: %{python_module opengl}
|
|||||||
BuildRequires: %{python_module pefile >= 2017.8.1}
|
BuildRequires: %{python_module pefile >= 2017.8.1}
|
||||||
BuildRequires: %{python_module psutil}
|
BuildRequires: %{python_module psutil}
|
||||||
BuildRequires: %{python_module pycountry}
|
BuildRequires: %{python_module pycountry}
|
||||||
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module qt5}
|
BuildRequires: %{python_module qt5}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: upx
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python-dis3
|
BuildRequires: python-dis3
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: upx
|
|
||||||
%endif
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-dis3
|
Requires: python-dis3
|
||||||
@@ -103,7 +103,8 @@ fi
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pytest_arch tests/unit tests/functional --ignore=tests/functional/test_libraries.py --ignore=tests/functional/test_hooks -k 'not test_find_module and not test_egg and not test_nspkg1'
|
# test_get_co_using_ctypes, test_get_co_using_ctypes_from_extension, test_replace_paths_in_code broken with python 3.8 on PyInstall 3.6
|
||||||
|
%pytest_arch -n auto tests/unit -k 'not (test_find_module or test_egg and not test_nspkg1 or test_get_co_using_ctypes or test_get_co_using_ctypes_from_extension or test_replace_paths_in_code)'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user