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

OpenTelemetry Requests Instrumentation allows tracing HTTP requests made by the
requests library.
This commit is contained in:
Po-Chuan Hsieh
2025-07-01 04:48:30 +08:00
parent 7b0a29585d
commit 77b12d9cb8
4 changed files with 40 additions and 0 deletions
+1
View File
@@ -5331,6 +5331,7 @@
SUBDIR += py-opentelemetry-instrumentation-fastapi
SUBDIR += py-opentelemetry-instrumentation-flask
SUBDIR += py-opentelemetry-instrumentation-psycopg2
SUBDIR += py-opentelemetry-instrumentation-requests
SUBDIR += py-opentelemetry-proto
SUBDIR += py-opentelemetry-sdk
SUBDIR += py-opentelemetry-semantic-conventions
@@ -0,0 +1,34 @@
PORTNAME= opentelemetry-instrumentation-requests
PORTVERSION= 0.55b1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= opentelemetry_instrumentation_requests-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= OpenTelemetry requests instrumentation
WWW= https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-requests \
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-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}
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}requests>=2.0<3:www/py-requests@${PY_FLAVOR}
.include <bsd.port.mk>
@@ -0,0 +1,3 @@
TIMESTAMP = 1751208106
SHA256 (opentelemetry_instrumentation_requests-0.55b1.tar.gz) = 3a04ae7bc90af08acef074b369275cf77c60533b319fa91cad76a380fd035c83
SIZE (opentelemetry_instrumentation_requests-0.55b1.tar.gz) = 14778
@@ -0,0 +1,2 @@
OpenTelemetry Requests Instrumentation allows tracing HTTP requests made by the
requests library.