diff --git a/packages/p/python-PyInstaller/.files b/packages/p/python-PyInstaller/.files index 65a00efd6cb..8a95aae3e14 100644 Binary files a/packages/p/python-PyInstaller/.files and b/packages/p/python-PyInstaller/.files differ diff --git a/packages/p/python-PyInstaller/.rev b/packages/p/python-PyInstaller/.rev index 21ed8c627a6..28575e3d536 100644 --- a/packages/p/python-PyInstaller/.rev +++ b/packages/p/python-PyInstaller/.rev @@ -34,4 +34,104 @@ 882590 + + 3c73b869e08a4e22c3d619083669f8d8 + 4.5.1 + + 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 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("utf-8") 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 + + 920039 + diff --git a/packages/p/python-PyInstaller/PyInstaller-3.6.tar.gz b/packages/p/python-PyInstaller/PyInstaller-3.6.tar.gz deleted file mode 120000 index e3f57c33daf..00000000000 --- a/packages/p/python-PyInstaller/PyInstaller-3.6.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeieypso4m6ifeqxipe44he5qbuijddghospihjl5ytxq3kogwwp65y \ No newline at end of file diff --git a/packages/p/python-PyInstaller/PyInstaller-4.5.1.tar.gz b/packages/p/python-PyInstaller/PyInstaller-4.5.1.tar.gz new file mode 120000 index 00000000000..10e5e94ec69 --- /dev/null +++ b/packages/p/python-PyInstaller/PyInstaller-4.5.1.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeifro4mcrzd56w4ovliikb3xgaiwtojfluzjklz6n6utxbxa3ieg7y \ No newline at end of file diff --git a/packages/p/python-PyInstaller/glibc233.patch b/packages/p/python-PyInstaller/glibc233.patch deleted file mode 100644 index 8579729bd19..00000000000 --- a/packages/p/python-PyInstaller/glibc233.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 589819183afc18f2d5b51dbbce68b7aca020c5e8 Mon Sep 17 00:00:00 2001 -From: bwoodsend -Date: Wed, 10 Feb 2021 19:53:28 +0000 -Subject: [PATCH] Bindepend: Skip/warn unrecognised output from ldconfig - (#5540). [skip-ci] - -ldconfig has started adding additional lines of output such as: - - Cache generated by: ldconfig (GNU libc) release release version 2.33 - -which caused regex parse errors. This particular line is now whitelisted -as skipable. And any future unrecognised patterns will now issue -warnings. ---- - PyInstaller/depend/utils.py | 12 ++++++++++++ - news/5540.bugfix.rst | 3 +++ - 2 files changed, 15 insertions(+) - create mode 100644 news/5540.bugfix.rst - -diff --git a/PyInstaller/depend/utils.py b/PyInstaller/depend/utils.py -index baffb2a9f3..95846f39d5 100644 ---- a/PyInstaller/depend/utils.py -+++ b/PyInstaller/depend/utils.py -@@ -399,6 +399,18 @@ def load_ldconfig_cache(): - for line in text: - # :fixme: this assumes libary names do not contain whitespace - m = pattern.match(line) -+ -+ # Sanitize away any abnormal lines of output. -+ if m is None: -+ # Warn about it then skip the rest of this iteration. -+ if re.search("Cache generated by:", line): -+ # See #5540. This particular line is harmless. -+ pass -+ else: -+ logger.warning( -+ "Unrecognised line of output %r from ldconfig", line) -+ continue -+ - path = m.groups()[-1] - if is_freebsd or is_openbsd: - # Insert `.so` at the end of the lib's basename. soname diff --git a/packages/p/python-PyInstaller/python-PyInstaller.changes b/packages/p/python-PyInstaller/python-PyInstaller.changes index 2d9551b1ca3..1211a656aa8 100644 --- a/packages/p/python-PyInstaller/python-PyInstaller.changes +++ b/packages/p/python-PyInstaller/python-PyInstaller.changes @@ -1,8 +1,15 @@ +------------------------------------------------------------------- +Thu Sep 16 11:25:16 UTC 2021 - Matej Cepl + +- 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á - 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 diff --git a/packages/p/python-PyInstaller/python-PyInstaller.spec b/packages/p/python-PyInstaller/python-PyInstaller.spec index 6b973b911dd..2ceb70f2a18 100644 --- a/packages/p/python-PyInstaller/python-PyInstaller.spec +++ b/packages/p/python-PyInstaller/python-PyInstaller.spec @@ -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 @@ -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} @@ -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 @@ -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 @@ -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