From owner-freebsd-python@FreeBSD.ORG Fri Oct 19 11:20:02 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C2D7B9D for ; Fri, 19 Oct 2012 11:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0B28FC18 for ; Fri, 19 Oct 2012 11:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9JBK2hr004150 for ; Fri, 19 Oct 2012 11:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9JBK2Mo004149; Fri, 19 Oct 2012 11:20:02 GMT (envelope-from gnats) Date: Fri, 19 Oct 2012 11:20:02 GMT Message-Id: <201210191120.q9JBK2Mo004149@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Kubilay Kocak Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kubilay Kocak List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 11:20:02 -0000 The following reply was made to PR ports/172851; it has been noted by GNATS. From: Kubilay Kocak To: bug-followup@freebsd.org Cc: freebsd-python@FreeBSD.org, Ruslan Mahmatkhanov , Ildar Hizbulin 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 + +.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 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--