diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2023-04-18 08:00:24 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2023-04-18 08:02:09 +0000 |
commit | 7cfdbbcd9e09ec0c9ad1234a90d2ae78fb652f70 (patch) | |
tree | 3bb9d972fc1f2394a3650642c8d43d1a1a8c8cf9 /misc/py-shell-gpt/Makefile | |
parent | 5faa5205f58ac0a021aba9bd46ddb917bf1062e6 (diff) | |
download | ports-7cfdbbcd9e09ec0c9ad1234a90d2ae78fb652f70.tar.gz ports-7cfdbbcd9e09ec0c9ad1234a90d2ae78fb652f70.zip |
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)
Diffstat (limited to 'misc/py-shell-gpt/Makefile')
-rw-r--r-- | misc/py-shell-gpt/Makefile | 22 |
1 files changed, 9 insertions, 13 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> |