[packages/python-PyGitUp] - rel 2, relax overly strict deps

baggins baggins at pld-linux.org
Sat Apr 25 11:15:15 CEST 2026


commit 3f646a308053c8a8a91f6e4a5ac942537c9a2835
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 25 13:15:01 2026 +0200

    - rel 2, relax overly strict deps

 python-PyGitUp.spec |  5 ++++-
 relax-deps.patch    | 17 +++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/python-PyGitUp.spec b/python-PyGitUp.spec
index fe7bc69..30be1b3 100644
--- a/python-PyGitUp.spec
+++ b/python-PyGitUp.spec
@@ -7,17 +7,19 @@ Summary:	git-up(1) - fetch and rebase all locally-tracked remote branches
 Summary(pl.UTF-8):	git-up(1) - pobieranie i rebase wszystkich śledzonych lokalnie zdanych gałęzi
 Name:		python-%{module}
 Version:	2.4.0
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://github.com/msiemens/PyGitUp/releases
 Source0:	https://github.com/msiemens/PyGitUp/archive/v%{version}/%{module}-v%{version}.tar.gz
 # Source0-md5:	c722574b2a9554517dd2614a8a43362d
+Patch0:		relax-deps.patch
 URL:		https://github.com/msiemens/PyGitUp
 %{?with_tests:BuildRequires:	git-core}
 BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
+BuildRequires:	python3-hatchling
 %if %{with tests}
 BuildRequires:	python3-click >= 7.0
 BuildRequires:	python3-colorama >= 0.3.7
@@ -53,6 +55,7 @@ gałęzi.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch -P0 -p1
 
 %build
 %py3_build_pyproject
diff --git a/relax-deps.patch b/relax-deps.patch
new file mode 100644
index 0000000..465691c
--- /dev/null
+++ b/relax-deps.patch
@@ -0,0 +1,17 @@
+--- PyGitUp-2.4.0/pyproject.toml~	2025-12-27 19:17:44.000000000 +0100
++++ PyGitUp-2.4.0/pyproject.toml	2026-04-25 13:13:00.816674404 +0200
+@@ -23,10 +23,10 @@
+     "Topic :: Utilities",
+ ]
+ dependencies = [
+-    "GitPython~=3.1",
+-    "colorama~=0.4",
+-    "packaging~=25.0",
+-    "termcolor~=3.2",
++    "GitPython>=3.1",
++    "colorama>=0.4",
++    "packaging>=25.0",
++    "termcolor>=3.2",
+ ]
+ 
+ [project.urls]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyGitUp.git/commitdiff/3f646a308053c8a8a91f6e4a5ac942537c9a2835



More information about the pld-cvs-commit mailing list