# Created by: Johannes Meixner # $FreeBSD$ PORTNAME= bottleneck PORTVERSION= 0.8.0 PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Bottleneck-${PORTVERSION} MAINTAINER= xmj@chaot.net COMMENT= Collection of fast NumPy array functions written in Cython LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ cython:${PORTSDIR}/lang/cython RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= * regression-test: build @cd ${WRKSRC} && nosetests post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/source/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include