forked from pool/python-PyInstaller
Accepting request 1228779 from home:mcalabkova:branches:devel:languages:python
- Update to 6.11.1 * Add automatic binary vs. data file (re)classification step to the analysis process. * Add support for specifying hash randomization seed via hash_seed=<value> run-time option when building the application. * Allow spec files to take custom command line parameters. * Implement pass-through for Python’s X-options via PyInstaller’s run-time options mechanism. * The PyInstaller.utils.hooks.collect_all() hook utility function now attempts to translate the given importable package name into distribution name before attempting to collect metadata. * Removed support for building LSB-compliant bootloader, due to lack of support for LSB (Linux Standard Base) in contemporary linux distributions. * All of onedir build’s contents except for the executable are now moved into a sub-directory (called _internal by default). sys._MEIPASS is adjusted to point to this _internal directory. Assumptions that os.path.dirname(sys.executable) == sys._MEIPASS will break. * PyInstaller-frozen applications are not affected by the PYTHONUTF8 environment variable anymore. To permanently enable or disable the UTF8 mode, use the X utf8_mode=1 or X utf_mode=0 run-time option when building the application. * Remove bytecode encryption (--key and cipher options). * Allow users to re-enable the old onedir layout (without contents directory) by settings the --contents-directory option * If the argcomplete Python module is installed, PyInstaller will use it enable tab completion for its CLI tools. PyInstaller CLIs can still be used without this optional dependency. * Optimize the automatic binary-vs-data classification by avoiding objdump based check on files that do not have ELF signature. * Collect .hmac files accompanying shared libraries, if such files are OBS-URL: https://build.opensuse.org/request/show/1228779 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=28
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4de951522be6501348a378a1a02f699e5697be973f8d3c2da39a90e7c88991b4
|
||||
size 3874599
|
3
pyinstaller-6.11.1.tar.gz
Normal file
3
pyinstaller-6.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0a46e918325b65349beaec43a760f9b0b6270a838fb24cd585d5ddbd4232f58
|
||||
size 3473485
|
@@ -1,3 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 12:46:11 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 6.11.1
|
||||
* Add automatic binary vs. data file (re)classification step to the
|
||||
analysis process.
|
||||
* Add support for specifying hash randomization seed via hash_seed=<value>
|
||||
run-time option when building the application.
|
||||
* Allow spec files to take custom command line parameters.
|
||||
* Implement pass-through for Python’s X-options via PyInstaller’s
|
||||
run-time options mechanism.
|
||||
* The PyInstaller.utils.hooks.collect_all() hook utility function now
|
||||
attempts to translate the given importable package name into
|
||||
distribution name before attempting to collect metadata.
|
||||
* Removed support for building LSB-compliant bootloader, due to lack of
|
||||
support for LSB (Linux Standard Base) in contemporary linux distributions.
|
||||
* All of onedir build’s contents except for the executable are now moved
|
||||
into a sub-directory (called _internal by default). sys._MEIPASS is
|
||||
adjusted to point to this _internal directory. Assumptions that
|
||||
os.path.dirname(sys.executable) == sys._MEIPASS will break.
|
||||
* PyInstaller-frozen applications are not affected by the PYTHONUTF8
|
||||
environment variable anymore. To permanently enable or disable the UTF8
|
||||
mode, use the X utf8_mode=1 or X utf_mode=0 run-time option when
|
||||
building the application.
|
||||
* Remove bytecode encryption (--key and cipher options).
|
||||
* Allow users to re-enable the old onedir layout (without contents
|
||||
directory) by settings the --contents-directory option
|
||||
* If the argcomplete Python module is installed, PyInstaller will use it
|
||||
enable tab completion for its CLI tools. PyInstaller CLIs can still be
|
||||
used without this optional dependency.
|
||||
* Optimize the automatic binary-vs-data classification by avoiding
|
||||
objdump based check on files that do not have ELF signature.
|
||||
* Collect .hmac files accompanying shared libraries, if such files are
|
||||
available. This allows frozen application to run on FIPS-enabled Red
|
||||
Hat Enterprise systems, where HMAC is required by self-check implemented
|
||||
by the OpenSSL crypto library.
|
||||
* Implement strict Qt dependency validation for collection of Qt plugins
|
||||
and QML components/plugins. We now perform preliminary binary dependency
|
||||
analysis of the plugins, and automatically exclude plugins that have
|
||||
at least one missing Qt dependency.
|
||||
* Implement an option to explicitly specify the bytecode optimization level
|
||||
for collected python code, independent of the optimization level in the
|
||||
python process under which PyInstaller is running.
|
||||
* Fix PyInstaller.depend.bindepend.resolve_library_path for cases when
|
||||
ldconfig cache is not available
|
||||
* Attempting to restart the application by spawning new process via
|
||||
sys.executable and exiting the current process now requires the
|
||||
PYINSTALLER_RESET_ENVIRONMENT environment variable to be set prior to
|
||||
spawning the process.
|
||||
* Add support for Python 3.13.
|
||||
* Many more changes, see https://pyinstaller.org/en/stable/CHANGES.html
|
||||
- Minor tweaks into the packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 12:38:14 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyInstaller
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,46 +17,35 @@
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%bcond_without python2
|
||||
%bcond_without test
|
||||
%define modname PyInstaller
|
||||
Name: python-PyInstaller
|
||||
Version: 5.13.0
|
||||
Version: 6.11.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://github.com/pyinstaller/pyinstaller/archive/refs/tags/v%{version}.tar.gz#/pyinstaller-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: python-altgraph
|
||||
Requires: python-devel
|
||||
Requires: python-pyinstaller-hooks-contrib >= 2021.4
|
||||
Requires: python-packaging >= 22.0
|
||||
Requires: python-pyinstaller-hooks-contrib >= 2024.0
|
||||
Requires: python-setuptools >= 42.0.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: upx
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Babel}
|
||||
BuildRequires: %{python_module Django}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module QtAwesome}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module altgraph}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module opengl}
|
||||
BuildRequires: %{python_module packaging >= 22.0}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pycountry}
|
||||
BuildRequires: %{python_module pyinstaller-hooks-contrib >= 2021.4}
|
||||
BuildRequires: %{python_module pyinstaller-hooks-contrib >= 2024.0}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: upx
|
||||
%endif
|
||||
%python_subpackages
|
||||
@@ -100,9 +89,7 @@ fi
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
# https://github.com/pyinstaller/pyinstaller/commit/2df8314ffaedd95ddc9e2871237e2f2188d3735e
|
||||
# the test is broken since 5.2
|
||||
%pytest_arch -n auto tests/unit -k "not test_normalize_icon"
|
||||
%pytest_arch -n auto tests/unit
|
||||
%endif
|
||||
|
||||
%post
|
||||
@@ -120,6 +107,7 @@ export LANG=en_US.UTF-8
|
||||
%python_alternative %{_bindir}/pyi-grab_version
|
||||
%python_alternative %{_bindir}/pyi-makespec
|
||||
%python_alternative %{_bindir}/pyi-set_version
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/PyInstaller
|
||||
%{python_sitearch}/pyinstaller-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user