summaryrefslogtreecommitdiff
path: root/misc/python-langgraph-checkpoint
diff options
context:
space:
mode:
Diffstat (limited to 'misc/python-langgraph-checkpoint')
-rw-r--r--misc/python-langgraph-checkpoint/Makefile25
-rw-r--r--misc/python-langgraph-checkpoint/distinfo3
-rw-r--r--misc/python-langgraph-checkpoint/pkg-descr6
3 files changed, 34 insertions, 0 deletions
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.