aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:07:49 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 08:07:49 +0000
commit925cfb2c4cd28a4a0ffead3e5abbfcccdca00383 (patch)
tree6bb7d401526ddacba0bf08eae59627894940551d
parentea78ac500847fff4583e1f6a50ca5668d9faa25f (diff)
misc/py-llama-index-embeddings-huggingface: New port: LlamaIndex embeddings HuggingFace integration
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-llama-index-embeddings-huggingface/Makefile27
-rw-r--r--misc/py-llama-index-embeddings-huggingface/distinfo3
-rw-r--r--misc/py-llama-index-embeddings-huggingface/pkg-descr4
4 files changed, 35 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 1a69af444ad7..e8bc4944d943 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -554,6 +554,7 @@
SUBDIR += py-litellm-proxy-extras
SUBDIR += py-llama-cpp-python
SUBDIR += py-llama-index-core
+ SUBDIR += py-llama-index-embeddings-huggingface
SUBDIR += py-llm
SUBDIR += py-llm-claude-3
SUBDIR += py-lm-format-enforcer
diff --git a/misc/py-llama-index-embeddings-huggingface/Makefile b/misc/py-llama-index-embeddings-huggingface/Makefile
new file mode 100644
index 000000000000..85f0293680cc
--- /dev/null
+++ b/misc/py-llama-index-embeddings-huggingface/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= llama-index-embeddings-huggingface
+DISTVERSION= 0.7.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= LlamaIndex embeddings HuggingFace integration
+WWW= https://github.com/run-llama/llama_index # maybe? No URL is listed on PYPI for this project
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.19.0:misc/py-huggingface-hub@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}llama-index-core>=0.13.0:misc/py-llama-index-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sentence-transformers>=2.6.1:misc/py-sentence-transformers@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' -e '/^license-files/d' ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/misc/py-llama-index-embeddings-huggingface/distinfo b/misc/py-llama-index-embeddings-huggingface/distinfo
new file mode 100644
index 000000000000..6e6ed4447b61
--- /dev/null
+++ b/misc/py-llama-index-embeddings-huggingface/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783087734
+SHA256 (llama_index_embeddings_huggingface-0.7.0.tar.gz) = da8a2a65df9404112c4430dfada09d4f846ba165197a25dbe77f734014c56a87
+SIZE (llama_index_embeddings_huggingface-0.7.0.tar.gz) = 8692
diff --git a/misc/py-llama-index-embeddings-huggingface/pkg-descr b/misc/py-llama-index-embeddings-huggingface/pkg-descr
new file mode 100644
index 000000000000..0a34ff84849b
--- /dev/null
+++ b/misc/py-llama-index-embeddings-huggingface/pkg-descr
@@ -0,0 +1,4 @@
+LlamaIndex Embeddings HuggingFace provides HuggingFace embedding model
+integration for LlamaIndex. It enables the use of HuggingFace sentence
+transformers and embedding models within LlamaIndex data pipelines for
+semantic search and retrieval applications.