summaryrefslogtreecommitdiff
path: root/misc/py-langchain-anthropic
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-langchain-anthropic')
-rw-r--r--misc/py-langchain-anthropic/Makefile26
-rw-r--r--misc/py-langchain-anthropic/distinfo3
-rw-r--r--misc/py-langchain-anthropic/pkg-descr2
3 files changed, 31 insertions, 0 deletions
diff --git a/misc/py-langchain-anthropic/Makefile b/misc/py-langchain-anthropic/Makefile
new file mode 100644
index 000000000000..beaf312bb862
--- /dev/null
+++ b/misc/py-langchain-anthropic/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= langchain-anthropic
+DISTVERSION= 0.3.17
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= LangChain: Integration package connecting Anthropic and LangChain
+WWW= https://github.com/langchain-ai/langchain/tree/master/libs/partners/anthropic
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anthropic>=0:misc/py-anthropic@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langchain-core>=0.3.68:misc/py-langchain-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.4:devel/py-pydantic2@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langchain-anthropic/distinfo b/misc/py-langchain-anthropic/distinfo
new file mode 100644
index 000000000000..3a8864d81a72
--- /dev/null
+++ b/misc/py-langchain-anthropic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752898952
+SHA256 (langchain_anthropic-0.3.17.tar.gz) = f2c2a0382ed7992204d790ff8538448f5243f4dbb1e798256ef790c9a69033e4
+SIZE (langchain_anthropic-0.3.17.tar.gz) = 55831
diff --git a/misc/py-langchain-anthropic/pkg-descr b/misc/py-langchain-anthropic/pkg-descr
new file mode 100644
index 000000000000..c3daff08f845
--- /dev/null
+++ b/misc/py-langchain-anthropic/pkg-descr
@@ -0,0 +1,2 @@
+langchain-anthropic is an integration package connecting Anthropic
+and LangChain.