Lines 1-8
Link Here
|
1 |
PORTNAME= igraph |
1 |
PORTNAME= igraph |
2 |
DISTVERSION= 0.10.4 |
2 |
DISTVERSION= 0.10.6 |
3 |
CATEGORIES= math python |
3 |
CATEGORIES= math python |
4 |
MASTER_SITES= PYPI |
4 |
MASTER_SITES= PYPI |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
|
6 |
DIST_SUBDIR= python-igraph |
6 |
|
7 |
|
7 |
MAINTAINER= lwhsu@FreeBSD.org |
8 |
MAINTAINER= lwhsu@FreeBSD.org |
8 |
COMMENT= High performance graph data structures and algorithms |
9 |
COMMENT= High performance graph data structures and algorithms |
Lines 10-17
WWW= https://igraph.org/python/
Link Here
|
10 |
|
11 |
|
11 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
12 |
|
13 |
|
13 |
BUILD_DEPENDS= cmake:devel/cmake-core |
14 |
BUILD_DEPENDS= cmake:devel/cmake-core \ |
14 |
LIB_DEPENDS= libigraph.so:math/igraph |
15 |
${LOCALBASE}/bin/flex:textproc/flex |
|
|
16 |
LIB_DEPENDS= libigraph.so:math/igraph \ |
17 |
libarpack.so:math/arpack-ng \ |
18 |
libblas.so:math/blas \ |
19 |
libglpk.so:math/glpk \ |
20 |
libgmp.so:math/gmp \ |
21 |
liblapack.so:math/lapack \ |
22 |
libopenblas.so:math/openblas |
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR} \ |
23 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} |
24 |
${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} |
17 |
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} |
25 |
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} |
Lines 20-27
USES= bison gnome pkgconfig python
Link Here
|
20 |
USE_PYTHON= distutils concurrent autoplist |
28 |
USE_PYTHON= distutils concurrent autoplist |
21 |
USE_GNOME= libxml2 |
29 |
USE_GNOME= libxml2 |
22 |
|
30 |
|
|
|
31 |
post-patch: |
32 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ |
33 |
${PATCH_WRKSRC}/setup.py |
34 |
|
23 |
post-install: |
35 |
post-install: |
24 |
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph${PYTHON_EXT_SUFFIX}.so |
36 |
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph*.so |
25 |
|
37 |
|
26 |
do-test: install |
38 |
do-test: install |
27 |
(cd ${WRKSRC} && py.test) |
39 |
(cd ${WRKSRC} && py.test) |