git: d17e7abbd7c5 - main - misc/py-litellm-proxy-extras: add port: Additional files for the LiteLLM Proxy

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 13 Sep 2025 04:29:01 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d17e7abbd7c5f026fc60971a4a1e668986278fcf

commit d17e7abbd7c5f026fc60971a4a1e668986278fcf
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-09-13 04:27:45 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-09-13 04:28:50 +0000

    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
---
 misc/Makefile                          |  1 +
 misc/py-litellm-proxy-extras/Makefile  | 30 ++++++++++++++++++++++++++++++
 misc/py-litellm-proxy-extras/distinfo  |  3 +++
 misc/py-litellm-proxy-extras/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

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.