pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-dns Update py-dns to 1.1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/860585f86dbc
branches:  trunk
changeset: 460069:860585f86dbc
user:      gson <gson%pkgsrc.org@localhost>
date:      Mon Aug 18 04:02:47 2003 +0000

description:
Update py-dns to 1.1.0.

Summary of changes from 1.0.0:

    * Message sections are now lists of RRsets, not lists of nodes.

    * Nodes no longer have names; owner names are associated with
      nodes in the Zone object's nodes dictionary.

    * Many tests have been added to the test suite; dnspython 1.0.0
      had 47 tests, 1.1.0 has 275. The improved testing uncovered a
      number of bugs, all of which have been fixed.

    * The NameDict class provides a dictionary whose keys are DNS
      names. In addition to behaving like a normal Python dictionary,
      it also provides the get_deepest_match() method. If, for
      example, you had a dictionary containing the keys foo.com and
      com, then get_deepest_match() of the name a.b.foo.com would
      match the foo.com key.

    * A new Renderer class for those applications which want finer
      control over the DNS wire format message generation process.

    * Support for a "TooBig" exception if the size of wire format
      output exceeds a specified limit.

    * Zones now have find_rrset() and find_rdataset() convenience
      methods. They let you retrieve rdata with the specified name
      and type in one call, e.g.:

         rrset = zone.find_rrset('foo', 'mx')

    * Other new zone convenience methods include: find_node(),
      delete_node(), delete_rdataset(), replace_rdataset(),
      iterate_rdatasets(), and iterate_rdatas().

    * get_ variants of find_ methods are provided; the difference is
      that get_ methods return None if the desired object doesn't
      exist, whereas the find_ methods raise an exception.

    * Zones now have a to_file() method.

    * The message and zone from_file() methods allow Unicode filenames
      on platforms (and versions of python) which support
      them. Universal newline support is also used if available.

    * The Zone class now implements more of the standard mapping
      interface. E.g. you can say zone.keys(), zone.get('name'),
      zone.iteritems(), etc. __iter__() has been changed to iterate
      the keys rather than values to match the standard mapping
      interface's behavior.

    * Rdatasets support more set operations

    * Zone and Node factories may be specified, allowing applications
      to subclass Zone or Node and yet still use the algorithms which
      build zones from master files or AXFR data.

    * dns.ipv6.inet_ntoa() now minimizes the text representation of
      IPv6 addresses in the usual way,
      e.g. "0000:0000:0000:0000:0000:0000:0000:0001" is minimized to
      "::1".

    * dns.query functions now take an optional address family parameter.

All known bugs from 1.0.0 are fixed in this release.

diffstat:

 net/py-dns/Makefile |   6 +++---
 net/py-dns/PLIST    |  10 +++++++++-
 net/py-dns/distinfo |   6 +++---
 3 files changed, 15 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 10f866ea8e36 -r 860585f86dbc net/py-dns/Makefile
--- a/net/py-dns/Makefile       Mon Aug 18 03:37:47 2003 +0000
+++ b/net/py-dns/Makefile       Mon Aug 18 04:02:47 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 22:51:43 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/18 04:02:47 gson Exp $
 
-DISTNAME=      dnspython-1.0.0
-PKGNAME=       ${PYPKGPREFIX}-dns-1.0.0
+DISTNAME=      dnspython-1.1.0
+PKGNAME=       ${PYPKGPREFIX}-dns-1.1.0
 CATEGORIES=    net
 MASTER_SITES=  http://www.dnspython.org/kits/${PKGVERSION}/
 
diff -r 10f866ea8e36 -r 860585f86dbc net/py-dns/PLIST
--- a/net/py-dns/PLIST  Mon Aug 18 03:37:47 2003 +0000
+++ b/net/py-dns/PLIST  Mon Aug 18 04:02:47 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/29 23:39:30 gson Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/08/18 04:02:47 gson Exp $
 ${PYSITELIB}/dns/__init__.py
 ${PYSITELIB}/dns/__init__.pyc
 ${PYSITELIB}/dns/dnssec.py
@@ -17,6 +17,8 @@
 ${PYSITELIB}/dns/message.pyc
 ${PYSITELIB}/dns/name.py
 ${PYSITELIB}/dns/name.pyc
+${PYSITELIB}/dns/namedict.py
+${PYSITELIB}/dns/namedict.pyc
 ${PYSITELIB}/dns/node.py
 ${PYSITELIB}/dns/node.pyc
 ${PYSITELIB}/dns/opcode.py
@@ -103,10 +105,16 @@
 ${PYSITELIB}/dns/rdtypes/mxbase.pyc
 ${PYSITELIB}/dns/rdtypes/nsbase.py
 ${PYSITELIB}/dns/rdtypes/nsbase.pyc
+${PYSITELIB}/dns/renderer.py
+${PYSITELIB}/dns/renderer.pyc
 ${PYSITELIB}/dns/resolver.py
 ${PYSITELIB}/dns/resolver.pyc
+${PYSITELIB}/dns/rrset.py
+${PYSITELIB}/dns/rrset.pyc
 ${PYSITELIB}/dns/tokenizer.py
 ${PYSITELIB}/dns/tokenizer.pyc
+${PYSITELIB}/dns/set.py
+${PYSITELIB}/dns/set.pyc
 ${PYSITELIB}/dns/tsig.py
 ${PYSITELIB}/dns/tsig.pyc
 ${PYSITELIB}/dns/tsigkeyring.py
diff -r 10f866ea8e36 -r 860585f86dbc net/py-dns/distinfo
--- a/net/py-dns/distinfo       Mon Aug 18 03:37:47 2003 +0000
+++ b/net/py-dns/distinfo       Mon Aug 18 04:02:47 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2003/06/30 15:33:54 gson Exp $
+$NetBSD: distinfo,v 1.3 2003/08/18 04:02:47 gson Exp $
 
-SHA1 (dnspython-1.0.0.tar.gz) = 15ae1adee1cecd45f565ca56d45ad1577bd09d4c
-Size (dnspython-1.0.0.tar.gz) = 56681 bytes
+SHA1 (dnspython-1.1.0.tar.gz) = 6624f62b261182e630d1022267ec18b0b9df054a
+Size (dnspython-1.1.0.tar.gz) = 79174 bytes



Home | Main Index | Thread Index | Old Index