From koobs.freebsd@gmail.com  Thu Oct 18 12:05:08 2012
Return-Path: <koobs.freebsd@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8B186454
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Oct 2012 12:05:08 +0000 (UTC)
	(envelope-from koobs.freebsd@gmail.com)
Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 587AC8FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Oct 2012 12:05:08 +0000 (UTC)
Received: by mail-da0-f54.google.com with SMTP id z9so3673374dad.13
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Oct 2012 05:05:07 -0700 (PDT)
Received: by 10.68.213.1 with SMTP id no1mr65057923pbc.123.1350561907390;
        Thu, 18 Oct 2012 05:05:07 -0700 (PDT)
Received: from freebsd-9-amd64.localdomain (ppp59-167-128-11.static.internode.on.net. [59.167.128.11])
        by mx.google.com with ESMTPS id j8sm14280818paz.30.2012.10.18.05.05.05
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 18 Oct 2012 05:05:06 -0700 (PDT)
Received: by freebsd-9-amd64.localdomain (Postfix, from userid 1001)
	id 17E783A071; Thu, 18 Oct 2012 23:05:02 +1100 (EST)
Message-Id: <20121018120502.17E783A071@freebsd-9-amd64.localdomain>
Date: Thu, 18 Oct 2012 23:05:02 +1100 (EST)
From: Kubilay Kocak <koobs.freebsd@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: hizel@vyborg.ru
Subject: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more
X-Send-Pr-Version: 3.113
X-GNATS-Notify: hizel@vyborg.ru

>Number:         172851
>Category:       ports
>Synopsis:       [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 18 12:10:00 UTC 2012
>Closed-Date:    Mon Oct 29 21:21:11 UTC 2012
>Last-Modified:  Mon Oct 29 21:21:11 UTC 2012
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- Update to 3.0b1
- Make CHEESESHOP the primary MASTERSITE (dist.supervisord.org is empty)
- Trim Makefile header
- Update minimum required py-meld3 version
- Add OPTIONS for unit tests
- Set USE_PYTHON version appropriately
- Add regression-test target
- Use TEST_DEPENDS for tinderbox builds

Changes:

https://github.com/Supervisor/supervisor/blob/3.0b1/CHANGES.txt

====[QA]====
portlint: WARN: possible use of absolute pathname
porttest: OK
unittest: Ran 16 tests in 0.004s - OK
redports: https://redports.org/buildarchive/20121018113126-46920/

Note: All redports builds include regression-test run
============

Port maintainer (hizel@vyborg.ru) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-supervisor-3.0b1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/py-supervisor/Makefile ./Makefile
--- /usr/ports/sysutils/py-supervisor/Makefile	2012-01-10 22:07:57.000000000 +1100
+++ ./Makefile	2012-10-18 21:34:17.000000000 +1100
@@ -1,25 +1,32 @@
-# New ports collection makefile for:	supervisor
-# Date created:		30 Dec, 2009
-# Whom:			Hizbulin Ildar <hizel@vyborg.ru>
-#
+# Created by: Hizbulin Ildar <hizel@vyborg.ru>
 # $FreeBSD: ports/sysutils/py-supervisor/Makefile,v 1.6 2012/01/10 11:07:57 rm Exp $
-#
 
 PORTNAME=	supervisor
-PORTVERSION=	3.0a12
+PORTVERSION=	3.0b1
 CATEGORIES=	sysutils python
-MASTER_SITES=	http://dist.supervisord.org/ \
-		CHEESESHOP
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 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}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+.endif
 
 PORTDOCS=	*.txt *.rst
 
-USE_PYTHON=	2.5-2.7
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	easy_install
 PIDDIR?=	/var/run/supervisor
 
@@ -42,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/distinfo ./distinfo
--- /usr/ports/sysutils/py-supervisor/distinfo	2012-01-10 22:07:57.000000000 +1100
+++ ./distinfo	2012-10-18 18:53:24.000000000 +1100
@@ -1,2 +1,2 @@
-SHA256 (supervisor-3.0a12.tar.gz) = de60eee3c460b379aa8493083b59d31b29f2c4267730db29b6f9dea22642b3b4
-SIZE (supervisor-3.0a12.tar.gz) = 438901
+SHA256 (supervisor-3.0b1.tar.gz) = 7361e224871257534cac3bc035e90571c35b9fa9245ec46207de9d89191a7d0c
+SIZE (supervisor-3.0b1.tar.gz) = 452676
--- py27-supervisor-3.0b1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Oct 18 12:10:09 UTC 2012 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172851 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 18 12:10:10 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172851 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: hizel@vyborg.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more
Date: Thu, 18 Oct 2012 12:10:10 UT

 Maintainer of sysutils/py-supervisor,
 
 Please note that PR ports/172851 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/172851
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: Kubilay Kocak <koobs.freebsd@gmail.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org, hizel@vyborg.ru
Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1
 + OPTIONS + more
