git: 173986f6027f - main - misc/py-openinference-instrumentation: New port: OpenInference: Instrumentation utilities

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 12 Jul 2026 16:54:32 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=173986f6027fc3e6d8aea7bd49fbdb74ca76ad23

commit 173986f6027fc3e6d8aea7bd49fbdb74ca76ad23
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-12 01:05:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-12 16:54:25 +0000

    misc/py-openinference-instrumentation: New port: OpenInference: Instrumentation utilities
---
 misc/Makefile                                   |  1 +
 misc/py-openinference-instrumentation/Makefile  | 26 +++++++++++++++++++++++++
 misc/py-openinference-instrumentation/distinfo  |  3 +++
 misc/py-openinference-instrumentation/pkg-descr |  2 ++
 4 files changed, 32 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index f7d3bb51b18b..5e8773af1058 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -593,6 +593,7 @@
     SUBDIR += py-openai
     SUBDIR += py-openai-harmony
     SUBDIR += py-openai-whisper
+    SUBDIR += py-openinference-instrumentation
     SUBDIR += py-openinference-semantic-conventions
     SUBDIR += py-openpaperwork-core
     SUBDIR += py-openpaperwork-gtk
diff --git a/misc/py-openinference-instrumentation/Makefile b/misc/py-openinference-instrumentation/Makefile
new file mode 100644
index 000000000000..518a3abcff5d
--- /dev/null
+++ b/misc/py-openinference-instrumentation/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	openinference-instrumentation
+PORTVERSION=	0.1.54
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	OpenInference: Iinstrumentation utilities
+WWW=		https://github.com/Arize-ai/openinference/tree/main/python/openinference-instrumentation
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openinference-semantic-conventions>=0.1.30:misc/py-openinference-semantic-conventions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}opentelemetry-api>0:devel/py-opentelemetry-api@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk>0:devel/py-opentelemetry-sdk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wrapt>=1.14.0:devel/py-wrapt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-openinference-instrumentation/distinfo b/misc/py-openinference-instrumentation/distinfo
new file mode 100644
index 000000000000..22cc5ce9c179
--- /dev/null
+++ b/misc/py-openinference-instrumentation/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783740407
+SHA256 (openinference_instrumentation-0.1.54.tar.gz) = 9af9817bb38816ed32856fb4cd813c1a5d9f530ab589c3473b37e06cf406ab28
+SIZE (openinference_instrumentation-0.1.54.tar.gz) = 33938
diff --git a/misc/py-openinference-instrumentation/pkg-descr b/misc/py-openinference-instrumentation/pkg-descr
new file mode 100644
index 000000000000..61f052ae2040
--- /dev/null
+++ b/misc/py-openinference-instrumentation/pkg-descr
@@ -0,0 +1,2 @@
+OpenInference instrumentation utilities provide helper functions used by
+OpenInference auto-instrumentation libraries.