git: 77dba4bd22a3 - main - devel/py-opentelemetry-api: Add py-opentelemetry-api 1.17.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 20:42:18 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=77dba4bd22a3511c9ffadc206516d1d512ac6a0b commit 77dba4bd22a3511c9ffadc206516d1d512ac6a0b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-09 20:39:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-09 20:39:09 +0000 devel/py-opentelemetry-api: Add py-opentelemetry-api 1.17.0 OpenTelemetry Python API --- devel/Makefile | 1 + devel/py-opentelemetry-api/Makefile | 25 ++++++++++++++++++++++ devel/py-opentelemetry-api/distinfo | 3 +++ .../files/patch-pyproject.toml | 11 ++++++++++ devel/py-opentelemetry-api/pkg-descr | 1 + 5 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 063b91227cb5..4f760ae5e1cc 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4978,6 +4978,7 @@ SUBDIR += py-opendht SUBDIR += py-opengrok-tools SUBDIR += py-openstacksdk + SUBDIR += py-opentelemetry-api SUBDIR += py-opentracing SUBDIR += py-opster SUBDIR += py-optik diff --git a/devel/py-opentelemetry-api/Makefile b/devel/py-opentelemetry-api/Makefile new file mode 100644 index 000000000000..a5c075f96b7f --- /dev/null +++ b/devel/py-opentelemetry-api/Makefile @@ -0,0 +1,25 @@ +PORTNAME= opentelemetry-api +PORTVERSION= 1.17.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= opentelemetry_api-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenTelemetry Python API +WWW= https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-api + +LICENSE= APACHE20 +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.0<7:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=16.0:devel/py-setuptools@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-opentelemetry-api/distinfo b/devel/py-opentelemetry-api/distinfo new file mode 100644 index 000000000000..f5c060c33958 --- /dev/null +++ b/devel/py-opentelemetry-api/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681052884 +SHA256 (opentelemetry_api-1.17.0.tar.gz) = 3480fcf6b783be5d440a226a51db979ccd7c49a2e98d1c747c991031348dcf04 +SIZE (opentelemetry_api-1.17.0.tar.gz) = 55896 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..e51af73189cf --- /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 = [ + "setuptools >= 16.0", + # 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.0", ++ "importlib-metadata ~= 6.0", + ] + dynamic = [ + "version", diff --git a/devel/py-opentelemetry-api/pkg-descr b/devel/py-opentelemetry-api/pkg-descr new file mode 100644 index 000000000000..f354bcb2eb54 --- /dev/null +++ b/devel/py-opentelemetry-api/pkg-descr @@ -0,0 +1 @@ +OpenTelemetry Python API