[packages/python3-hatch-vcs] - updated dependencies
qboosh
qboosh at pld-linux.org
Mon May 26 20:31:44 CEST 2025
commit 2bca06e23aa9c67534ca82f76debd68c96161e28
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 26 20:19:29 2025 +0200
- updated dependencies
python3-hatch-vcs.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/python3-hatch-vcs.spec b/python3-hatch-vcs.spec
index 7c3f42d..bdc093b 100644
--- a/python3-hatch-vcs.spec
+++ b/python3-hatch-vcs.spec
@@ -10,17 +10,21 @@ Version: 0.4.0
Release: 2
License: MIT
Group: Libraries/Python
-# if pypi:
#Source0Download: https://pypi.org/simple/hatch-vcs/
Source0: https://files.pythonhosted.org/packages/source/h/hatch-vcs/hatch_vcs-%{version}.tar.gz
# Source0-md5: d801fe7c3e5955307748f2790bbb3488
URL: https://pypi.org/project/hatch-vcs/
-BuildRequires: python3-modules >= 1:3.2
BuildRequires: python3-build
+BuildRequires: python3-hatchling >= 1.1.0
BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.8
+BuildRequires: python3-setuptools_scm >= 6.4.0
+%if %{with tests}
+BuildRequires: python3-pytest
+%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 2.044
-Requires: python3-modules >= 1:3.2
+Requires: python3-modules >= 1:3.8
Obsoletes: python3-hatch_vcs < 0.4.0-10
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,9 +45,7 @@ kontroli wersji (np. Git) do określania wersji pakietów.
%if %{with tests}
%{__python3} -m zipfile -e build-3/*.whl build-3-test
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
%endif
@@ -58,7 +60,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc LICENSE.txt HISTORY.md README.md
-%dir %{py3_sitescriptdir}/hatch_vcs
-%{py3_sitescriptdir}/hatch_vcs/*.py
-%{py3_sitescriptdir}/hatch_vcs/__pycache__
+%{py3_sitescriptdir}/hatch_vcs
%{py3_sitescriptdir}/hatch_vcs-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-hatch-vcs.git/commitdiff/2bca06e23aa9c67534ca82f76debd68c96161e28
More information about the pld-cvs-commit
mailing list