diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-07-18 13:50:41 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-07-18 13:52:56 -0700 |
commit | 154cb2fbc5391c78a024ec276e2c618ea16b9581 (patch) | |
tree | 17f3b3f605533350f6d4baa942f3c530007a579c /misc/py-langchain-text-splitters/Makefile | |
parent | misc/py-langchain-tests: New port: LangChain: Standard tests for LangChain im... (diff) |
misc/py-langchain-text-splitters: New port: LangChain: Text splitting utilities
Diffstat (limited to 'misc/py-langchain-text-splitters/Makefile')
-rw-r--r-- | misc/py-langchain-text-splitters/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/misc/py-langchain-text-splitters/Makefile b/misc/py-langchain-text-splitters/Makefile new file mode 100644 index 000000000000..d9466b0060bc --- /dev/null +++ b/misc/py-langchain-text-splitters/Makefile @@ -0,0 +1,33 @@ +PORTNAME= langchain-text-splitters +DISTVERSION= 0.3.8 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= LangChain: Text splitting utilities +WWW= https://github.com/langchain-ai/langchain/tree/master/libs/text-splitter \ + https://github.com/langchain-ai/langchain + +LICENSE= MIT + +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}langchain-core>=0.3.51:misc/py-langchain-core@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}langchain-core>0:misc/py-langchain-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.21.1:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.10.0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-socket>=0.7.0:devel/py-pytest-socket@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-watcher>0:devel/py-pytest-watcher@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.6.1:devel/py-pytest-xdist@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +# tests fail: INTERNALERROR> ValueError: no option named 'only_extended' + +.include <bsd.port.mk> |