From nobody@FreeBSD.org  Tue Oct  4 01:58:39 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 83BDD1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  4 Oct 2011 01:58:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 74ABA8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  4 Oct 2011 01:58:39 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p941wdXe028155
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 4 Oct 2011 01:58:39 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p941wddI028154;
	Tue, 4 Oct 2011 01:58:39 GMT
	(envelope-from nobody)
Message-Id: <201110040158.p941wddI028154@red.freebsd.org>
Date: Tue, 4 Oct 2011 01:58:39 GMT
From: Martin Jackson <mhjacks@swbell.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER-UPDATE] Update devel/py-asn1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161270
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] Update devel/py-asn1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 04 02:00:22 UTC 2011
>Closed-Date:    Tue Oct 04 23:35:33 UTC 2011
>Last-Modified:  Tue Oct 04 23:35:33 UTC 2011
>Originator:     Martin Jackson
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD samwise.gateway.2wire.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Fix to use PORTEPOCH, and properly depend on py-setuptools.  I signed off on update to the port improperly.
>How-To-Repeat:
Always
>Fix:
Update to new version.

Patch attached with submission follows:

Index: distinfo
===================================================================
--- distinfo	(revision 1178)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pyasn1-0.0.13.tar.gz) = 059bc1fd109cdf3d579b1a3e7175494cf70066f93f05a642c20d7993bbf841c7
-SIZE (pyasn1-0.0.13.tar.gz) = 51225
+SHA256 (pyasn1-0.0.13b.tar.gz) = dd911885078b0e44eedbd4cc7fa04e8589f8371c77d7e6083b534828c57ed3d0
+SIZE (pyasn1-0.0.13b.tar.gz) = 50570
Index: Makefile
===================================================================
--- Makefile	(revision 1178)
+++ Makefile	(working copy)
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	asn1
-PORTVERSION=	0.0.13
-PORTEPOCH=	1
+PORTVERSION=	0.0.13b
+PORTEPOCH=	2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP \
 		SF/py${PORTNAME}/py${PORTNAME}-devel/${PORTVERSION}
@@ -20,6 +20,9 @@
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	pyasn1


>Release-Note:
>Audit-Trail:

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: Martin Jackson <mhjacks@swbell.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/161270: [MAINTAINER-UPDATE] Update devel/py-asn1
Date: Tue, 04 Oct 2011 08:33:47 +0400

 Martin Jackson wrote on 04.10.2011 05:58:
 >   PORTNAME=	asn1
 > -PORTVERSION=	0.0.13
 > -PORTEPOCH=	1
 > +PORTVERSION=	0.0.13b
 > +PORTEPOCH=	2
 
 Hi, Martin.
 
 PORTEPOCH already was bumped, that i overlooked in first place, sorry. 
 Why do you downgrade this port 0.0.13b? Is this intentional? 0.0.13b is 
 less than 0.0.13, and 0.0.13 is an latest available version.
 
 > +BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 > +RUN_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 
 This dependencies already implied with using "USE_PYDISTUTILS= 
 easy_install" (please see Mk/bsd.python.mk), so this just will duplicate 
 them.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: "mhjacks@swbell.net" <mhjacks@swbell.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/161270: [MAINTAINER-UPDATE] Update devel/py-asn1
Date: Tue, 04 Oct 2011 15:43:33 +0400

 Sorry Martin,
 
 for some reason i now can't point this message to you directly. Your 
 server answered:
 
 """
 <mhjacks@swbell.net>: host sbcmail1.prodigy.net[207.115.20.20] said: 553 
 5.3.0 flph261 DNSBL:ATTRBL 521< 95.108.130.120 
  >_is_blocked.__For_information_see_http://att.net/blocks (in reply to 
 MAIL FROM command)
 """
 So i just add  bug-followup@ to cc:. Please see my answer bellow.
 
 mhjacks@swbell.net wrote on 04.10.2011 15:21:
 > Sorry.  I had received two auto emails from the ports system and incorrectly assumed there was more work to do.  I did not look closely at the versions as I should have.  So if everything is up to date and correct let's not change that part of it.
 >
 > I did notice in testing though that the build of py-asn1 fails if setuptools is not installed, and succeeds with the explicit dependencies, at least with 2.7.
 
 It's strange enough, since it work for me in tinderbox.
 Please look at this log:
 http://happy-nation.by.ru/ports/tb/py27-asn1-0.0.13.log
 
 As you can see, it adds python and setuptools as dependencies. It's 
 because of USE_PYDISTUTILS=easy_install transforms to this by ports 
 framework:
 
 In /usr/ports/Mk/bsd.python.mk
 .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
 .if ${PYTHON_SUFFIX} < 30
 BUILD_DEPENDS+=         ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=           ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 .else
 BUILD_DEPENDS+=         ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute
 RUN_DEPENDS+=           ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute
 .endif
 
 So all the dependencies are ok already and it seems more like some 
 problem with your tree. Can you try it with a clean tree?
 Move your /usr/ports to /usr/ports.old. Then do `portsnap fetch extract` 
 and `portsnap fetch update`. Then deinstall py-asn1 and setuptools and 
 try to build just devel/py-asn1. Setuptools should be installed as 
 dependency.
 
 > Should I rework the patch?
 
 I believe that there is nothing that should be fixed in the tree, so if 
 things are working to you with generic ports tree, then this pr should 
 be just closed.
 
 >
 > Sent from my HTC Inspire™ 4G on AT&T
 >
 > ----- Reply message -----
 > From: "Ruslan Mahmatkhanov"<cvs-src@yandex.ru>
 > To: "Martin Jackson"<mhjacks@swbell.net>
 > Cc:<freebsd-gnats-submit@FreeBSD.org>
 > Subject: ports/161270: [MAINTAINER-UPDATE] Update devel/py-asn1
 > Date: Mon, Oct 3, 2011 23:33
 >
 >
 > Martin Jackson wrote on 04.10.2011 05:58:
 >>    PORTNAME=	asn1
 >> -PORTVERSION=	0.0.13
 >> -PORTEPOCH=	1
 >> +PORTVERSION=	0.0.13b
 >> +PORTEPOCH=	2
 >
 > Hi, Martin.
 >
 > PORTEPOCH already was bumped, that i overlooked in first place, sorry.
 > Why do you downgrade this port 0.0.13b? Is this intentional? 0.0.13b is
 > less than 0.0.13, and 0.0.13 is an latest available version.
 >
 >> +BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 >> +RUN_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
 >
 > This dependencies already implied with using "USE_PYDISTUTILS=
 > easy_install" (please see Mk/bsd.python.mk), so this just will duplicate
 > them.
 >
 
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: novel 
Responsible-Changed-When: Tue Oct 4 23:24:56 UTC 2011 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161270 
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Tue Oct 4 23:32:22 UTC 2011 
State-Changed-Why:  
Closeing as devel/py-asn1 is already at the latest version in the tree, 
which is 0.0.13. 

As for the setuptools dependency problem, it builds fine for me as well, 
so it appears to be a local problem as pointed by Ruslan. 

Thanks! 

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