mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
30 lines
723 B
Makefile
30 lines
723 B
Makefile
PORTNAME= isosurfaces
|
|
DISTVERSION= 0.1.2
|
|
CATEGORIES= math
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Construct isolines/isosurfaces over a 2D/3D scalar field
|
|
WWW= https://github.com/jared-hughes/isosurfaces
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
|
|
${PYNUMPY} \
|
|
xdg-open:devel/xdg-utils
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && \
|
|
${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/isoline_demo.py && \
|
|
xdg-open ${TEST_WRKSRC}/out/demo.svg
|
|
|
|
.include <bsd.port.mk>
|