git: 124d3ecab06f - main - devel/py-opentelemetry-api: Fix build after py-importlib-metadata 7.0.0 update (659be85740ebc197ff52e1b32f4e48e668b7cb85)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 06:06:14 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=124d3ecab06f04f4b9d67e60cf2cd74104dd813e commit 124d3ecab06f04f4b9d67e60cf2cd74104dd813e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-14 05:36:27 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-14 05:48:27 +0000 devel/py-opentelemetry-api: Fix build after py-importlib-metadata 7.0.0 update (659be85740ebc197ff52e1b32f4e48e668b7cb85) - 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 eceed58e35d6..f4c98b804864 100644 --- a/devel/py-opentelemetry-api/Makefile +++ b/devel/py-opentelemetry-api/Makefile @@ -1,5 +1,6 @@ PORTNAME= opentelemetry-api PORTVERSION= 1.21.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<7.0: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..ae575e93b28d --- /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 +@@ -28,7 +28,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, < 7.0", ++ "importlib-metadata >= 6.0", + ] + dynamic = [ + "version",