diff --git a/conftest.py b/conftest.py new file mode 100644 index 0000000..3993be3 --- /dev/null +++ b/conftest.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------ +# Copyright (c) 2020 PyInstaller Development Team. +# +# This file is distributed under the terms of the GNU General Public +# License (version 2.0 or later). +# +# The full license is available in LICENSE, distributed with +# this software. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ------------------------------------------------------------------ +# Import all fixtures from PyInstaller into the tests. +from PyInstaller.utils.conftest import * # noqa: F401,F403 diff --git a/pyinstaller-hooks-contrib-2024.0.tar.gz b/pyinstaller-hooks-contrib-2024.0.tar.gz deleted file mode 100644 index f9a27c5..0000000 --- a/pyinstaller-hooks-contrib-2024.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7118c1a5c9788595e5c43ad058a7a5b7b6d59e1eceb42362f6ec1f0b61986b0 -size 121144 diff --git a/pyinstaller_hooks_contrib-2024.11.tar.gz b/pyinstaller_hooks_contrib-2024.11.tar.gz new file mode 100644 index 0000000..4ec5dee --- /dev/null +++ b/pyinstaller_hooks_contrib-2024.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84399af6b4b902030958063df25f657abbff249d0f329c5344928355c9833ab4 +size 141622 diff --git a/python-pyinstaller-hooks-contrib.changes b/python-pyinstaller-hooks-contrib.changes index d7de764..70d2c0d 100644 --- a/python-pyinstaller-hooks-contrib.changes +++ b/python-pyinstaller-hooks-contrib.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Jan 7 09:49:19 UTC 2025 - Markéta Machová + +- Update to 2024.11 + * Update torch hook to suppress creation of symbolic links to the + top-level application directory + * Update sklearn.tree hook for compatibility with scikit-learn v1.6.0 +- Downloaded upstream conftest.py missing in the tarball + +------------------------------------------------------------------- +Fri Dec 13 10:56:25 UTC 2024 - Markéta Machová + +- update to 2024.10 + * Add many hooks, updated many hooks. + * Released sdists and tagged GitHub source archives contain the + changelog entries for their current release. + * See the complete changelog in CHANGELOG.rst. + ------------------------------------------------------------------- Tue Jan 30 17:57:19 UTC 2024 - Dirk Müller diff --git a/python-pyinstaller-hooks-contrib.spec b/python-pyinstaller-hooks-contrib.spec index 11c4877..9662d18 100644 --- a/python-pyinstaller-hooks-contrib.spec +++ b/python-pyinstaller-hooks-contrib.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyinstaller-hooks-contrib # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,13 +26,16 @@ %endif %{?sle15_python_module_pythons} Name: python-pyinstaller-hooks-contrib%{psuffix} -Version: 2024.0 +Version: 2024.11 Release: 0 Summary: Community maintained hooks for PyInstaller License: Apache-2.0 OR GPL-2.0-only URL: https://github.com/pyinstaller/pyinstaller-hooks-contrib -Source: https://files.pythonhosted.org/packages/source/p/pyinstaller-hooks-contrib/pyinstaller-hooks-contrib-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pyinstaller_hooks_contrib/pyinstaller_hooks_contrib-%{version}.tar.gz +# conftest.py not present in the tarball +Source1: https://raw.githubusercontent.com/pyinstaller/pyinstaller-hooks-contrib/refs/heads/master/tests/conftest.py BuildRequires: %{python_module setuptools >= 30.3.0} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -53,26 +56,28 @@ BuildRequires: %{python_module scikit-learn} Community maintained hooks for PyInstaller %prep -%autosetup -p1 -n pyinstaller-hooks-contrib-%{version} +%autosetup -p1 -n pyinstaller_hooks_contrib-%{version} +cp %{SOURCE1} tests/ %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} -%pytest src/_pyinstaller_hooks_contrib/tests +# pytest-runner is dead in Python 3.13 +%pytest -k "not pytest_runner" %endif %if !%{with test} %files %{python_files} %doc README.md -%license LICENSE LICENSE.APL.txt LICENSE.GPL.txt +%license LICENSE %{python_sitelib}/_pyinstaller_hooks_contrib %{python_sitelib}/pyinstaller_hooks_contrib-%{version}*-info %endif