devel/py-opentelemetry-instrumentation-flask: Add py-opentelemetry-instrumentation-flask 0.55b1

OpenTelemetry Flask Tracing builds on the OpenTelemetry WSGI middleware to track
web requests in Flask applications.
This commit is contained in:
Po-Chuan Hsieh
2025-07-01 04:48:27 +08:00
parent 90818ffd7d
commit a38f7598f7
4 changed files with 42 additions and 0 deletions
+1
View File
@@ -5329,6 +5329,7 @@
SUBDIR += py-opentelemetry-instrumentation-dbapi
SUBDIR += py-opentelemetry-instrumentation-django
SUBDIR += py-opentelemetry-instrumentation-fastapi
SUBDIR += py-opentelemetry-instrumentation-flask
SUBDIR += py-opentelemetry-proto
SUBDIR += py-opentelemetry-sdk
SUBDIR += py-opentelemetry-semantic-conventions
@@ -0,0 +1,36 @@
PORTNAME= opentelemetry-instrumentation-flask
PORTVERSION= 0.55b1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= opentelemetry_instrumentation_flask-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Flask instrumentation for OpenTelemetry
WWW= https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-flask \
https://github.com/open-telemetry/opentelemetry-python-contrib \
https://opentelemetry.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.12<2:devel/py-opentelemetry-api@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opentelemetry-instrumentation>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opentelemetry-instrumentation-wsgi>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation-wsgi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opentelemetry-semantic-conventions>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-semantic-conventions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opentelemetry-util-http>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-util-http@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
OPTIONS_DEFINE= INSTRUMENTS
OPTIONS_DEFAULT=INSTRUMENTS
INSTRUMENTS_DESC= Instrumentation library
INSTRUMENTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}flask>=1.0:www/py-flask@${PY_FLAVOR}
.include <bsd.port.mk>
@@ -0,0 +1,3 @@
TIMESTAMP = 1751208102
SHA256 (opentelemetry_instrumentation_flask-0.55b1.tar.gz) = db95a29e87694f9d96744880cfaf7b6672247a839c8ed5c4162a655ba2e9e2d8
SIZE (opentelemetry_instrumentation_flask-0.55b1.tar.gz) = 19380
@@ -0,0 +1,2 @@
OpenTelemetry Flask Tracing builds on the OpenTelemetry WSGI middleware to track
web requests in Flask applications.