[packages/python3-munch] - updated dependencies, cleanup
qboosh
qboosh at pld-linux.org
Sat Dec 13 21:39:29 CET 2025
commit 795261a6b5e19d2bb9bbe079cc48c621e75e3436
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 13 21:39:47 2025 +0100
- updated dependencies, cleanup
python3-munch.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python3-munch.spec b/python3-munch.spec
index 2752f57..3791d49 100644
--- a/python3-munch.spec
+++ b/python3-munch.spec
@@ -14,15 +14,18 @@ Source0: https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}
# Source0-md5: 4e70cf760e3b81dcaa6050803c1dbd72
Patch0: Adjust-tests-for-Python-3.13.patch
URL: https://pypi.org/project/munch/
-BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-pbr >= 3.0
BuildRequires: python3-setuptools >= 1:17.1
%if %{with tests}
BuildRequires: python3-PyYAML >= 5.1.0
+%if "%{_ver_lt %{py3_ver} 3.8}" == "1"
+BuildRequires: python3-importlib_metadata >= 1.7.0
+%endif
BuildRequires: python3-pytest
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 1.750
Requires: python3-modules >= 1:3.6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,9 +46,7 @@ JavaScripcie.
%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
@@ -59,6 +60,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS CHANGELOG.md ChangeLog LICENSE.txt README.md
+%doc AUTHORS CHANGELOG.md LICENSE.txt README.md
%{py3_sitescriptdir}/munch
%{py3_sitescriptdir}/munch-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-munch.git/commitdiff/795261a6b5e19d2bb9bbe079cc48c621e75e3436
More information about the pld-cvs-commit
mailing list