db440cb7a1
Positives are that now *-mpich, *-openmpi, *-nompi packages would be all available. Negative is that they conflict with each other. The files need to have the unique suffix. All flavors are equal, there is no obvious default among them, so suffixes were added to all of them to make it clear which implementation is installed. PR: 293569 Requested by: Steve Kargl <kargl@FreeBSD.org>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
PORTNAME= igraph
|
|
DISTVERSION= 0.11.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= python-igraph
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= High performance graph data structures and algorithms
|
|
WWW= https://igraph.org/python/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= cmake:devel/cmake-core \
|
|
${LOCALBASE}/bin/flex:textproc/flex
|
|
LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \
|
|
libblas.so:math/blas \
|
|
libglpk.so:math/glpk \
|
|
libgmp.so:math/gmp \
|
|
liblapack.so:math/lapack
|
|
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
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
USE_GNOME= libxml2
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${PATCH_WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph*.so
|
|
|
|
do-test: install
|
|
(cd ${WRKSRC} && py.test)
|
|
|
|
.include <bsd.port.mk>
|