git: 06b6af72fa2b - main - devel/py-opentelemetry-api: Fix build after 267ace101ce1bdde92a62a33317a52a04418b551, 0334fba7b6dd56af05e67d6c425c20a7904be373 and 902a72a31489a3432146847a7b2dc0480a24c4a0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:20:47 UTC
The branch main has been updated by sunpoet:

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

commit 06b6af72fa2bf588ba43a2819c0e6d52f6f45b46
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:26:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:17:57 +0000

    devel/py-opentelemetry-api: Fix build after 267ace101ce1bdde92a62a33317a52a04418b551, 0334fba7b6dd56af05e67d6c425c20a7904be373 and 902a72a31489a3432146847a7b2dc0480a24c4a0
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/open-telemetry/opentelemetry-python/commit/21f4a20b656cc5aecd9d51b2f2d765316d16be30
                    https://github.com/open-telemetry/opentelemetry-python/commit/19e0a092765a0b64cbd993bc10bb5e994947198e
---
 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 2c9a26f59323..81770e58c8ec 100644
--- a/devel/py-opentelemetry-api/Makefile
+++ b/devel/py-opentelemetry-api/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	opentelemetry-api
 PORTVERSION=	1.26.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,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.0.0_99:devel/py-importlib-metadata@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6.0<8.4.0_99: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..b5e5a21cfeec
--- /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.0.0",
++    "importlib-metadata >= 6.0, <= 8.4.0",
+ ]
+ dynamic = [
+     "version",