git: 3b9a9a17fe26 - main - devel/py-opentelemetry-instrumentation-django: Add py-opentelemetry-instrumentation-django 0.55b1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jun 2025 20:56:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3b9a9a17fe267157503a2dd1ae67c4166f802b9c
commit 3b9a9a17fe267157503a2dd1ae67c4166f802b9c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-30 20:51:52 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-30 20:51:52 +0000
devel/py-opentelemetry-instrumentation-django: Add py-opentelemetry-instrumentation-django 0.55b1
OpenTelemetry Django Tracing allows tracing requests for Django applications.
---
devel/Makefile | 1 +
.../Makefile | 37 ++++++++++++++++++++++
.../distinfo | 3 ++
.../pkg-descr | 1 +
4 files changed, 42 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ee4f078e448e..f113008da7fc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5327,6 +5327,7 @@
SUBDIR += py-opentelemetry-instrumentation
SUBDIR += py-opentelemetry-instrumentation-asgi
SUBDIR += py-opentelemetry-instrumentation-dbapi
+ SUBDIR += py-opentelemetry-instrumentation-django
SUBDIR += py-opentelemetry-proto
SUBDIR += py-opentelemetry-sdk
SUBDIR += py-opentelemetry-semantic-conventions
diff --git a/devel/py-opentelemetry-instrumentation-django/Makefile b/devel/py-opentelemetry-instrumentation-django/Makefile
new file mode 100644
index 000000000000..1f86ce7c3deb
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-django/Makefile
@@ -0,0 +1,37 @@
+PORTNAME= opentelemetry-instrumentation-django
+PORTVERSION= 0.55b1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= opentelemetry_instrumentation_django-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= OpenTelemetry Instrumentation for Django
+WWW= https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-django \
+ 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-instrumentation-wsgi>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation-wsgi@${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= ASGI INSTRUMENTS
+OPTIONS_DEFAULT=ASGI INSTRUMENTS
+ASGI_DESC= Asynchronous Server Gateway Interface support
+INSTRUMENTS_DESC= Instrumentation library
+
+ASGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-instrumentation-asgi>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation-asgi@${PY_FLAVOR}
+INSTRUMENTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}django42>=1.10:www/py-django42@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-opentelemetry-instrumentation-django/distinfo b/devel/py-opentelemetry-instrumentation-django/distinfo
new file mode 100644
index 000000000000..210771fd5a04
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-django/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1751208098
+SHA256 (opentelemetry_instrumentation_django-0.55b1.tar.gz) = 5c179b7fd377f0f617dafcd9f9c07ad980e88fb0983071935b47f9a60ce2c2aa
+SIZE (opentelemetry_instrumentation_django-0.55b1.tar.gz) = 25007
diff --git a/devel/py-opentelemetry-instrumentation-django/pkg-descr b/devel/py-opentelemetry-instrumentation-django/pkg-descr
new file mode 100644
index 000000000000..67cd7aaa6cda
--- /dev/null
+++ b/devel/py-opentelemetry-instrumentation-django/pkg-descr
@@ -0,0 +1 @@
+OpenTelemetry Django Tracing allows tracing requests for Django applications.