svn commit: r498494 - head/math/py-bottleneck
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Apr 9 19:05:26 UTC 2019
Author: sunpoet
Date: Tue Apr 9 19:05:19 2019
New Revision: 498494
URL: https://svnweb.freebsd.org/changeset/ports/498494
Log:
Fix nosetests for non-default Python version
LOCALBASE/bin/nosetests is installed by py-nose of default Python version.
Modified:
head/math/py-bottleneck/Makefile
Modified: head/math/py-bottleneck/Makefile
==============================================================================
--- head/math/py-bottleneck/Makefile Tue Apr 9 19:05:14 2019 (r498493)
+++ head/math/py-bottleneck/Makefile Tue Apr 9 19:05:19 2019 (r498494)
@@ -15,7 +15,7 @@ COMMENT= Collection of fast NumPy array functions writ
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/bottleneck/LICENSE
-BUILD_DEPENDS= ${PYNUMPY}
+BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
@@ -36,6 +36,6 @@ post-install-DOCS-on:
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
do-test:
- cd ${WRKSRC} && nosetests
+ cd ${WRKSRC} && nosetests-${PYTHON_VER}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list