Date: Thu, 18 Oct 2012 16:12:24 +0400

 Hi koobs!
 
 Kubilay Kocak wrote on 18.10.2012 16:05:
 >
 >> Number:         172851
 >> Category:       ports
 >> Synopsis:       [PATCH] sysutils/py-supervisor: update to 3.0b1 + OPTIONS + more
 
 Please note that most of this changes is already committed today, sorry 
 :). Please make the patch against current version in the tree.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.

From: "Ildar Hizbulin" <hizel@vyborg.ru>
To: bug-followup@freebsd.org, koobs.freebsd@gmail.com
Cc:  
Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 +
 OPTIONS + more
Date: Thu, 18 Oct 2012 16:20:39 +0400

 see ports/172844 :)
 
 -- 
 e-mail: hizel@vyborg.ru
 jid: hizel@vyborg.ru

From: Kubilay Kocak <koobs.freebsd@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1
 + OPTIONS + more
Date: Thu, 18 Oct 2012 23:36:20 +1100

 Thanks rm, I noticed it 2 minutes after I submitted.
 
 This patch also incorrectly uses RUN_DEPENDS for the TESTS option, so 
 requires an updated patch anyway (thanks jhale!)
 
 Stand by for follow-up against recent commit.

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--

From: "Ildar Hizbulin" <hizel@vyborg.ru>
To: bug-followup@freebsd.org, "Kubilay Kocak" <koobs.freebsd@gmail.com>
Cc: freebsd-python@freebsd.org, "Ruslan Mahmatkhanov" <cvs-src@yandex.ru>
Subject: Re: ports/172851: [PATCH] sysutils/py-supervisor: update to 3.0b1 +
 OPTIONS + more
Date: Mon, 22 Oct 2012 12:27:57 +0400

 ------------e3XHFnrhO3UnSDdMxbcwg4
 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
 Content-Transfer-Encoding: 7bit
 
 Final patch with fix test error. To  
 https://github.com/Supervisor/supervisor/issues/155 send pull request.
 
 -- 
 e-mail: hizel@vyborg.ru
 jid: hizel@vyborg.ru
 ------------e3XHFnrhO3UnSDdMxbcwg4
 Content-Disposition: attachment; filename=py-supervisor.txt
 Content-Type: text/plain; name=py-supervisor.txt
 Content-Transfer-Encoding: 7bit
 
 diff -ruN sysutils/py-supervisor.old/Makefile sysutils/py-supervisor/Makefile
 --- sysutils/py-supervisor.old/Makefile	2012-10-22 12:12:59.000000000 +0400
 +++ sysutils/py-supervisor/Makefile	2012-10-22 12:19:19.000000000 +0400
 @@ -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 sysutils/py-supervisor.old/files/patch-supervisor-tests-test_childutils.py sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py
 --- sysutils/py-supervisor.old/files/patch-supervisor-tests-test_childutils.py	1970-01-01 03:00:00.000000000 +0300
 +++ sysutils/py-supervisor/files/patch-supervisor-tests-test_childutils.py	2012-10-22 12:23:18.000000000 +0400
 @@ -0,0 +1,11 @@
 +--- supervisor/tests/test_childutils.py
 ++++ supervisor/tests/test_childutils.py
 +@@ -41,7 +41,7 @@ class ChildUtilsTests(unittest.TestCase):
 + 
 +     def test_get_asctime(self):
 +         from supervisor.childutils import get_asctime
 +-        timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, 0))
 ++        timestamp = time.mktime((2009, 1, 18, 22, 14, 7, 0, 0, -1))
 +         result = get_asctime(timestamp)
 +         self.assertEqual(result, '2009-01-18 22:14:07,000')
 + 
 
 ------------e3XHFnrhO3UnSDdMxbcwg4--
 
Responsible-Changed-From-To: freebsd-python->rm 
Responsible-Changed-By: rm 
Responsible-Changed-When: Wed Oct 24 11:57:05 UTC 2012 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172851 
State-Changed-From-To: feedback->closed 
State-Changed-By: rm 
State-Changed-When: Mon Oct 29 21:21:10 UTC 2012 
State-Changed-Why:  
Committed, thank you! Sorry for delay ( 

http://www.freebsd.org/cgi/query-pr.cgi?pr=172851 
>Unformatted:
