git: d9370f63d675 - main - devel/py-opentelemetry-instrumentation-urllib3: Add py-opentelemetry-instrumentation-urllib3 0.55b1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jun 2025 20:56:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d9370f63d675495abf62613efdddc54c69a4ace6
commit d9370f63d675495abf62613efdddc54c69a4ace6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-30 20:48:32 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-30 20:51:57 +0000
devel/py-opentelemetry-instrumentation-urllib3: Add py-opentelemetry-instrumentation-urllib3 0.55b1
OpenTelemetry urllib3 Instrumentation allows tracing HTTP requests made by the
urllib3 library.
---
devel/Makefile | 1 +
.../Makefile | 35 ++++++++++++++++++++++
.../distinfo | 3 ++
.../pkg-descr | 2 ++
4 files changed, 41 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 69ebf3130313..c0144da24c55 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-opentelemetry-instrumentation-urllib3/Makefile b/devel/py-opentelemetry-instrumentation-urllib3/Makefile
new file mode 100644
index 000000000000..068a94bc1889
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib3/Makefile
@@ -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>
diff --git a/devel/py-opentelemetry-instrumentation-urllib3/distinfo b/devel/py-opentelemetry-instrumentation-urllib3/distinfo
new file mode 100644
index 000000000000..07b0381bdc3f
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1751208110
+SHA256 (opentelemetry_instrumentation_urllib3-0.55b1.tar.gz) = 2999eb2652c7461ea308ff1b3a61726a695e9df1cc2635b2627017b3a42ee214
+SIZE (opentelemetry_instrumentation_urllib3-0.55b1.tar.gz) = 15789
diff --git a/devel/py-opentelemetry-instrumentation-urllib3/pkg-descr b/devel/py-opentelemetry-instrumentation-urllib3/pkg-descr
new file mode 100644
index 000000000000..09ac65d48e59
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-urllib3/pkg-descr
@@ -0,0 +1,2 @@
+OpenTelemetry urllib3 Instrumentation allows tracing HTTP requests made by the
+urllib3 library.