Date: Fri, 1 May 2015 16:17:08 +0000 (UTC) From: Sofian Brabez <sbz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385125 - head/devel/py-phabricator Message-ID: <201505011617.t41GH8Fd028664@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbz Date: Fri May 1 16:17:07 2015 New Revision: 385125 URL: https://svnweb.freebsd.org/changeset/ports/385125 Log: - Update test suite depends Submitted by: koobs Modified: head/devel/py-phabricator/Makefile Modified: head/devel/py-phabricator/Makefile ============================================================================== --- head/devel/py-phabricator/Makefile Fri May 1 15:48:48 2015 (r385124) +++ head/devel/py-phabricator/Makefile Fri May 1 16:17:07 2015 (r385125) @@ -11,16 +11,21 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Phabricator API Bindings LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= distutils autoplist -OPTIONS_DEFINE= PYTEST -PYTEST_DESC= Install Python test dependency +OPTIONS_DEFINE= TESTS -PYTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 -regression-test: extract - ${PYTHON_CMD} ${WRKSRC}/${PORTNAME}/tests.py +TESTS_DESC= Include test suite requirements +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505011617.t41GH8Fd028664>