Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 08:02:21 GMT
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7cfdbbcd9e09 - main - misc/py-shell-gpt: update to 0.9.0
Message-ID:  <202304180802.33I82L1g085946@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tagattie:

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

commit 7cfdbbcd9e09ec0c9ad1234a90d2ae78fb652f70
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-04-18 08:00:24 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-04-18 08:02:09 +0000

    misc/py-shell-gpt: update to 0.9.0
    
    While here:
    - switch to USE_PYTHON=pep517
    - remove commented do-test target since it's already supported by
      USE_PYTHON=pytest
    
    Changelog:
    - https://github.com/TheR1D/shell_gpt/releases/tag/0.8.9
    - https://github.com/TheR1D/shell_gpt/releases/tag/0.9.0
    
    Reported by:    GitHub (watch releases)
---
 misc/py-shell-gpt/Makefile | 22 +++++++++-------------
 misc/py-shell-gpt/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/misc/py-shell-gpt/Makefile b/misc/py-shell-gpt/Makefile
index 59922db0c460..bce247e25df3 100644
--- a/misc/py-shell-gpt/Makefile
+++ b/misc/py-shell-gpt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	shell-gpt
-DISTVERSION=	0.8.8
+DISTVERSION=	0.9.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,22 +12,18 @@ WWW=		https://github.com/TheR1D/shell_gpt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typer>=0.7.0<0.8:devel/py-typer@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}distro>=1.8.0<1.9:sysutils/py-distro@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rich>=13.3.1<13.4:textproc/py-rich@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.28.2<2.29:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7.1.1<9.0.0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typer>=0.7.0<1.0.0:devel/py-typer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}distro>=1.8.0<2.0.0:sysutils/py-distro@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=10.11.0<14.0.0:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.28.2<3.0.0:www/py-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests-mock>=1.10.0<2.0.0:www/py-requests-mock@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils pytest
+USE_PYTHON=	autoplist pep517 pytest
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 NO_ARCH=	yes
 
-# Temporarily disable test since upstream removed from test files from distribution.
-# See https://github.com/TheR1D/shell_gpt/issues/135 for discussion.
-# do-test:
-# 	cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest tests/unittests.py
-# 	cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests/integrational_tests.py
-
 .include <bsd.port.mk>
diff --git a/misc/py-shell-gpt/distinfo b/misc/py-shell-gpt/distinfo
index 9d01781e8b8b..41dc95030912 100644
--- a/misc/py-shell-gpt/distinfo
+++ b/misc/py-shell-gpt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681213011
-SHA256 (shell_gpt-0.8.8.tar.gz) = 2ae6920225e5a9646116d5f80babe26db522ab8dcbf37a595fec8cf4bec48faf
-SIZE (shell_gpt-0.8.8.tar.gz) = 20023
+TIMESTAMP = 1681801216
+SHA256 (shell_gpt-0.9.0.tar.gz) = 2b35bdc88d53186da114a7971c5aaa6022f0fcf07dfa52684e0c96ad7c421e9a
+SIZE (shell_gpt-0.9.0.tar.gz) = 27015



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304180802.33I82L1g085946>