[packages/python3-zipp] - updated to 3.17.0
qboosh
qboosh at pld-linux.org
Sat Oct 21 21:08:06 CEST 2023
commit 7e911db434f27a935386ede4f207108964f2a683
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 21 21:10:15 2023 +0200
- updated to 3.17.0
python3-zipp.spec | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/python3-zipp.spec b/python3-zipp.spec
index 5bd6397..d61b79a 100644
--- a/python3-zipp.spec
+++ b/python3-zipp.spec
@@ -6,48 +6,56 @@
Summary: pathlib-compatible Zipfile object wrapper
Summary(pl.UTF-8): Obiektowe obudowanie Zipfile zgodne z pathlib
Name: python3-zipp
-Version: 3.8.1
+Version: 3.17.0
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/zipp/
Source0: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
-# Source0-md5: 6f15c3e3c78919f8936749b0033e0cea
+# Source0-md5: a4cf8c530da863c27a04251724436681
URL: https://pypi.org/project/zipp/
-BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-modules >= 1:3.8
BuildRequires: python3-setuptools >= 1:56
BuildRequires: python3-setuptools_scm >= 3.4.1
BuildRequires: python3-toml
%if %{with tests}
+# optional
+#BuildRequires: python3-big_o
#BuildRequires: python3-cov
BuildRequires: python3-func_timeout
+BuildRequires: python3-jaraco.functools
BuildRequires: python3-jaraco.itertools
+BuildRequires: python3-more_itertools
BuildRequires: python3-pytest >= 6
#BuildRequires: python3-pytest-black >= 0.3.7
#BuildRequires: python3-pytest-checkdocs >= 2.4
-#BuildRequires: python3-pytest-enabler >= 1.3
+#BuildRequires: python3-pytest-enabler >= 2.2
#BuildRequires: python3-pytest-flake8
+#BuildRequires: python3-pytest-ignore-flaky
#BuildRequires: python3-pytest-mypy >= 0.9.1
+#BuildRequires: python3-pytest-ruff
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
-BuildRequires: python3-jaraco.packaging >= 9
+BuildRequires: python3-furo
+BuildRequires: python3-jaraco.packaging >= 9.3
BuildRequires: python3-jaraco.tidelift >= 1.4
BuildRequires: python3-rst.linker >= 1.9
-BuildRequires: sphinx-pdg-3
+#BuildRequires: python3-sphinx-lint
+BuildRequires: sphinx-pdg-3 >= 3.5
%endif
-Requires: python3-modules >= 1:3.7
+Requires: python3-modules >= 1:3.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-pathlib-compatible Zipfile object wrapper - backport from Python 3.8
+pathlib-compatible Zipfile object wrapper - backport from Python 3.12
zipfile module.
%description -l pl.UTF-8
Obiektowe obudowanie Zipfile zgodne z pathlib - backport z modułu
-zipfile Pythona 3.8.
+zipfile Pythona 3.12.
%package apidocs
Summary: API documentation for Python zipp module
@@ -73,7 +81,8 @@ EOF
%py3_build
%if %{with tests}
-%{__python3} -m unittest test_zipp
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
%endif
%if %{with doc}
@@ -90,9 +99,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES.rst LICENSE README.rst
-%{py3_sitescriptdir}/zipp.py
-%{py3_sitescriptdir}/__pycache__/zipp.cpython-*.py[co]
+%doc LICENSE NEWS.rst README.rst SECURITY.md
+%{py3_sitescriptdir}/zipp
%{py3_sitescriptdir}/zipp-%{version}-py*.egg-info
%if %{with doc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-zipp.git/commitdiff/7e911db434f27a935386ede4f207108964f2a683
More information about the pld-cvs-commit
mailing list