Page MenuHomeFreeBSD

D45269.id138919.diff
No OneTemporary

D45269.id138919.diff

diff --git a/misc/Makefile b/misc/Makefile
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -444,6 +444,7 @@
SUBDIR += py-lightning-utilities
SUBDIR += py-litellm
SUBDIR += py-llm
+ SUBDIR += py-llm-claude-3
SUBDIR += py-log_symbols
SUBDIR += py-mffpy
SUBDIR += py-mmcv
diff --git a/misc/py-llm-claude-3/Makefile b/misc/py-llm-claude-3/Makefile
new file mode 100644
--- /dev/null
+++ b/misc/py-llm-claude-3/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= llm-claude-3
+DISTVERSION= 0.3
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dch@FreeBSD.org
+COMMENT= Interact with Large Language Models by API, or locally
+WWW= https://github.com/simonw/llm-claude-3
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=41:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anthropic>=0.26.0:misc/py-anthropic@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}llm>=0.3:misc/py-llm@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \
+ ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/py-llm-claude-3/distinfo b/misc/py-llm-claude-3/distinfo
new file mode 100644
--- /dev/null
+++ b/misc/py-llm-claude-3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716202989
+SHA256 (llm-claude-3-0.3.tar.gz) = 82cdbb74cf0992403aacf8dc68c0c1289c5cd667b752138de9bf059753bc5ac6
+SIZE (llm-claude-3-0.3.tar.gz) = 7922
diff --git a/misc/py-llm-claude-3/pkg-descr b/misc/py-llm-claude-3/pkg-descr
new file mode 100644
--- /dev/null
+++ b/misc/py-llm-claude-3/pkg-descr
@@ -0,0 +1 @@
+Plugin for Anthropic Claude 3, a machine learning large language model.

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 1:15 AM (15 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15991050
Default Alt Text
D45269.id138919.diff (1 KB)

Event Timeline