freebsd-ports/graphics/py-graphviz/Makefile

29 lines
684 B
Makefile
Raw Normal View History

# Created by: lbartoletti <lbartoletti@tuxfamily.org>
# $FreeBSD$
PORTNAME= graphviz
PORTVERSION= 0.10.1
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Simple Python interface for Graphviz
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= dot:graphics/graphviz
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} run-tests.py
.include <bsd.port.mk>