forked from pool/python-pyinstaller-hooks-contrib
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
348026be83 | ||
|
f84748fd3d |
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-2024.11.tar.gz
Normal file
3
pyinstaller_hooks_contrib-2024.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:84399af6b4b902030958063df25f657abbff249d0f329c5344928355c9833ab4
|
||||||
|
size 141622
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,13 +26,16 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyinstaller-hooks-contrib%{psuffix}
|
Name: python-pyinstaller-hooks-contrib%{psuffix}
|
||||||
Version: 2024.0
|
Version: 2024.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Community maintained hooks for PyInstaller
|
Summary: Community maintained hooks for PyInstaller
|
||||||
License: Apache-2.0 OR GPL-2.0-only
|
License: Apache-2.0 OR GPL-2.0-only
|
||||||
URL: https://github.com/pyinstaller/pyinstaller-hooks-contrib
|
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 setuptools >= 30.3.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -53,26 +56,28 @@ BuildRequires: %{python_module scikit-learn}
|
|||||||
Community maintained hooks for PyInstaller
|
Community maintained hooks for PyInstaller
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyinstaller-hooks-contrib-%{version}
|
%autosetup -p1 -n pyinstaller_hooks_contrib-%{version}
|
||||||
|
cp %{SOURCE1} tests/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%pytest src/_pyinstaller_hooks_contrib/tests
|
# pytest-runner is dead in Python 3.13
|
||||||
|
%pytest -k "not pytest_runner"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE LICENSE.APL.txt LICENSE.GPL.txt
|
%license LICENSE
|
||||||
%{python_sitelib}/_pyinstaller_hooks_contrib
|
%{python_sitelib}/_pyinstaller_hooks_contrib
|
||||||
%{python_sitelib}/pyinstaller_hooks_contrib-%{version}*-info
|
%{python_sitelib}/pyinstaller_hooks_contrib-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user