Files
sthen 898fe94620 bump py-numpy consumers. at least those which have compiled modules using
numpy are no longer ABI-compatible following the update to numpy 2.x.
this may over-bump slightly, but I've seen problems with at least pandas
and scipy, and identifying others individually is too time-consuming.
2025-05-20 12:10:49 +00:00

31 lines
702 B
Makefile

COMMENT= WebSocket to TCP proxy
MODPY_DISTV= 0.13.0
GH_ACCOUNT= novnc
GH_PROJECT= websockify
GH_TAGNAME= v${MODPY_DISTV}
REVISION= 1
CATEGORIES= net
# LGPLv3
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PYBUILD= setuptools
RUN_DEPENDS= databases/py-redis \
math/py-numpy \
www/py-requests
# requires jwcrypto (not ported; add as an RDEP if imported)
MODPY_PYTEST_ARGS= --ignore tests/test_token_plugins.py
post-build:
cd ${WRKSRC}; env ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/websockify.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/lib/websockify
${INSTALL_DATA} ${WRKSRC}/rebind.so ${PREFIX}/lib/websockify/
.include <bsd.port.mk>