git: 695cc596b0f6 - main - misc/py-langsmith: New port: Library to connect to the LangSmith LLM Tracing & Evaluation Platform

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 17 Jul 2025 21:57:07 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=695cc596b0f6e255a86a40b96ef15fa5079e8134

commit 695cc596b0f6e255a86a40b96ef15fa5079e8134
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-07-17 14:01:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-17 21:57:05 +0000

    misc/py-langsmith: New port: Library to connect to the LangSmith LLM Tracing & Evaluation Platform
---
 misc/Makefile               |  1 +
 misc/py-langsmith/Makefile  | 27 +++++++++++++++++++++++++++
 misc/py-langsmith/distinfo  |  3 +++
 misc/py-langsmith/pkg-descr |  5 +++++
 4 files changed, 36 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 4988a014b83c..fac90a13732b 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -456,6 +456,7 @@
     SUBDIR += py-ipyfastscape
     SUBDIR += py-jiwer
     SUBDIR += py-kartograph
+    SUBDIR += py-langsmith
     SUBDIR += py-laspy
     SUBDIR += py-lazrs
     SUBDIR += py-lightgbm
diff --git a/misc/py-langsmith/Makefile b/misc/py-langsmith/Makefile
new file mode 100644
index 000000000000..c0cda930e08c
--- /dev/null
+++ b/misc/py-langsmith/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	langsmith
+DISTVERSION=	0.4.6
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library to connect to the LangSmith LLM Tracing & Evaluation Platform
+WWW=		https://smith.langchain.com/ \
+		https://github.com/langchain-ai/langsmith-sdk/tree/main/python
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14:devel/py-orjson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langsmith/distinfo b/misc/py-langsmith/distinfo
new file mode 100644
index 000000000000..1db3d45c1775
--- /dev/null
+++ b/misc/py-langsmith/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752786494
+SHA256 (langsmith-0.4.6.tar.gz) = 9189dbc9c60f2086ca3a1f0110cfe3aff6b0b7c2e0e3384f9572e70502e7933c
+SIZE (langsmith-0.4.6.tar.gz) = 352364
diff --git a/misc/py-langsmith/pkg-descr b/misc/py-langsmith/pkg-descr
new file mode 100644
index 000000000000..66f54506e9b8
--- /dev/null
+++ b/misc/py-langsmith/pkg-descr
@@ -0,0 +1,5 @@
+LangSmith helps your team debug, evaluate, and monitor your language models
+and intelligent agents. It works with any LLM Application, including a native
+integration with the LangChain Python and LangChain JS open source libraries.
+LangSmith is developed and maintained by LangChain, the company behind the
+LangChain framework.