git: 4369863ba02b - main - misc/python-langgraph-checkpoint: New port: LangGraph: Base interfaces for LangGraph checkpoint savers

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=4369863ba02b661cbacc9bb84bba4f4fccf9c280

commit 4369863ba02b661cbacc9bb84bba4f4fccf9c280
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-07-19 06:35:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-19 07:54:25 +0000

    misc/python-langgraph-checkpoint: New port: LangGraph: Base interfaces for LangGraph checkpoint savers
---
 misc/Makefile                              |  1 +
 misc/python-langgraph-checkpoint/Makefile  | 25 +++++++++++++++++++++++++
 misc/python-langgraph-checkpoint/distinfo  |  3 +++
 misc/python-langgraph-checkpoint/pkg-descr |  6 ++++++
 4 files changed, 35 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index aacf0ff36e2e..4c71ef8b01f7 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -553,6 +553,7 @@
     SUBDIR += py-xformers
     SUBDIR += py-xgboost
     SUBDIR += pyobd
+    SUBDIR += python-langgraph-checkpoint
     SUBDIR += pytorch
     SUBDIR += qbrew
     SUBDIR += qlas
diff --git a/misc/python-langgraph-checkpoint/Makefile b/misc/python-langgraph-checkpoint/Makefile
new file mode 100644
index 000000000000..87d9eb3255b9
--- /dev/null
+++ b/misc/python-langgraph-checkpoint/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	langgraph-checkpoint
+DISTVERSION=	2.1.1
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	LangGraph: Base interfaces for LangGraph checkpoint savers
+WWW=		https://github.com/langchain-ai/langgraph
+
+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}langchain-core>=0.2.38:misc/py-langchain-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ormsgpack>=1.10.0:devel/py-ormsgpack@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/python-langgraph-checkpoint/distinfo b/misc/python-langgraph-checkpoint/distinfo
new file mode 100644
index 000000000000..358e089299d5
--- /dev/null
+++ b/misc/python-langgraph-checkpoint/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752906587
+SHA256 (langgraph_checkpoint-2.1.1.tar.gz) = 72038c0f9e22260cb9bff1f3ebe5eb06d940b7ee5c1e4765019269d4f21cf92d
+SIZE (langgraph_checkpoint-2.1.1.tar.gz) = 136256
diff --git a/misc/python-langgraph-checkpoint/pkg-descr b/misc/python-langgraph-checkpoint/pkg-descr
new file mode 100644
index 000000000000..09e501634e40
--- /dev/null
+++ b/misc/python-langgraph-checkpoint/pkg-descr
@@ -0,0 +1,6 @@
+The langgraph-checkpoint  library defines the base interface for LangGraph
+checkpointers. Checkpointers provide a persistence layer for LangGraph.
+They allow you to interact with and manage the graph's state. When you use
+a graph with a checkpointer, the checkpointer saves a checkpoint of the
+graph state at every superstep, enabling several powerful capabilities like
+human-in-the-loop, "memory" between interactions and more.