git: d9f53821fc44 - main - devel/py-hatch-semver: Allow build with py-semver 3.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 May 2023 16:28:05 UTC
The branch main has been updated by sunpoet:

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

commit d9f53821fc446b80c35a1eb90a62221262665a1d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-02 16:20:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-02 16:20:06 +0000

    devel/py-hatch-semver: Allow build with py-semver 3.0.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-hatch-semver/Makefile                   | 4 ++--
 devel/py-hatch-semver/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/devel/py-hatch-semver/Makefile b/devel/py-hatch-semver/Makefile
index 1207a6e38ac5..04c5bbb40fc1 100644
--- a/devel/py-hatch-semver/Makefile
+++ b/devel/py-hatch-semver/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hatch-semver
 PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semver>=2.13.0<2.14:devel/py-semver@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}semver>=2.13.0:devel/py-semver@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-hatch-semver/files/patch-pyproject.toml b/devel/py-hatch-semver/files/patch-pyproject.toml
index 17cf018de7d7..60c495333c52 100644
--- a/devel/py-hatch-semver/files/patch-pyproject.toml
+++ b/devel/py-hatch-semver/files/patch-pyproject.toml
@@ -8,3 +8,12 @@
  ]
  build-backend = "hatchling.build"
  
+@@ -41,7 +40,7 @@ classifiers = [
+ 
+ dependencies = [
+     "hatchling",
+-    "semver ~= 2.13.0",
++    "semver >= 2.13.0",
+ ]
+ 
+ dynamic = [