[packages/python3-pyinstaller-hooks-contrib] New

baggins baggins at pld-linux.org
Sat Aug 16 13:51:44 CEST 2025


commit 0c6bfbc82d8a41558a74d3dda663042ac63c21af
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 16 15:51:17 2025 +0200

    New

 python3-pyinstaller-hooks-contrib.spec | 55 ++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/python3-pyinstaller-hooks-contrib.spec b/python3-pyinstaller-hooks-contrib.spec
new file mode 100644
index 0000000..e354115
--- /dev/null
+++ b/python3-pyinstaller-hooks-contrib.spec
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module	pyinstaller-hooks-contrib
+Summary:	Community maintained hooks for PyInstaller
+Name:		python3-%{module}
+Version:	2025.8
+Release:	1
+License:	Apache v2.0 and GPL v2
+Group:		Libraries/Python
+Source0:	https://files.pythonhosted.org/packages/source/p/pyinstaller-hooks-contrib/pyinstaller_hooks_contrib-%{version}.tar.gz
+# Source0-md5:	99cffe94123fe57ab92c0f2989397976
+URL:		https://pypi.org/project/pyinstaller-hooks-contrib/
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-pyinstaller
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This repository is a collection of hooks for many packages, and allows
+PyInstaller to work with these packages seamlessly.
+
+%prep
+%setup -q -n pyinstaller_hooks_contrib-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%{py3_sitescriptdir}/_pyinstaller_hooks_contrib
+%{py3_sitescriptdir}/pyinstaller_hooks_contrib-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pyinstaller-hooks-contrib.git/commitdiff/0c6bfbc82d8a41558a74d3dda663042ac63c21af



More information about the pld-cvs-commit mailing list