From a0c6a3dcf56f0425c04062aa7e606459ee628bf4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 9 Apr 2019 19:05:24 +0000 Subject: [PATCH] Fix nosetests for non-default Python version LOCALBASE/bin/nosetests is installed by py-nose of default Python version. --- net/py-gspreadsheet/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/py-gspreadsheet/Makefile b/net/py-gspreadsheet/Makefile index 3eb2927c68b5..6aa92cec9504 100644 --- a/net/py-gspreadsheet/Makefile +++ b/net/py-gspreadsheet/Makefile @@ -16,10 +16,11 @@ LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>=2.0.14:devel/py-gdata@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} -NO_ARCH= yes USES= python:2.7 USE_PYTHON= autoplist distutils +NO_ARCH= yes + PORTDOCS= README.rst OPTIONS_DEFINE= DOCS @@ -29,6 +30,6 @@ post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-test: - @cd ${WRKSRC} && nosetests + @cd ${WRKSRC} && nosetests-${PYTHON_VER} .include