git: d8153a49cb9a - main - misc/py-shell-gpt: update to 0.8.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Apr 2023 06:23:21 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=d8153a49cb9a2c77a16459a675edca62caa23100 commit d8153a49cb9a2c77a16459a675edca62caa23100 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-04-04 06:20:57 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2023-04-04 06:23:10 +0000 misc/py-shell-gpt: update to 0.8.3 Upstream removed the test files from the distribution. So temporarily disable test target. Changelog: - https://github.com/TheR1D/shell_gpt/releases/tag/0.8.2 - https://github.com/TheR1D/shell_gpt/releases/tag/0.8.3 PR: 270542 Reported by: John Hein <jcfyecrayz@liamekaens.com> --- misc/py-shell-gpt/Makefile | 11 ++++++----- misc/py-shell-gpt/distinfo | 6 +++--- misc/py-shell-gpt/files/patch-setup.py | 11 ----------- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/misc/py-shell-gpt/Makefile b/misc/py-shell-gpt/Makefile index 2eaf32bf0a7a..33988d6f8d21 100644 --- a/misc/py-shell-gpt/Makefile +++ b/misc/py-shell-gpt/Makefile @@ -1,6 +1,5 @@ PORTNAME= shell-gpt -DISTVERSION= 0.8.1 -PORTREVISION= 2 +DISTVERSION= 0.8.3 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -25,8 +24,10 @@ USE_PYTHON= autoplist distutils pytest BINARY_ALIAS= python=${PYTHON_CMD} NO_ARCH= yes -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 +# 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 d4f233c186f4..1bfa513ea92a 100644 --- a/misc/py-shell-gpt/distinfo +++ b/misc/py-shell-gpt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1680088583 -SHA256 (shell_gpt-0.8.1.tar.gz) = bfd8eca822483ea9e8d87c7d120b6b686fc899845af0ae5b202580886d1f1ef1 -SIZE (shell_gpt-0.8.1.tar.gz) = 17235 +TIMESTAMP = 1680588203 +SHA256 (shell_gpt-0.8.3.tar.gz) = efc6be45de509af84a3ed14628c951ed4d175a7c5189a9026027aa623b45adb7 +SIZE (shell_gpt-0.8.3.tar.gz) = 18526 diff --git a/misc/py-shell-gpt/files/patch-setup.py b/misc/py-shell-gpt/files/patch-setup.py deleted file mode 100644 index a19ad8d57d5e..000000000000 --- a/misc/py-shell-gpt/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2023-04-03 09:02:01 UTC -+++ setup.py -@@ -4,7 +4,7 @@ from setuptools import setup, find_packages - setup( - name="shell_gpt", - version="0.8.1", -- packages=find_packages(), -+ packages=find_packages(exclude=['tests']), - install_requires=[ - "typer~=0.7.0", - "requests~=2.28.2",