Fix nosetests for non-default Python version

LOCALBASE/bin/nosetests is installed by py-nose of default Python version.
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-04-09 19:05:24 +00:00
parent cc8f398ebf
commit a0c6a3dcf5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498495

View File

@ -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 <bsd.port.mk>