git: 1f23c7a33a9a - main - misc/py-langgraph-sdk: New port: LangGraph: SDK for interacting with LangGraph API

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 19 Jul 2025 00:46:22 UTC
The branch main has been updated by yuri:

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

commit 1f23c7a33a9a539f4e59e9bd2edc5904e44a77c1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-07-19 00:46:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-19 00:46:14 +0000

    misc/py-langgraph-sdk: New port: LangGraph: SDK for interacting with LangGraph API
---
 misc/Makefile                   |  1 +
 misc/py-langgraph-sdk/Makefile  | 25 +++++++++++++++++++++++++
 misc/py-langgraph-sdk/distinfo  |  3 +++
 misc/py-langgraph-sdk/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 07e30ed367b0..1d1e10638d81 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -462,6 +462,7 @@
     SUBDIR += py-langchain-google-genai
     SUBDIR += py-langchain-tests
     SUBDIR += py-langchain-text-splitters
+    SUBDIR += py-langgraph-sdk
     SUBDIR += py-langsmith
     SUBDIR += py-laspy
     SUBDIR += py-lazrs
diff --git a/misc/py-langgraph-sdk/Makefile b/misc/py-langgraph-sdk/Makefile
new file mode 100644
index 000000000000..03dc5d695150
--- /dev/null
+++ b/misc/py-langgraph-sdk/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	langgraph-sdk
+DISTVERSION=	0.1.73
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	LangGraph: SDK for interacting with LangGraph API
+WWW=		https://github.com/langchain-ai/langgraph/tree/main/libs/sdk-py
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.25.2:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}orjson>=3.10.1:devel/py-orjson@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langgraph-sdk/distinfo b/misc/py-langgraph-sdk/distinfo
new file mode 100644
index 000000000000..7b5cd1f27369
--- /dev/null
+++ b/misc/py-langgraph-sdk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752885687
+SHA256 (langgraph_sdk-0.1.73.tar.gz) = 6e6dcdf66bcf8710739899616856527a72a605ce15beb76fbac7f4ce0e2ad080
+SIZE (langgraph_sdk-0.1.73.tar.gz) = 72157
diff --git a/misc/py-langgraph-sdk/pkg-descr b/misc/py-langgraph-sdk/pkg-descr
new file mode 100644
index 000000000000..55c3a27cb6c9
--- /dev/null
+++ b/misc/py-langgraph-sdk/pkg-descr
@@ -0,0 +1,2 @@
+langgraph-sdk is a Python SDK for interacting with the LangGraph Platform
+REST API.