1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/pacparser: Minor improvements

Add a test target for python and use NO_INTERNET the way it is intended.
This commit is contained in:
Emanuel Haupt 2023-08-20 11:28:15 +02:00
parent ba0e1a78f3
commit 86b8a26766

View File

@ -18,7 +18,7 @@ GH_ACCOUNT= manugarg
GH_TAGNAME= e29c1a3
USE_LDCONFIG= yes
MAKE_ENV+= NO_INTERNET=\#
MAKE_ENV+= NO_INTERNET=1
MAKE_JOBS_UNSAFE= yes
WRKSRC_SUBDIR= src
@ -51,4 +51,7 @@ post-install:
post-install-PYTHON-on:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pacparser/_pacparser.cpython-*.so
do-test-PYTHON-on:
${PYTHON_CMD} ${WRKSRC}/../tests/runtests.py
.include <bsd.port.mk>