From owner-freebsd-python@FreeBSD.ORG Fri Oct 19 11:19:17 2012 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4435BB7A; Fri, 19 Oct 2012 11:19:17 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 070528FC08; Fri, 19 Oct 2012 11:19:17 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so319826pad.13 for ; Fri, 19 Oct 2012 04:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=6mL0nYV3luwoDS46ad9V4ANIb3ExDiGJEozsbmY4WGQ=; b=WYNg3oMsNMFhSLQpte/ytEQOOxN0FdgdBxTIvx03E0LbMLQuvQ1HD93P4Dg7CTY6t+ yRW6rrLuxUzGrztkoaOOlaaKeg7IEgZdMpVVQl7cb8Q157alAFbDB7JsvyebBD9MVJhA tPSixHNptLhxap5N5LaLxj0F2BVW3t4Afm7oj2VO3PO+5f5bWiwhJ2xIBgi0YT4utvBv j154eHLXMGOdFjKwhhuCUzUIpl763g3c9NdNa1xLi11j++BnJAbZMas7s/wNhIilwoDM 2xx+mJj1/tVM4dr182XAvKjfVwdNOPPc7Udrf8bejB3hy+SOCIwqMVJ05rStE9iOqhQp E7YA== Received: by 10.68.233.198 with SMTP id ty6mr4510959pbc.107.1350645556812; Fri, 19 Oct 2012 04:19:16 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPS id a10sm949082paw.17.2012.10.19.04.19.13 (version=SSLv3 cipher=OTHER); Fri, 19 Oct 2012 04:19:16 -0700 (PDT) Message-ID: <50813729.1030306@gmail.com> Date: Fri, 19 Oct 2012 22:19:05 +1100 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: bug-followup@freebsd.org Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more References: <201210181220.q9ICK2nl063740@freefall.freebsd.org> In-Reply-To: <201210181220.q9ICK2nl063740@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------070209040103050804010109" Cc: Ildar Hizbulin , Ruslan Mahmatkhanov , freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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:19:17 -0000 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--