Skip to content

Commit

Permalink
Update python-PyInstaller to version 4.5.1 / rev 5 via SR 920039
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/920039
by user mcepl + dimstar_suse
- Update to 4.5.1: large number of changes, see packaged CHANGES.rst for
  the complete list.
- Remove glibc233.patch (included upstream)
- Automagically skip matplotlib tests because matplotlib dropped python36
- Add glibc233.patch to fix recent test failure (gh#pyinstaller/pyinstaller#5540)
- Disable functional tests as it takes ages and basic checks
  are okay with unittests
- Use xdist for test execution as otherwise it takes ages
- Requires python-devel, as `pyinstaller` cannot be used without it
- Temporary disabled of tests test_egg* and test_nspkg1*
- Update to version 3.6
  * See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.6/doc/CHANGES.rst
- Add %bcond_with python2
- Format with spec-cleaner, fix license
- Delete upstream bootloaders from the source distributio
  • Loading branch information
mcepl authored and bmwiedemann committed Sep 20, 2021
1 parent 5dffc4d commit 4858718
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 51 deletions.
Binary file modified packages/p/python-PyInstaller/.files
Binary file not shown.
100 changes: 100 additions & 0 deletions packages/p/python-PyInstaller/.rev
Expand Up @@ -34,4 +34,104 @@
<comment></comment>
<requestid>882590</requestid>
</revision>
<revision rev="5" vrev="1">
<srcmd5>3c73b869e08a4e22c3d619083669f8d8</srcmd5>
<version>4.5.1</version>
<time>1632173571</time>
<user>dimstar_suse</user>
<comment>- Update to 4.5.1: large number of changes, see packaged CHANGES.rst for
the complete list.
- Remove glibc233.patch (included upstream)
- Automagically skip matplotlib tests because matplotlib dropped python36
- Add glibc233.patch to fix recent test failure (gh#pyinstaller/pyinstaller#5540)
- Disable functional tests as it takes ages and basic checks
are okay with unittests
- Use xdist for test execution as otherwise it takes ages
- Requires python-devel, as `pyinstaller` cannot be used without it
- Temporary disabled of tests test_egg* and test_nspkg1*
- Update to version 3.6
* See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.6/doc/CHANGES.rst
- Add %bcond_with python2
- Format with spec-cleaner, fix license
- Delete upstream bootloaders from the source distribution, forcing
re-compilation of bootloader for all platforms, removing 'noarch'
- Lightly update spec, year and https
- Update to v3.5
* See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.5/doc/CHANGES.rst
- Implement single-spec version
- Update to version 3.3
* See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.3/doc/CHANGES.rst
- use update-alternatives
- update to 3.2.1
* New, updated and fixed hooks: botocore (#2094), gi (#2347), jira (#2222),
PyQt5.QtWebEngineWidgets (#2269), skimage (#2195, 2225), sphinx (#2323,)
xsge_gui (#2251).
* Don't fail if working directory already exists (#1994)
* Avoid encoding errors in main script (#1976)
* Fix hasher digest bytes not str (#2229, #2230)
* (Windows) Fix additional dependency on the msvcrt10.dll (#1974)
* (Windows) Correctly decode a bytes object produced by pefile (#1981)
* (Windows) Package ``pefile`` with pyinstaller. This partially
undoes some changes in 3.2 in which the packaged pefiles were
removed to use the pypi version instead. The pypi version was
considerably slower in some applications, and still has a couple
of small issues on PY3. (#1920)
* (OS X) PyQt5 packaging issues on MacOS (#1874)
* (OS X) Replace run-time search path keyword (#1965)
* (OS X) (Re-) add argv emulation for OSX, 64-bit (#2219)
* (OS X) use decode(&quot;utf-8&quot;) to convert bytes in getImports_macholib() (#1973)
* (Bootloader) fix segfaults (#2176)
* (setup.py) pass option --no-lsb on GNU/Linux only (#1975)
* Updates and fixes in documentation, manuals, et al. (#1986, 2002, #2153,
#2227, #2231)
- update to version 3.2:
* Even the “main” script is now byte-compiled (#1847, #1856)
* The manual is on readthedocs.io now (#1578)
* On installation try to compile the bootloader if there is none for
the current plattform (#1377)
* (Unix) Use objcopy to create a valid ELF file (#1812, #1831)
* (Linux): Compile with _FORTIFY_SOURCE (#1820)
* New, updated and fixed hooks: CherryPy (#1860), Cryptography
(#1425, #1861), enchant (1562), gi.repository.GdkPixbuf (#1843),
gst (#1963), Lib2to3 (#1768), PyQt4, PyQt5, PySide (#1783, #1897,
#1887), SciPy (#1908, #1909), sphinx (#1911, #1912), sqlalchemy
(#1951), traitlets wx.lib.pubsub (#1837, #1838),
* For windowed mode add isatty() for our dummy NullWriter (#1883)
* Suppress “Failed to execute script” in case of SystemExit (#1869)
* Do not apply Upx compressor for bootloader files (#1863)
* Fix absolute path for lib used via ctypes (#1934)
* (OSX) Fix binary cache on NFS (#1573, #1849)
* (Windows) Fix message in grab_version (#1923)
* (Windows) Fix wrong icon paramter in Windows example (#1764)
* (Windows) Fix win32 unicode handling (#1878)
* (Windows) Fix unnecessary rebuilds caused by rebuilding
winmanifest (#1933)
* (Cygwin) Fix finding the Python library for Cygwin 64-bit (#1307,
#1810, #1811)
* (OSX) Fix compilation issue (#1882)
* (Windows) No longer bundle pefile, use package from for windows
(#1357)
* (Windows) Provide a more robust means of executing a Python script
* AIX fixes.
* Update waf to version 1.8.20 (#1868)
* Fix excludedimports, more predictable order how hooks are applied
#1651
* Internal impovements and code clean-up (#1754, #1760, #1794,
#1858, #1862, #1887, #1907, #1913)
* Clean-ups fixes and improvements for the test suite
* Known Issues
+ Apps built with Windows 10 and Python 3.5 may not run on Windows
versions earlier than 10 (#1566).
+ The multipackage (MERGE) feature (#1527) is currently broken.
+ (OSX) Support for OpenDocument events (#1309) is broken.
- updated to version 3.1.1:
* Fix problems with setuptools 19.4 (#1772, #1773, #1790, #1791)
* 3.1 does not collect certain direct imports (#1780)
* Git reports wrong version even if on unchanged release (#1778)
* Don’t resolve symlinks in modulegraph.py (#1750, #1755)
* ShortFileName not returned in win32 util (#1799)
- Initial check in v3.1
</comment>
<requestid>920039</requestid>
</revision>
</revisionlist>
1 change: 0 additions & 1 deletion packages/p/python-PyInstaller/PyInstaller-3.6.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-PyInstaller/PyInstaller-4.5.1.tar.gz
42 changes: 0 additions & 42 deletions packages/p/python-PyInstaller/glibc233.patch

This file was deleted.

9 changes: 8 additions & 1 deletion packages/p/python-PyInstaller/python-PyInstaller.changes
@@ -1,8 +1,15 @@
-------------------------------------------------------------------
Thu Sep 16 11:25:16 UTC 2021 - Matej Cepl <mcepl@suse.com>

- Update to 4.5.1: large number of changes, see packaged CHANGES.rst for
the complete list.
- Remove glibc233.patch (included upstream)

-------------------------------------------------------------------
Thu Apr 1 13:27:23 UTC 2021 - Markéta Machová <mmachova@suse.com>

- Automagically skip matplotlib tests because matplotlib dropped python36
- Add glibc233.patch to fix recent test failure
- Add glibc233.patch to fix recent test failure (gh#pyinstaller/pyinstaller#5540)

-------------------------------------------------------------------
Wed Mar 18 07:22:03 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
Expand Down
16 changes: 9 additions & 7 deletions packages/p/python-PyInstaller/python-PyInstaller.spec
Expand Up @@ -19,15 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%bcond_without test
%define modname PyInstaller
Name: python-PyInstaller
Version: 3.6
Version: 4.5.1
Release: 0
Summary: Bundle a Python application and all its dependencies into a single package
License: GPL-2.0-only
URL: https://www.pyinstaller.org
Source: https://files.pythonhosted.org/packages/source/P/PyInstaller/PyInstaller-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/pyinstaller/pyinstaller/pull/5547/commits/589819183afc18f2d5b51dbbce68b7aca020c5e8 Bindepend: Skip/warn unrecognised output from ldconfig
Patch0: glibc233.patch
Source: https://github.com/pyinstaller/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Expand All @@ -39,7 +38,7 @@ Requires: python-macholib >= 1.8
Requires: python-pefile >= 2017.8.1
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: upx
%if %{with test}
BuildRequires: %{python_module Babel}
Expand All @@ -57,6 +56,7 @@ BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: upx
%if %{with python2}
BuildRequires: python-dis3
Expand All @@ -73,8 +73,9 @@ package. The user can run the packaged app without installing a Python
interpreter or any modules.

%prep
%setup -q -n PyInstaller-%{version}
%setup -q -n pyinstaller-%{version}
%autopatch -p1

chmod a-x PyInstaller/utils/hooks/__init__.py

# Force build of bootloader
Expand Down Expand Up @@ -106,7 +107,8 @@ fi
%check
export LANG=en_US.UTF-8
# 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)'
# gh#pyinstaller/pyinstaller#4406 skip TestDeeplyNested.testRegr (it is just the only method in the class)
%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 or TestDeeplyNested)'
%endif

%post
Expand Down

0 comments on commit 4858718

Please sign in to comment.