summaryrefslogtreecommitdiff
path: root/misc/py-langsmith/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-langsmith/Makefile')
-rw-r--r--misc/py-langsmith/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/py-langsmith/Makefile b/misc/py-langsmith/Makefile
new file mode 100644
index 000000000000..ecfa5931e2d3
--- /dev/null
+++ b/misc/py-langsmith/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= langsmith
+DISTVERSION= 0.4.6
+PORTREVISION= 1
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library to connect to the LangSmith LLM Tracing & Evaluation Platform
+WWW= https://smith.langchain.com/ \
+ https://github.com/langchain-ai/langsmith-sdk/tree/main/python
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14:devel/py-orjson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zstandard>=0.23.0:archivers/py-zstandard@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>