git: 1b8cf57469c7 - main - devel/py-opentelemetry-api: Fix build after 006235845850f0bc57bbc2eb686080ff06f32067

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 20:16:30 UTC
The branch main has been updated by sunpoet:

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

commit 1b8cf57469c7942ca64cce61d7bc1dd996b42cc9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-15 19:43:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-15 20:09:46 +0000

    devel/py-opentelemetry-api: Fix build after 006235845850f0bc57bbc2eb686080ff06f32067
    
    - Bump PORTREVISION for package change
---
 devel/py-opentelemetry-api/Makefile                   |  3 ++-
 devel/py-opentelemetry-api/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-opentelemetry-api/Makefile b/devel/py-opentelemetry-api/Makefile
index 752efc28e459..2b1180d9b812 100644
--- a/devel/py-opentelemetry-api/Makefile
+++ b/devel/py-opentelemetry-api/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	opentelemetry-api
 PORTVERSION=	1.27.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.6:devel/py-deprecated@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6.0<8.4.0_99:devel/py-importlib-metadata@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6.0:devel/py-importlib-metadata@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-opentelemetry-api/files/patch-pyproject.toml b/devel/py-opentelemetry-api/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a74aeb1a4143
--- /dev/null
+++ b/devel/py-opentelemetry-api/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -29,7 +29,7 @@ dependencies = [
+     "Deprecated >= 1.2.6",
+     # FIXME This should be able to be removed after 3.12 is released if there is a reliable API
+     # in importlib.metadata.
+-    "importlib-metadata >= 6.0, <= 8.4.0",
++    "importlib-metadata >= 6.0",
+ ]
+ dynamic = [
+     "version",