git: 51185ab0c17e - main - misc/py-shell-gpt: update to 1.4.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 08:12:21 UTC
The branch main has been updated by tagattie:

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

commit 51185ab0c17e0d72e8426dcf8e3ca8e230319ca6
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-02-25 08:10:54 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-02-25 08:12:11 +0000

    misc/py-shell-gpt: update to 1.4.0
    
    Changelog: https://github.com/TheR1D/shell_gpt/releases/tag/1.4.0
    
    Reported by:    GitHub (watch releases)
---
 misc/py-shell-gpt/Makefile | 9 ++++++---
 misc/py-shell-gpt/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/misc/py-shell-gpt/Makefile b/misc/py-shell-gpt/Makefile
index dddc4ddefea0..d4a121e1ed77 100644
--- a/misc/py-shell-gpt/Makefile
+++ b/misc/py-shell-gpt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	shell-gpt
-DISTVERSION=	1.3.1
+DISTVERSION=	1.4.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}litellm>=1.24.5<2.0.0:misc/py-litellm@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openai>=1.6.1<2.0.0:misc/py-openai@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typer>=0.7.0<1.0.0:devel/py-typer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}click>=7.1.1<9.0.0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=13.1.0<14.0.0:textproc/py-rich@${PY_FLAVOR} \
@@ -30,7 +30,10 @@ NO_ARCH=	yes
 
 PORTDOCS=	README.md
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS LITELLM
+
+LITELLM_DESC=		Support various LLMs via LiteLLM
+LITELLM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}litellm>=1.24.5<2.0.0:misc/py-litellm@${PY_FLAVOR}
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/misc/py-shell-gpt/distinfo b/misc/py-shell-gpt/distinfo
index 2a3c1f8bfc4e..8e87528d78cf 100644
--- a/misc/py-shell-gpt/distinfo
+++ b/misc/py-shell-gpt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708155868
-SHA256 (shell_gpt-1.3.1.tar.gz) = 635857fc8a9228097069d7b8f5d3cfeec9d11c1fd7c6c631fdab1ba9e439edd3
-SIZE (shell_gpt-1.3.1.tar.gz) = 38153
+TIMESTAMP = 1708809070
+SHA256 (shell_gpt-1.4.0.tar.gz) = affc5046a9cb2611993918d851a6162a3a98e1f4025b858a904fa7f24d1531b0
+SIZE (shell_gpt-1.4.0.tar.gz) = 38850