Files
ports/graphics/py-gizeh/Makefile
T
2026-06-08 12:50:40 -07:00

31 lines
899 B
Makefile

PORTNAME= gizeh
DISTVERSION= 0.1.12
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simple vector graphics in Python
WWW= https://github.com/Zulko/gizeh
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests --ignore=tests/test_samples.py -p no:relaxed
# tests as of 0.1.12: 1 passed
.include <bsd.port.mk>