diff options
Diffstat (limited to 'misc/py-litellm')
-rw-r--r-- | misc/py-litellm/Makefile | 15 | ||||
-rw-r--r-- | misc/py-litellm/distinfo | 6 | ||||
-rw-r--r-- | misc/py-litellm/files/patch-litellm_proxy_start.sh | 8 |
3 files changed, 11 insertions, 18 deletions
diff --git a/misc/py-litellm/Makefile b/misc/py-litellm/Makefile index d1eeb7192153..2dff9270b7f5 100644 --- a/misc/py-litellm/Makefile +++ b/misc/py-litellm/Makefile @@ -1,5 +1,5 @@ PORTNAME= litellm -DISTVERSION= 1.72.9 +DISTVERSION= 1.76.0 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE 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.23.0:www/py-httpx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openai>=1.68.2:misc/py-openai@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openai>=1.99.5:misc/py-openai@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.2.0:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tiktoken>=0.7.0:textproc/py-tiktoken@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6.8.0:devel/py-importlib-metadata@${PY_FLAVOR} \ @@ -22,13 +22,15 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2<4.0.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.10:www/py-aiohttp@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.5.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.22.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} USES= python shebangfix USE_PYTHON= autoplist concurrent pep517 -REINPLACE_ARGS= -i '' +SHEBANG_FILES= litellm/proxy/start.sh +bash_CMD= ${SH} + NO_ARCH= yes PORTDOCS= README.md @@ -36,10 +38,9 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \ ${WRKSRC}/litellm/proxy/start.sh - @${FIND} ${WRKSRC}/litellm/proxy -type f \ - \( -name '*.orig' -o -name '*.bak' \) -delete + @${FIND} ${WRKSRC}/litellm/proxy -type f -name '*.bak' -delete post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/misc/py-litellm/distinfo b/misc/py-litellm/distinfo index 06ed65642a9e..85d32b123666 100644 --- a/misc/py-litellm/distinfo +++ b/misc/py-litellm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750492718 -SHA256 (litellm-1.72.9.tar.gz) = 2559509ae18d5c8165431e76196e9715c8e586af690f597bbaa2a1fecc303b30 -SIZE (litellm-1.72.9.tar.gz) = 8448963 +TIMESTAMP = 1756098619 +SHA256 (litellm-1.76.0.tar.gz) = d26d12333135edd72af60e0e310284dac3b079f4d7c47c79dfbb2430b9b4b421 +SIZE (litellm-1.76.0.tar.gz) = 10170569 diff --git a/misc/py-litellm/files/patch-litellm_proxy_start.sh b/misc/py-litellm/files/patch-litellm_proxy_start.sh deleted file mode 100644 index f1ce771fdaeb..000000000000 --- a/misc/py-litellm/files/patch-litellm_proxy_start.sh +++ /dev/null @@ -1,8 +0,0 @@ ---- litellm/proxy/start.sh.orig 2024-02-11 03:13:21 UTC -+++ litellm/proxy/start.sh -@@ -1,2 +1,2 @@ --#!/bin/bash --python3 proxy_cli.py -\ No newline at end of file -+#!/bin/sh -+%%PYTHON_CMD%% proxy_cli.py |