Lines 1-7
Link Here
|
1 |
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org> |
1 |
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org> |
2 |
|
2 |
|
3 |
PORTNAME= python-igraph |
3 |
PORTNAME= python-igraph |
4 |
PORTVERSION= 0.8.3 |
4 |
PORTVERSION= 0.9.1 |
5 |
CATEGORIES= math python |
5 |
CATEGORIES= math python |
6 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 17-23
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_
Link Here
|
17 |
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} |
17 |
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} |
18 |
|
18 |
|
19 |
USES= bison gnome pkgconfig python:3.6+ |
19 |
USES= bison gnome pkgconfig python:3.6+ |
20 |
USE_PYTHON= distutils |
20 |
USE_PYTHON= distutils concurrent autoplist |
21 |
USE_GNOME= libxml2 |
21 |
USE_GNOME= libxml2 |
22 |
PYDISTUTILS_BUILDARGS= --use-pkg-config |
22 |
PYDISTUTILS_BUILDARGS= --use-pkg-config |
23 |
PYDISTUTILS_INSTALLARGS=${PYDISTUTILS_BUILDARGS} |
23 |
PYDISTUTILS_INSTALLARGS=${PYDISTUTILS_BUILDARGS} |
Lines 26-31
pre-configure:
Link Here
|
26 |
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ |
26 |
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ |
27 |
${WRKSRC}/src/igraph/configuration.py |
27 |
${WRKSRC}/src/igraph/configuration.py |
28 |
|
28 |
|
|
|
29 |
post-install: |
30 |
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph.so |
31 |
|
29 |
do-test: install |
32 |
do-test: install |
30 |
(cd ${WRKSRC} && py.test) |
33 |
(cd ${WRKSRC} && py.test) |
31 |
|
34 |
|