diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-22 08:09:08 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-22 08:09:08 +0000 |
commit | 991ba577ea09c5a485484d208d924f47847c2d80 (patch) | |
tree | 13c365e018fe49d30cea3c085fe14373dbc2b5df /math/py-bottleneck | |
parent | 377732f9373d42cef34748b3169d51904e117f91 (diff) | |
download | ports-991ba577ea09c5a485484d208d924f47847c2d80.tar.gz ports-991ba577ea09c5a485484d208d924f47847c2d80.zip |
Notes
Diffstat (limited to 'math/py-bottleneck')
-rw-r--r-- | math/py-bottleneck/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile index 90246581a891..a8c06275a3a2 100644 --- a/math/py-bottleneck/Makefile +++ b/math/py-bottleneck/Makefile @@ -3,6 +3,7 @@ PORTNAME= bottleneck PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +13,14 @@ MAINTAINER= johannes@perceivon.net COMMENT= Collection of fast NumPy array functions written in Cython LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR} USES= python -USE_PYTHON= distutils autoplist cython +USE_PYTHON= distutils cython autoplist concurrent OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} @@ -28,8 +30,10 @@ regression-test: build @cd ${WRKSRC} && nosetests post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR} + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bottleneck/*.so + +post-install-DOCS-on: cd ${WRKSRC}/doc/source/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/RELEASE.rst ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |