git: 1e1fd633d629 - main - devel/py-opentelemetry-instrumentation-urllib: Add py-opentelemetry-instrumentation-urllib 0.55b1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jun 2025 20:56:18 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e1fd633d6294c9b19b3cdfdbd15a2732492a2ac

commit 1e1fd633d6294c9b19b3cdfdbd15a2732492a2ac
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-30 20:48:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-30 20:51:57 +0000

    devel/py-opentelemetry-instrumentation-urllib: Add py-opentelemetry-instrumentation-urllib 0.55b1
    
    OpenTelemetry urllib Instrumentation allows tracing HTTP requests made by the
    urllib library.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 28 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  2 ++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 0375a9b84f5c..69ebf3130313 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5332,6 +5332,7 @@
     SUBDIR += py-opentelemetry-instrumentation-flask
     SUBDIR += py-opentelemetry-instrumentation-psycopg2
     SUBDIR += py-opentelemetry-instrumentation-requests
+    SUBDIR += py-opentelemetry-instrumentation-urllib
     SUBDIR += py-opentelemetry-proto
     SUBDIR += py-opentelemetry-sdk
     SUBDIR += py-opentelemetry-semantic-conventions
diff --git a/devel/py-opentelemetry-instrumentation-urllib/Makefile b/devel/py-opentelemetry-instrumentation-urllib/Makefile
new file mode 100644
index 000000000000..b7699c5fce4f
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	opentelemetry-instrumentation-urllib
+PORTVERSION=	0.55b1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	opentelemetry_instrumentation_urllib-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	OpenTelemetry urllib instrumentation
+WWW=		https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-urllib \
+		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
+
+.include <bsd.port.mk>
diff --git a/devel/py-opentelemetry-instrumentation-urllib/distinfo b/devel/py-opentelemetry-instrumentation-urllib/distinfo
new file mode 100644
index 000000000000..46d256e92b87
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1751208108
+SHA256 (opentelemetry_instrumentation_urllib-0.55b1.tar.gz) = 9961b6035cc68df048e703089de14da4e05e6f123a1f3d61c9341a2a75123a8d
+SIZE (opentelemetry_instrumentation_urllib-0.55b1.tar.gz) = 13920
diff --git a/devel/py-opentelemetry-instrumentation-urllib/pkg-descr b/devel/py-opentelemetry-instrumentation-urllib/pkg-descr
new file mode 100644
index 000000000000..2341723e3609
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib/pkg-descr
@@ -0,0 +1,2 @@
+OpenTelemetry urllib Instrumentation allows tracing HTTP requests made by the
+urllib library.