freebsd-ports/math/py-bottleneck/Makefile
Marcus von Appen 214bd533a7 - Convert ports of math/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 16:54:54 +00:00

37 lines
913 B
Makefile

# Created by: Johannes Meixner <xmj@chaot.net>
# $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
USES= python
USE_PYTHON= distutils autoplist
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>