1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/math/py-bottleneck/Makefile

39 lines
932 B
Makefile
Raw Normal View History

# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= bottleneck
PORTVERSION= 0.8.0
PORTREVISION= 1
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 <bsd.port.mk>