From nobody@FreeBSD.org  Sat Feb  5 22:03:33 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 E19531065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Feb 2011 22:03:32 +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 C6C978FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Feb 2011 22:03:32 +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 p15M3WZZ014839
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 5 Feb 2011 22:03:32 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p15M3WYm014835;
	Sat, 5 Feb 2011 22:03:32 GMT
	(envelope-from nobody)
Message-Id: <201102052203.p15M3WYm014835@red.freebsd.org>
Date: Sat, 5 Feb 2011 22:03:32 GMT
From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [UPDATE] dns/py-dnspython: update to 1.9.2 [feature safe]
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: greenwood.andy@gmail.com

>Number:         154535
>Category:       ports
>Synopsis:       [UPDATE] dns/py-dnspython: update to 1.9.2 [feature safe]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 05 22:10:08 UTC 2011
>Closed-Date:    Sat Feb 19 12:47:48 UTC 2011
>Last-Modified:  Sat Feb 19 12:50:11 UTC 2011
>Originator:     Ruslan Mahmatkhanov
>Release:        8.2-PRERELEASE
>Organization:
>Environment:
8.2-PRERELEASE i386
>Description:
- update to 1.9.2
- add option to depend on security/py-pycrypto (default off). it's needed for some parts of dnssec module to work.
- respect NOPORTEXAMPLES
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa py-dnspython.orig/Makefile py-dnspython/Makefile
--- py-dnspython.orig/Makefile	2010-03-20 22:12:44.000000000 +0300
+++ py-dnspython/Makefile	2011-02-06 00:54:50.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dnspython
-PORTVERSION=	1.8.0
+PORTVERSION=	1.9.2
 CATEGORIES=	dns python
 MASTER_SITES=	http://www.dnspython.org/kits/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,32 +17,45 @@
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 
+OPTIONS=	PYCRYPTO "Enable pycrypto (part of dnssec needs it)" off
+
 PORTDOCS=	\
 		ChangeLog \
 		README \
 		TODO
 EXAMPLE_FILES=	\
 		ddns.py \
+		e164.py \
 		mx.py \
 		name.py \
 		reverse.py \
-		xfr.py
+		reverse_name.py \
+		xfr.py \
+		zonediff.py
 
 post-install:
 # docs
-.ifndef(NOPORTDOCS)
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in ${PORTDOCS}
 	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
 # examples
+.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
 .for file in ${EXAMPLE_FILES}
 	@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
 .endfor
+.endif
 # permission safeness
 	@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/dns/*
 	@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/dns/*
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PYCRYPTO)
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
+.endif
+
+.include <bsd.port.post.mk>
diff -ruNa py-dnspython.orig/distinfo py-dnspython/distinfo
--- py-dnspython.orig/distinfo	2010-03-20 22:12:44.000000000 +0300
+++ py-dnspython/distinfo	2011-02-05 23:49:58.000000000 +0300
@@ -1,3 +1,2 @@
-MD5 (dnspython-1.8.0.tar.gz) = 77f379e0cb21e11470a35359e6211c53
-SHA256 (dnspython-1.8.0.tar.gz) = 8e9fd938bb695e0c5332f095b07a5aa8e4597cd8cc24ee9be5a15b463d7437ba
-SIZE (dnspython-1.8.0.tar.gz) = 108588
+SHA256 (dnspython-1.9.2.tar.gz) = 6a7dfbe1a34880b45b94988cb48ba12667d9a635fd9df061ea0a24d6f8b5f7e0
+SIZE (dnspython-1.9.2.tar.gz) = 122408
diff -ruNa py-dnspython.orig/pkg-plist py-dnspython/pkg-plist
--- py-dnspython.orig/pkg-plist	2009-07-01 16:39:55.000000000 +0400
+++ py-dnspython/pkg-plist	2011-02-06 00:11:40.000000000 +0300
@@ -19,6 +19,9 @@
 %%PYTHON_SITELIBDIR%%/dns/flags.py
 %%PYTHON_SITELIBDIR%%/dns/flags.pyc
 %%PYTHON_SITELIBDIR%%/dns/flags.pyo
+%%PYTHON_SITELIBDIR%%/dns/hash.py
+%%PYTHON_SITELIBDIR%%/dns/hash.pyc
+%%PYTHON_SITELIBDIR%%/dns/hash.pyo
 %%PYTHON_SITELIBDIR%%/dns/inet.py
 %%PYTHON_SITELIBDIR%%/dns/inet.pyc
 %%PYTHON_SITELIBDIR%%/dns/inet.pyo
@@ -247,15 +250,16 @@
 %%PYTHON_SITELIBDIR%%/dns/zone.py
 %%PYTHON_SITELIBDIR%%/dns/zone.pyc
 %%PYTHON_SITELIBDIR%%/dns/zone.pyo
-%%EXAMPLESDIR%%/ddns.py
-%%EXAMPLESDIR%%/mx.py
-%%EXAMPLESDIR%%/name.py
-%%EXAMPLESDIR%%/reverse.py
-%%EXAMPLESDIR%%/xfr.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ddns.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e164.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/name.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse_name.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xfr.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zonediff.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes/IN
 @dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY
 @dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes
 @dirrm %%PYTHON_SITELIBDIR%%/dns
-@dirrm %%EXAMPLESDIR%%
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Feb 5 22:10:14 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: greenwood.andy@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/154535: [UPDATE] dns/py-dnspython: update to 1.9.2 [feature safe]
Date: Sat, 5 Feb 2011 22:10:12 UT

 Maintainer of dns/py-dnspython,
 
 Please note that PR ports/154535 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/154535
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Feb 6 03:46:38 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

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

From: Andy Greenwood <greenwood.andy@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/154535: [UPDATE] dns/py-dnspython: update to 1.9.2 [feature safe]
Date: Thu, 17 Feb 2011 12:36:56 -0500

 Looks good to me.
 
 On Sat, Feb 5, 2011 at 5:10 PM, Edwin Groothuis <edwin@freebsd.org> wrote:
 > Maintainer of dns/py-dnspython,
 >
 > Please note that PR ports/154535 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:
 > =A0 =A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/154535
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 >
 
 
 
 --=20
 I'm nerdy in the extreme and whiter than sour cream
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Feb 19 12:47:47 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154535: commit references a PR
Date: Sat, 19 Feb 2011 12:47:42 +0000 (UTC)

 miwi        2011-02-19 12:47:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/py-dnspython     Makefile distinfo pkg-plist 
   Log:
   - Update to 1.9.2
   
   PR:             154535
   Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.15      +17 -4     ports/dns/py-dnspython/Makefile
   1.11      +2 -3      ports/dns/py-dnspython/distinfo
   1.7       +12 -8     ports/dns/py-dnspython/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
