Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c38392aeec | |||
| 7579daffc5 | |||
| 61cc824fbd | |||
| 8171c1d34d | |||
| 7f792c3b8a |
13
conftest.py
Normal file
13
conftest.py
Normal file
@@ -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
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7118c1a5c9788595e5c43ad058a7a5b7b6d59e1eceb42362f6ec1f0b61986b0
|
||||
size 121144
|
||||
3
pyinstaller_hooks_contrib-2025.4.tar.gz
Normal file
3
pyinstaller_hooks_contrib-2025.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5ce1afd1997b03e70f546207031cfdf2782030aabacc102190677059e2856446
|
||||
size 162628
|
||||
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 13:03:09 UTC 2025 - Edgar Aichinger <edogawa@aon.at>
|
||||
|
||||
- Update to 2025.4
|
||||
* Fix error in narwhals hook when typing-extensions is not available
|
||||
in the build environment (neither stand-alone version is installed
|
||||
nor it is provided as part of setuptools). (#908)
|
||||
* For versions 2025.0-3 see the complete changelog in CHANGELOG.rst.
|
||||
- Update runtime requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 09:49:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- 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á <mmachova@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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,15 +26,21 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyinstaller-hooks-contrib%{psuffix}
|
||||
Version: 2024.0
|
||||
Version: 2025.4
|
||||
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 pip}
|
||||
BuildRequires: %{python_module setuptools >= 30.3.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module PyInstaller}
|
||||
@@ -53,26 +59,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
|
||||
|
||||
Reference in New Issue
Block a user