2013-12-08 14:19:34 +00:00
|
|
|
# Created by: Johannes Meixner <xmj@chaot.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bottleneck
|
2014-02-16 08:57:21 +00:00
|
|
|
PORTVERSION= 0.8.0
|
2013-12-08 14:19:34 +00:00
|
|
|
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
|
|
|
|
|
2014-02-16 08:57:21 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-12-08 14:19:34 +00:00
|
|
|
|
|
|
|
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 <bsd.port.mk>
|