svn commit: r358886 - head/devel/py-phabricator
Sofian Brabez
sbz at FreeBSD.org
Mon Jun 23 01:59:20 UTC 2014
Author: sbz
Date: Mon Jun 23 01:59:19 2014
New Revision: 358886
URL: http://svnweb.freebsd.org/changeset/ports/358886
QAT: https://qat.redports.org/buildarchive/r358886/
Log:
- Add PYTEST option
Modified:
head/devel/py-phabricator/Makefile
Modified: head/devel/py-phabricator/Makefile
==============================================================================
--- head/devel/py-phabricator/Makefile Mon Jun 23 01:31:30 2014 (r358885)
+++ head/devel/py-phabricator/Makefile Mon Jun 23 01:59:19 2014 (r358886)
@@ -16,4 +16,12 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
+OPTIONS_DEFINE= PYTEST
+PYTEST_DESC= Install Python test dependency
+
+PYTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+regression-test: extract
+ ${PYTHON_CMD} ${WRKSRC}/${PORTNAME}/tests.py
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list