git: 1c9e03d1fb8a - main - devel/py-python-semantic-release: Allow build with py-python-gitlab 5.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:42:35 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c9e03d1fb8ac80126df91d8b6cf706790f00131

commit 1c9e03d1fb8ac80126df91d8b6cf706790f00131
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:22:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:38:16 +0000

    devel/py-python-semantic-release: Allow build with py-python-gitlab 5.0.0+
    
    - Fix build after 45b4df0acd5d9064b6cc5a94699d4d3b1b194acc
    - Bump PORTREVISION for package change
---
 devel/py-python-semantic-release/Makefile                   |  3 ++-
 devel/py-python-semantic-release/files/patch-pyproject.toml | 11 ++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/devel/py-python-semantic-release/Makefile b/devel/py-python-semantic-release/Makefile
index ba5f24ac6126..782be83f878e 100644
--- a/devel/py-python-semantic-release/Makefile
+++ b/devel/py-python-semantic-release/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python-semantic-release
 PORTVERSION=	9.12.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,7 +23,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=8.0<9:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}importlib-resources>=6.0<7:devel/py-importlib-resources@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1<4:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0<3:devel/py-pydantic2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-gitlab>=4.0<5:devel/py-python-gitlab@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-gitlab>=4.0:devel/py-python-gitlab@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.25<3:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=13.0<14:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}shellingham>=1.5<2:devel/py-shellingham@${PY_FLAVOR} \
diff --git a/devel/py-python-semantic-release/files/patch-pyproject.toml b/devel/py-python-semantic-release/files/patch-pyproject.toml
index 4cd3976e767b..d354a9154543 100644
--- a/devel/py-python-semantic-release/files/patch-pyproject.toml
+++ b/devel/py-python-semantic-release/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig	2024-10-12 23:27:18 UTC
+--- pyproject.toml.orig	2024-10-18 04:41:49 UTC
 +++ pyproject.toml
 @@ -1,7 +1,7 @@
  # Ref: https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
@@ -9,3 +9,12 @@
  build-backend = "setuptools.build_meta"
  
  [project]
+@@ -27,7 +27,7 @@ dependencies = [
+   "gitpython ~= 3.0",
+   "requests ~= 2.25",
+   "jinja2 ~= 3.1",
+-  "python-gitlab ~= 4.0",
++  "python-gitlab >= 4.0",
+   "tomlkit ~= 0.11",
+   "dotty-dict ~= 1.3",
+   "importlib-resources ~= 6.0",