git: e9d2e00cf943 - main - misc/py-langchain-anthropic: New port: LangChain: Integration package connecting Anthropic and LangChain
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Jul 2025 07:54:31 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e9d2e00cf9436be7506556dfe364fbdd210141eb
commit e9d2e00cf9436be7506556dfe364fbdd210141eb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-07-19 06:26:50 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-19 07:54:24 +0000
misc/py-langchain-anthropic: New port: LangChain: Integration package connecting Anthropic and LangChain
---
misc/Makefile | 1 +
misc/py-langchain-anthropic/Makefile | 26 ++++++++++++++++++++++++++
misc/py-langchain-anthropic/distinfo | 3 +++
misc/py-langchain-anthropic/pkg-descr | 2 ++
4 files changed, 32 insertions(+)
diff --git a/misc/Makefile b/misc/Makefile
index 581484145bae..aacf0ff36e2e 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -458,6 +458,7 @@
SUBDIR += py-jiwer
SUBDIR += py-kartograph
SUBDIR += py-langchain
+ SUBDIR += py-langchain-anthropic
SUBDIR += py-langchain-core
SUBDIR += py-langchain-google-genai
SUBDIR += py-langchain-openai
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.