27 lines
676 B
Makefile
27 lines
676 B
Makefile
PORTNAME= graphillion
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= math python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/g/G/}-${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Fast, lightweight graphset operation library in Python
|
|
WWW= https://github.com/takemaru/graphillion
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
|
|
|
|
# Python 2.7,3.4+
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_graphillion*.so
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|