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

OpenTelemetry urllib3 Instrumentation allows tracing HTTP requests made by the
urllib3 library.
This commit is contained in:
Po-Chuan Hsieh 2025-07-01 04:48:32 +08:00
parent 1e1fd633d6
commit d9370f63d6
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 41 additions and 0 deletions

View File

@ -5333,6 +5333,7 @@
SUBDIR += py-opentelemetry-instrumentation-psycopg2
SUBDIR += py-opentelemetry-instrumentation-requests
SUBDIR += py-opentelemetry-instrumentation-urllib
SUBDIR += py-opentelemetry-instrumentation-urllib3
SUBDIR += py-opentelemetry-proto
SUBDIR += py-opentelemetry-sdk
SUBDIR += py-opentelemetry-semantic-conventions

View File

@ -0,0 +1,35 @@
PORTNAME= opentelemetry-instrumentation-urllib3
PORTVERSION= 0.55b1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= opentelemetry_instrumentation_urllib3-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= OpenTelemetry urllib3 instrumentation
WWW= https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-urllib3 \
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} \
${PYTHON_PKGNAMEPREFIX}wrapt>=1.0.0<2.0.0:devel/py-wrapt@${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}urllib3>=1.0.0,1<3.0.0,1:net/py-urllib3@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1751208110
SHA256 (opentelemetry_instrumentation_urllib3-0.55b1.tar.gz) = 2999eb2652c7461ea308ff1b3a61726a695e9df1cc2635b2627017b3a42ee214
SIZE (opentelemetry_instrumentation_urllib3-0.55b1.tar.gz) = 15789

View File

@ -0,0 +1,2 @@
OpenTelemetry urllib3 Instrumentation allows tracing HTTP requests made by the
urllib3 library.