forked from pool/python-PyInstaller
Accepting request 765242 from home:aplanas:branches:devel:languages:python
- Temporary disabled of tests test_egg* and test_nspkg1* - Update to version 3.4 * See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.6/doc/CHANGES.rst - Add %bcond_with python2 OBS-URL: https://build.opensuse.org/request/show/765242 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
3254b43659
commit
26c6afde9a
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ee7504022d1332a3324250faf2135ea56ac71fdb6309cff8cd235de26b1d0a96
|
|
||||||
size 3518991
|
|
3
PyInstaller-3.6.tar.gz
Normal file
3
PyInstaller-3.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf8f2a1378c1c4b7
|
||||||
|
size 3539593
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 10:56:23 UTC 2020 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Temporary disabled of tests test_egg* and test_nspkg1*
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 16 16:26:53 UTC 2020 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Update to version 3.4
|
||||||
|
* See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.6/doc/CHANGES.rst
|
||||||
|
- Add %bcond_with python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 23 07:19:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Sep 23 07:19:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyInstaller
|
# spec file for package python-PyInstaller
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,9 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%if 0%{suse_version} > 1500
|
||||||
|
%bcond_with python2
|
||||||
|
%define skip_python2 1
|
||||||
|
%else
|
||||||
|
%bcond_without python2
|
||||||
|
%endif
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
Name: python-PyInstaller
|
Name: python-PyInstaller
|
||||||
Version: 3.5
|
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
|
||||||
@@ -57,7 +63,7 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: python-dis3
|
BuildRequires: python-dis3
|
||||||
BuildRequires: upx
|
BuildRequires: upx
|
||||||
%endif
|
%endif
|
||||||
%ifpython2
|
%if %{with python2}
|
||||||
Requires: python-dis3
|
Requires: python-dis3
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -99,7 +105,7 @@ 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'
|
%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'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user