aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-02-10 19:36:45 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-02-10 19:36:45 +0000
commit6c1bd62c07509145fdcf774c71eb6c9fae92440a (patch)
tree4a0c18eb14eba9b6bd51f784484af7bd06d63692 /shells
parente57b722fde52d0cb5ad64b82d4e5a0563242b8ed (diff)
Diffstat (limited to 'shells')
-rw-r--r--shells/bash-completion/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index e456f723ada0..59a56df0e824 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -12,13 +12,15 @@ WWW= https://github.com/scop/bash-completion
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-TEST_DEPENDS= runtest:misc/dejagnu \
- ${LOCALBASE}/lib/tcllib/cmdline/cmdline.tcl:devel/tcllib
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>=4:misc/py-pexpect@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= autoreconf gmake tar:xz
+USES= autoreconf gmake python:test tar:xz
+USE_PYTHON= pytest
GNU_CONFIGURE= yes
NO_ARCH= yes
+TEST_WRKSRC= ${WRKSRC}/test
SUB_FILES= pkg-message
SUB_LIST= RUNFILE=${DATADIR}/bash_completion.sh
@@ -61,9 +63,4 @@ post-configure:
post-install:
${RM} ${STAGEDIR}${DATADIR}/completions/makepkg
-do-test:
-.for test in runCompletion runInstall runUnit
- -cd ${WRKSRC}/test && bash ${test}
-.endfor
-
.include <bsd.port.mk>