Date: Fri, 19 Oct 2012 11:20:02 GMT From: Kubilay Kocak <koobs.freebsd@gmail.com> To: freebsd-python@FreeBSD.org Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more Message-ID: <201210191120.q9JBK2Mo004149@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/172851; it has been noted by GNATS. From: Kubilay Kocak <koobs.freebsd@gmail.com> To: bug-followup@freebsd.org Cc: freebsd-python@FreeBSD.org, Ruslan Mahmatkhanov <cvs-src@yandex.ru>, Ildar Hizbulin <hizel@vyborg.ru> Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more Date: Fri, 19 Oct 2012 22:19:05 +1100 This is a multi-part message in MIME format. --------------070209040103050804010109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ============ --------------070209040103050804010109 Content-Type: text/plain; charset=windows-1252; name="py-supervisor.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="py-supervisor.patch" ===> 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= hizel@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 --------------070209040103050804010109--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210191120.q9JBK2Mo004149>