Updated patch against the latest py-supervisor commit attached:
- Update minimum required py-meld3 version - Use TEST_DEPENDS for tinderbox builds - Add OPTIONS for unit tests - Add regression-test target ====[QA]==== portlint: WARN: possible use of absolute pathname porttest: OK unittest: Ran 718 tests in 2.883s - FAILED (failures=1) Note: Failure is due to host in DST (reported upstream) https://github.com/Supervisor/supervisor/issues/155 redports: https://redports.org/buildarchive/20121019081455-33633/ Note: All redports builds include regression-test run - OK ============
===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/sysutils/py-supervisor/Makefile ./Makefile --- /usr/ports/sysutils/py-supervisor/Makefile 2012-10-18 21:05:15.000000000 +1100 +++ ./Makefile 2012-10-19 19:10:37.000000000 +1100 @@ -10,7 +10,19 @@ MAINTAINER= hi...@vyborg.ru COMMENT= System to monitor and control a number of processes on UNIX-like OS -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.4:${PORTSDIR}/www/py-meld3 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.5:${PORTSDIR}/www/py-meld3 +TEST_DEPENDS:= ${RUN_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock + +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install mock for running unit tests +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTESTS} +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +.endif PORTDOCS= *.txt *.rst @@ -37,4 +49,7 @@ .endfor .endif +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/sysutils/py-supervisor/py-supervisor.patch ./py-supervisor.patch --- /usr/ports/sysutils/py-supervisor/py-supervisor.patch 1970-01-01 10:00:00.000000000 +1000 +++ ./py-supervisor.patch 2012-10-19 22:12:31.000000000 +1100 @@ -0,0 +1 @@ +===> Generating patch ===> Done
_______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"