Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2019 19:05:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498494 - head/math/py-bottleneck
Message-ID:  <201904091905.x39J5KAn040103@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904091905.x39J5KAn040103>