git: bc28ae94fce4 - main - devel/py-poetry-types: Allow build with py-tomlkit 0.12.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:32:21 UTC
The branch main has been updated by sunpoet:

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

commit bc28ae94fce4b97d9c6a7ed48a1a951f18884582
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:12:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:31 +0000

    devel/py-poetry-types: Allow build with py-tomlkit 0.12.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-poetry-types/Makefile                   |  3 ++-
 devel/py-poetry-types/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-poetry-types/Makefile b/devel/py-poetry-types/Makefile
index 1291750e9c98..e922cd86eade 100644
--- a/devel/py-poetry-types/Makefile
+++ b/devel/py-poetry-types/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	poetry-types
 PORTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=21.3<24.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}poetry>=1.5<2:devel/py-poetry@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.12:textproc/py-tomlkit@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.13.0:textproc/py-tomlkit@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-poetry-types/files/patch-pyproject.toml b/devel/py-poetry-types/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c7f63e2fd7d7
--- /dev/null
+++ b/devel/py-poetry-types/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-05-26 23:37:18 UTC
++++ pyproject.toml
+@@ -15,7 +15,7 @@ classifiers = [
+ [tool.poetry.dependencies]
+ python = "^3.7"
+ poetry = "^1.5"
+-tomlkit = "^0.11.4"
++tomlkit = ">=0.11.4,<0.13.0"
+ packaging = ">=21.3,<24.0"
+ 
+ [tool.poetry.group.dev.dependencies]