summaryrefslogtreecommitdiff
path: root/devel/py-anytree/Makefile
blob: 7fd2ea4bf84fba529cf1586aa0295fb751828d70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	anytree
DISTVERSION=	2.8.0
CATEGORIES=	devel python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	arrowd@FreeBSD.org
COMMENT=	Powerful and Lightweight Python Tree Data Structure
WWW=		https://github.com/c0fec0de/anytree

LICENSE=	APACHE20

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
		dot:graphics/graphviz

USES=		python
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

# test_tree_png runs `dot` and returns "Error: Could not find/open font"
# exclude it for now
do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
	-k 'not test_tree_png'

.include <bsd.port.mk>