aboutsummaryrefslogtreecommitdiff
path: root/math/py-python-igraph/Makefile
blob: d6ec6fffe343c2ca5cd944e4344c736c5d7d63ad (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
28
29
30
31
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>

PORTNAME=	python-igraph
DISTVERSION=	0.9.9
PORTREVISION=	2
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	High performance graph data structures and algorithms

LICENSE=	GPLv2

LIB_DEPENDS=	libigraph.so:math/igraph
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR}	\
		${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR}
TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}

USES=		bison gnome pkgconfig python:3.6+
USE_PYTHON=	distutils concurrent autoplist
USE_GNOME=	libxml2

PYDISTUTILS_INSTALLARGS=${PYDISTUTILS_BUILDARGS}

NO_ARCH=	yes

do-test: install
	(cd ${WRKSRC} && py.test)

.include <bsd.port.mk>