[Python-modules-commits] r16163 - in packages/python-dns/trunk/debian (4 files)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Sun Mar 20 00:58:06 UTC 2011


    Date: Sunday, March 20, 2011 @ 00:57:48
  Author: kitterman
Revision: 16163

python-dns (2.3.5-1) unstable; urgency=low

  * New upstream release
    - Drop debian/patches/lazy-revlookup.diff, function rewritten upstream
  * Build-depends on python-all instead of python
  * Bump standards version to 3.9.1 without further change
  * Drop XB-Python-Version
  * Switch XS-Python-Version to X-Python-Version and bump minimum version to
    2.6

Modified:
  packages/python-dns/trunk/debian/changelog
  packages/python-dns/trunk/debian/control
  packages/python-dns/trunk/debian/patches/series
Deleted:
  packages/python-dns/trunk/debian/patches/lazy-revlookup.diff

Modified: packages/python-dns/trunk/debian/changelog
===================================================================
--- packages/python-dns/trunk/debian/changelog	2011-03-19 11:21:09 UTC (rev 16162)
+++ packages/python-dns/trunk/debian/changelog	2011-03-20 00:57:48 UTC (rev 16163)
@@ -1,3 +1,15 @@
+python-dns (2.3.5-1) unstable; urgency=low
+
+  * New upstream release
+    - Drop debian/patches/lazy-revlookup.diff, function rewritten upstream
+  * Build-depends on python-all instead of python
+  * Bump standards version to 3.9.1 without further change
+  * Drop XB-Python-Version
+  * Switch XS-Python-Version to X-Python-Version and bump minimum version to
+    2.6
+
+ -- Scott Kitterman <scott at kitterman.com>  Sat, 19 Mar 2011 20:26:53 -0400
+
 python-dns (2.3.4-5) experimental; urgency=low
 
   * Rebuild in experimental for python2.7 support

Modified: packages/python-dns/trunk/debian/control
===================================================================
--- packages/python-dns/trunk/debian/control	2011-03-19 11:21:09 UTC (rev 16162)
+++ packages/python-dns/trunk/debian/control	2011-03-20 00:57:48 UTC (rev 16163)
@@ -3,16 +3,15 @@
 Priority: optional
 Maintainer: Scott Kitterman <scott at kitterman.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.3.16), python (>= 2.6.5-2~), quilt (>= 0.46-7)
+Build-Depends: debhelper (>= 7.3.16), python-all (>= 2.6.5-2~), quilt (>= 0.46-7)
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-dns/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-dns/trunk/
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
 Homepage: http://sourceforge.net/projects/pydns/
-XS-Python-Version: >= 2.3
+X-Python-Version: >= 2.6
 
 Package: python-dns
 Architecture: all
-XB-Python-Version: >= 2.3
 Depends: ${misc:Depends}, ${python:Depends}
 Description: DNS client module for Python
  This Python module provides an DNS API for looking up DNS entries from

Deleted: packages/python-dns/trunk/debian/patches/lazy-revlookup.diff
===================================================================
--- packages/python-dns/trunk/debian/patches/lazy-revlookup.diff	2011-03-19 11:21:09 UTC (rev 16162)
+++ packages/python-dns/trunk/debian/patches/lazy-revlookup.diff	2011-03-20 00:57:48 UTC (rev 16163)
@@ -1,32 +0,0 @@
-This is a distro patch that has been sent upstream to the pydns bug tracker on
-sourceforge.
-
-Index: python-dns-2.3.4/DNS/lazy.py
-===================================================================
---- python-dns-2.3.4.orig/DNS/lazy.py	2010-06-22 19:45:33.246817104 -0400
-+++ python-dns-2.3.4/DNS/lazy.py	2010-06-22 19:45:45.766828728 -0400
-@@ -10,6 +10,9 @@
- import Base
- import string
- 
-+class NoDataError(IndexError): pass
-+class StatusError(IndexError): pass
-+
- def revlookup(name):
-     "convenience routine for doing a reverse lookup of an address"
-     if Base.defaults['server'] == []: Base.DiscoverNameServers()
-@@ -17,7 +20,13 @@
-     a.reverse()
-     b = string.join(a, '.')+'.in-addr.arpa'
-     # this will only return one of any records returned.
--    return Base.DnsRequest(b, qtype = 'ptr').req().answers[0]['data']
-+    result = Base.DnsRequest(b, qtype = 'ptr').req()
-+    if result.header['status'] != 'NOERROR':
-+        raise StatusError("DNS query status: %s" % result.header['status'])
-+    elif len(result.answers) == 0:
-+        raise NoDataError("No PTR records for %s" % name)
-+    else:
-+        return result.answers[0]['data']
- 
- def mxlookup(name):
-     """

Modified: packages/python-dns/trunk/debian/patches/series
===================================================================
--- packages/python-dns/trunk/debian/patches/series	2011-03-19 11:21:09 UTC (rev 16162)
+++ packages/python-dns/trunk/debian/patches/series	2011-03-20 00:57:48 UTC (rev 16163)
@@ -1,2 +1 @@
 examples-interpreter.diff
-lazy-revlookup.diff




More information about the Python-modules-commits mailing list