git: ec3c63f057a1 - main - misc/py-langchain-classic: New port: LangChain: Building applications with LLMs through composability
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jun 2026 06:37:11 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ec3c63f057a1adc46269f07dd4beb4acf1040e09
commit ec3c63f057a1adc46269f07dd4beb4acf1040e09
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-19 05:20:13 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-19 06:36:58 +0000
misc/py-langchain-classic: New port: LangChain: Building applications with LLMs through composability
---
misc/Makefile | 1 +
misc/py-langchain-classic/Makefile | 29 +++++++++++++++++++++++++++++
misc/py-langchain-classic/distinfo | 3 +++
misc/py-langchain-classic/pkg-descr | 4 ++++
4 files changed, 37 insertions(+)
diff --git a/misc/Makefile b/misc/Makefile
index c6dc4103fee1..0d9220e39f1f 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -517,6 +517,7 @@
SUBDIR += py-kokoro
SUBDIR += py-langchain
SUBDIR += py-langchain-anthropic
+ SUBDIR += py-langchain-classic
SUBDIR += py-langchain-core
SUBDIR += py-langchain-google-genai
SUBDIR += py-langchain-openai
diff --git a/misc/py-langchain-classic/Makefile b/misc/py-langchain-classic/Makefile
new file mode 100644
index 000000000000..e57471ad4d5b
--- /dev/null
+++ b/misc/py-langchain-classic/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= langchain-classic
+DISTVERSION= 1.0.8
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= LangChain: Building applications with LLMs through composability
+WWW= https://github.com/langchain-ai/langchain
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}langchain-core>=1.4.4:misc/py-langchain-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langchain-text-splitters>=1.1.2:misc/py-langchain-text-splitters@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langsmith>=0.1.17:misc/py-langsmith@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.4:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3.0:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.4.0:databases/py-sqlalchemy20@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langchain-classic/distinfo b/misc/py-langchain-classic/distinfo
new file mode 100644
index 000000000000..bb4c0156c08f
--- /dev/null
+++ b/misc/py-langchain-classic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1781842763
+SHA256 (langchain_classic-1.0.8.tar.gz) = ada0cc341a8a5b80fb24d73bdfaaeb849056ee2d8a41cc468355163fd3667484
+SIZE (langchain_classic-1.0.8.tar.gz) = 10611700
diff --git a/misc/py-langchain-classic/pkg-descr b/misc/py-langchain-classic/pkg-descr
new file mode 100644
index 000000000000..19a898e069d5
--- /dev/null
+++ b/misc/py-langchain-classic/pkg-descr
@@ -0,0 +1,4 @@
+Building applications with LLMs through composability.
+
+Legacy chains, langchain-community re-exports, indexing API, deprecated
+functionality, and more.