[packages/python3-path] - updated to 17.1.1

qboosh qboosh at pld-linux.org
Thu Mar 12 20:21:45 CET 2026


commit ed7c24b4635bd6cc2524bd1bae70250fcde9189a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 12 20:21:50 2026 +0100

    - updated to 17.1.1

 python3-path.spec | 37 ++++++++++++++++---------------------
 1 file changed, 16 insertions(+), 21 deletions(-)
---
diff --git a/python3-path.spec b/python3-path.spec
index 683609e..db39fe3 100644
--- a/python3-path.spec
+++ b/python3-path.spec
@@ -6,32 +6,34 @@
 Summary:	Python module wrapper for os.path
 Summary(pl.UTF-8):	Moduł Pythona obudowujący os.path
 Name:		python3-path
-Version:	17.1.0
+Version:	17.1.1
 Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.python.org/simple/path/
 Source0:	https://files.pythonhosted.org/packages/source/p/path/path-%{version}.tar.gz
-# Source0-md5:	3f03cdccfa0fdd9dee34c445701d4a31
+# Source0-md5:	c7ab103cb96b36758daeccd1ed52b587
 URL:		https://github.com/jaraco/path
-BuildRequires:	python3 >= 1:3.8
-BuildRequires:	python3-modules >= 1:3.8
-BuildRequires:	python3-setuptools >= 1:56
+BuildRequires:	python3 >= 1:3.9
+BuildRequires:	python3-build
+BuildRequires:	python3-coherent.licensed
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-setuptools >= 1:77
 BuildRequires:	python3-setuptools_scm >= 3.4.1
 BuildRequires:	python3-toml
 %if %{with tests}
 BuildRequires:	python3-appdirs
+BuildRequires:	python3-more_itertools
 BuildRequires:	python3-packaging
 BuildRequires:	python3-pygments
 BuildRequires:	python3-pytest >= 6
 # lint only?
-#BuildRequires:	python3-pytest-black >= 0.3.7
 #BuildRequires:	python3-pytest-checkdocs >= 2.4
 #BuildRequires:	python3-pytest-enabler >= 2.2
 #BuildRequires:	python3-pytest-cov
-#BuildRequires:	python3-pytest-flake8
 #BuildRequires:	python3-pytest-mypy >= 0.9.1
-#BuildRequires:	python3-pytest-ruff
+#BuildRequires:	python3-pytest-ruff >= 0.2.1
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
@@ -43,7 +45,7 @@ BuildRequires:	python3-jaraco.tidelift >= 1.4
 BuildRequires:	python3-rst.linker >= 1.9
 #BuildRequires:	python3-sphinx-lint
 %endif
-Requires:	python3-modules >= 1:3.8
+Requires:	python3-modules >= 1:3.9
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -71,19 +73,12 @@ Dokumentacja modułu Pythona path.
 %prep
 %setup -q -n path-%{version}
 
-# stub for setuptools
-cat >setup.py <<EOF
-from setuptools import setup
-setup()
-EOF
-
 %build
-%py3_build
+%py3_build_pyproject
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="black,pytest_cov.plugin,pytest_flake8" \
-%{__python3} -m pytest build-3
+%{__python3} -m pytest path tests
 %endif
 
 %if %{with doc}
@@ -97,16 +92,16 @@ PYTHONPATH=$(pwd) \
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE NEWS.rst README.rst
+%doc LICENSE NEWS.rst README.rst SECURITY.md
 %{py3_sitescriptdir}/path
-%{py3_sitescriptdir}/path-%{version}-py*.egg-info
+%{py3_sitescriptdir}/path-%{version}.dist-info
 
 %if %{with doc}
 %files apidocs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-path.git/commitdiff/ed7c24b4635bd6cc2524bd1bae70250fcde9189a



More information about the pld-cvs-commit mailing list