diff --git a/pyinstaller_hooks_contrib-2024.7.tar.gz b/pyinstaller_hooks_contrib-2024.7.tar.gz deleted file mode 100644 index 78c2fd5e292aa8a01f7b563b502485f6ee3a1677..0000000000000000000000000000000000000000 Binary files a/pyinstaller_hooks_contrib-2024.7.tar.gz and /dev/null differ diff --git a/python-pyinstaller-hooks-contrib.spec b/python-pyinstaller-hooks-contrib.spec index ec05b8beb5dc1ae27aa33f72089bc31ccc2f5465..7f3a0322fc0e59025d77fbf7149d5c871c97d644 100644 --- a/python-pyinstaller-hooks-contrib.spec +++ b/python-pyinstaller-hooks-contrib.spec @@ -1,16 +1,22 @@ +%bcond_without test Name: python-pyinstaller-hooks-contrib -Version: 2024.7 +Version: 2025.8 Release: 1 Summary: Community maintained hooks for PyInstaller License: Apache-2.0 or GPL-2.0-only -URL: https://pypi.org/project/pyinstaller-hooks-contrib -Source: https://files.pythonhosted.org/packages/source/p/pyinstaller_hooks_contrib/pyinstaller_hooks_contrib-%{version}.tar.gz +URL: https://github.com/pyinstaller/pyinstaller-hooks-contrib +Source: https://github.com/pyinstaller/pyinstaller-hooks-contrib/archive/refs/tags/v2025.8.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +%if %{without test} BuildRequires: python3-psutil BuildRequires: python3-pytest BuildRequires: python3-pyinstaller +BuildRequires: python3-matplotlib +%endif BuildArch: noarch @@ -24,25 +30,29 @@ Summary: %{Summary} Community maintained hooks for PyInstaller %prep -%autosetup -p1 -n pyinstaller_hooks_contrib-%{version} +%autosetup -p1 -n pyinstaller-hooks-contrib-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check +%if %{without test} export PYTHONPATH=%{buildroot}%{python3_sitelib} pytest +%endif %files -n python3-pyinstaller-hooks-contrib %doc README.md -%license LICENSE LICENSE.APL.txt LICENSE.GPL.txt -%{python3_sitelib}/_pyinstaller_hooks_contrib/* -%{python3_sitelib}/pyinstaller_hooks_contrib-%{version}-py%{python3_version}.egg-info +%license LICENSE +%{python3_sitelib}/* %changelog +* Wed Aug 13 2025 wangkai <13474090681@163.com> - 2025.8-1 +- Update to 2025.8 + * Thu Aug 22 2024 yaoxin - 2024.7-1 - Update to 2024.7: * Add hook for dbus_fast in order to collect submodules that are imported from diff --git a/v2025.8.tar.gz b/v2025.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..00eec854f7830b3abd0b629b9fb1a04fe08f7162 Binary files /dev/null and b/v2025.8.tar.gz differ