diff options
Diffstat (limited to 'misc/py-shell-gpt/Makefile')
-rw-r--r-- | misc/py-shell-gpt/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/misc/py-shell-gpt/Makefile b/misc/py-shell-gpt/Makefile index b24039dd30ce..581d77631d50 100644 --- a/misc/py-shell-gpt/Makefile +++ b/misc/py-shell-gpt/Makefile @@ -1,24 +1,23 @@ PORTNAME= shell-gpt -DISTVERSION= 1.2.0 +DISTVERSION= 1.3.0 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} MAINTAINER= tagattie@FreeBSD.org -COMMENT= Command-line productivity tool powered by ChatGPT +COMMENT= Command-line productivity tool powered by large language models WWW= https://github.com/TheR1D/shell_gpt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.28.2<3.0.0:www/py-requests@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}litellm>=1.20.1<2.0.0:misc/py-litellm@${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} \ ${PYTHON_PKGNAMEPREFIX}distro>=1.8.0<2.0.0:sysutils/py-distro@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openai>=1.6.1<2.0.0:misc/py-openai@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}instructor>=0.4.5<1.0.0:misc/py-instructor@${PY_FLAVOR} \ curl:ftp/curl TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-mock>=1.10.0<2.0.0:www/py-requests-mock@${PY_FLAVOR} @@ -29,4 +28,12 @@ USE_PYTHON= autoplist pep517 pytest BINARY_ALIAS= python=${PYTHON_CMD} 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> |