summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-09-13 13:27:45 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-09-13 13:28:50 +0900
commitd17e7abbd7c5f026fc60971a4a1e668986278fcf (patch)
tree95e946430dde658e230729c6601d1bb69d9a9be2
parentwww/py-fastapi-sso: add port: FastAPI plugin to enable SSO to most common pro... (diff)
misc/py-litellm-proxy-extras: add port: Additional files for the LiteLLM Proxy
Additional files for the proxy. Reduces the size of the main litellm package. Currently, only stores the migration.sql files for litellm-proxy. WWW: https://github.com/BerriAI/litellm
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-litellm-proxy-extras/Makefile30
-rw-r--r--misc/py-litellm-proxy-extras/distinfo3
-rw-r--r--misc/py-litellm-proxy-extras/pkg-descr4
4 files changed, 38 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 7e38343bfda8..7d8afdc5f1eb 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -482,6 +482,7 @@
SUBDIR += py-lightgbm
SUBDIR += py-lightning-utilities
SUBDIR += py-litellm
+ SUBDIR += py-litellm-proxy-extras
SUBDIR += py-llama-cpp-python
SUBDIR += py-llm
SUBDIR += py-llm-claude-3
diff --git a/misc/py-litellm-proxy-extras/Makefile b/misc/py-litellm-proxy-extras/Makefile
new file mode 100644
index 000000000000..ef3d77a489b3
--- /dev/null
+++ b/misc/py-litellm-proxy-extras/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= litellm-proxy-extras
+DISTVERSION= 0.2.18
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Additional files for the LiteLLM Proxy
+WWW= https://github.com/BerriAI/litellm
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist 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-litellm-proxy-extras/distinfo b/misc/py-litellm-proxy-extras/distinfo
new file mode 100644
index 000000000000..679e24118874
--- /dev/null
+++ b/misc/py-litellm-proxy-extras/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757579413
+SHA256 (litellm_proxy_extras-0.2.18.tar.gz) = e5ded69834bb76a405ab201aa3b3983f2c1a0cc80362e2889bc0add509137e55
+SIZE (litellm_proxy_extras-0.2.18.tar.gz) = 15291
diff --git a/misc/py-litellm-proxy-extras/pkg-descr b/misc/py-litellm-proxy-extras/pkg-descr
new file mode 100644
index 000000000000..5d6e8218b97a
--- /dev/null
+++ b/misc/py-litellm-proxy-extras/pkg-descr
@@ -0,0 +1,4 @@
+Additional files for the proxy. Reduces the size of the main litellm
+package.
+
+Currently, only stores the migration.sql files for litellm-proxy.