Skip to content

Commit

Permalink
misc/py-shell-gpt: update to 0.8.3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hiroki Tagato authored and Hiroki Tagato committed Apr 4, 2023
1 parent 109a60c commit d8153a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
11 changes: 6 additions & 5 deletions 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}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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
11 changes: 0 additions & 11 deletions misc/py-shell-gpt/files/patch-setup.py

This file was deleted.

0 comments on commit d8153a4

Please sign in to comment.