svn commit: r462922 - head/math/py-bottleneck
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 25 05:33:29 UTC 2018
Author: sunpoet
Date: Sun Feb 25 05:33:28 2018
New Revision: 462922
URL: https://svnweb.freebsd.org/changeset/ports/462922
Log:
Fix LICENSE_FILE
- Simplify concurrent installation:
- Use USE_PYTHON=concurrent
- Remove DOCSDIR
- Convert to test framework
- Install only selected documentation to DOCSDIR
- Do not silence installation message
- Bump PORTREVISION for package change
- Take maintainership
Modified:
head/math/py-bottleneck/Makefile
Modified: head/math/py-bottleneck/Makefile
==============================================================================
--- head/math/py-bottleneck/Makefile Sun Feb 25 05:33:24 2018 (r462921)
+++ head/math/py-bottleneck/Makefile Sun Feb 25 05:33:28 2018 (r462922)
@@ -3,37 +3,39 @@
PORTNAME= bottleneck
PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Bottleneck-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Collection of fast NumPy array functions written in Cython
LICENSE= BSD2CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_FILE= ${WRKSRC}/bottleneck/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${FLAVOR}
USES= python
-USE_PYTHON= distutils cython autoplist concurrent
+USE_PYTHON= autoplist concurrent cython distutils
+DOCS= README.rst RELEASE.rst \
+ doc/source/conf.py doc/source/index.rst doc/source/intro.rst doc/source/reference.rst
+PORTDOCS= ${DOCS:T}
+
OPTIONS_DEFINE= DOCS
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS= *
-regression-test: build
- @cd ${WRKSRC} && nosetests
-
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bottleneck/*.so
+ ${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}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
+do-test:
+ cd ${WRKSRC} && nosetests
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list