git: 4258fdeea5b7 - main - devel/py-opentelemetry-instrumentation-httpx: Add py-opentelemetry-instrumentation-httpx 0.65b0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 11:32:08 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4258fdeea5b74ecd61724e28f61ab94b77160b14

commit 4258fdeea5b74ecd61724e28f61ab94b77160b14
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-12 10:53:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-12 11:10:44 +0000

    devel/py-opentelemetry-instrumentation-httpx: Add py-opentelemetry-instrumentation-httpx 0.65b0
    
    This library allows tracing HTTP requests made by the httpx and httpx2
    libraries.
    
    If both libraries are installed, use HTTPXClientInstrumentor for httpx clients
    and HTTPX2ClientInstrumentor for httpx2 clients. The instrumentors can be
    enabled independently.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 29 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  6 +++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b5d7612ea50d..934ff80aa8f3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5597,6 +5597,7 @@
     SUBDIR += py-opentelemetry-instrumentation-fastapi
     SUBDIR += py-opentelemetry-instrumentation-flask
     SUBDIR += py-opentelemetry-instrumentation-grpc
+    SUBDIR += py-opentelemetry-instrumentation-httpx
     SUBDIR += py-opentelemetry-instrumentation-psycopg2
     SUBDIR += py-opentelemetry-instrumentation-requests
     SUBDIR += py-opentelemetry-instrumentation-urllib
diff --git a/devel/py-opentelemetry-instrumentation-httpx/Makefile b/devel/py-opentelemetry-instrumentation-httpx/Makefile
new file mode 100644
index 000000000000..90be09e5a2e2
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-httpx/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	opentelemetry-instrumentation-httpx
+PORTVERSION=	0.65b0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	opentelemetry_instrumentation_httpx-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	OpenTelemetry HTTPX Instrumentation
+WWW=		https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-httpx \
+		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<3.0.0:devel/py-wrapt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-opentelemetry-instrumentation-httpx/distinfo b/devel/py-opentelemetry-instrumentation-httpx/distinfo
new file mode 100644
index 000000000000..a7d1234105eb
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-httpx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789128258
+SHA256 (opentelemetry_instrumentation_httpx-0.65b0.tar.gz) = 4627aa9c6bb99bf4462c8b565b0ef6aeb9ffad95c6c92868be1ef7895de112ee
+SIZE (opentelemetry_instrumentation_httpx-0.65b0.tar.gz) = 26309
diff --git a/devel/py-opentelemetry-instrumentation-httpx/pkg-descr b/devel/py-opentelemetry-instrumentation-httpx/pkg-descr
new file mode 100644
index 000000000000..ac20c9fa5bbe
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-httpx/pkg-descr
@@ -0,0 +1,6 @@
+This library allows tracing HTTP requests made by the httpx and httpx2
+libraries.
+
+If both libraries are installed, use HTTPXClientInstrumentor for httpx clients
+and HTTPX2ClientInstrumentor for httpx2 clients. The instrumentors can be
+enabled independently.