pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-IP Update to 0.81



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a4317c644d7
branches:  trunk
changeset: 637365:9a4317c644d7
user:      wen <wen%pkgsrc.org@localhost>
date:      Mon Jul 28 02:38:24 2014 +0000

description:
Update to 0.81

Upstream changes:
Version 0.81 (2013-04-08)
 * Correct reverseName() for IPv6 addresses, so IP('::1').reverseName() returns correct.
 * Add network mask awareness to v46map()
 * Fix Python 3 errors in IPSet class
 * Make IPSet base class be object when MutableSet isn't available, fixing
   errors in Python 2.5

Version 0.80 (2013-03-26)
------------

 * Drop support of Python older than 2.4
 * Python 3 does not need 2to3 conversion anymore (same code base)
 * Fix adding of non-adjacent networks:
   192.168.0.0/24 + 192.168.255.0/24 made 192.168.0.0/23
 * Fix adding networks that don't create a valid subnet:
   192.168.1.0/24 + 192.168.2.0/24 made 192.168.1.0/23
 * Fix adding with an IPv6 address where .int() was < 32 bits made IPy believe it
  was an IPv4 address:
  ::ffff:0/112 + ::1:0:0/112 made 255.255.0.0/111
 * Add support of IPSets
 * Add support for subtracting a network range
 * Prevent IPv4 and IPv6 ranges from saying they contain each other
 * Add a .v46map() method to convert mapped address ranges
   such as IP('::ffff:192.168.1.1'); RFC 4291
 * Change sort order to more natural:
   IPv4 before IPv6; less-specific prefixes first (/0 before /32)


Version 0.76 (2013-03-19)
-------------------------

 * ip == other and ip != other doesn't fail with an exception anymore if other
  is not a IP object
 * Add IP.get_mac() method: get the 802.3 MAC address from IPv6 RFC 2464
  address.
 * Fix IP('::/0')[0]: return an IPv6 instead of an IPv4 address

diffstat:

 net/py-IP/Makefile |  4 ++--
 net/py-IP/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r f64589ac4c7f -r 9a4317c644d7 net/py-IP/Makefile
--- a/net/py-IP/Makefile        Mon Jul 28 02:30:30 2014 +0000
+++ b/net/py-IP/Makefile        Mon Jul 28 02:38:24 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2014/01/25 10:30:16 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2014/07/28 02:38:24 wen Exp $
 
-DISTNAME=      IPy-0.75
+DISTNAME=      IPy-0.81
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
 CATEGORIES=    net python
 MASTER_SITES=  http://pypi.python.org/packages/source/I/IPy/
diff -r f64589ac4c7f -r 9a4317c644d7 net/py-IP/distinfo
--- a/net/py-IP/distinfo        Mon Jul 28 02:30:30 2014 +0000
+++ b/net/py-IP/distinfo        Mon Jul 28 02:38:24 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2011/11/02 10:58:33 obache Exp $
+$NetBSD: distinfo,v 1.5 2014/07/28 02:38:24 wen Exp $
 
-SHA1 (IPy-0.75.tar.gz) = 256529ba640345d301c440b21e808abbebe0a6bc
-RMD160 (IPy-0.75.tar.gz) = f31b64d62d77a37b5fb66bb6bf047258426c7bed
-Size (IPy-0.75.tar.gz) = 28459 bytes
+SHA1 (IPy-0.81.tar.gz) = c8a731313a2964c8c6aad18cec632b7332368f01
+RMD160 (IPy-0.81.tar.gz) = 6e708020c18cddb2f3588c2bd7fac98884842cb9
+Size (IPy-0.81.tar.gz) = 32318 bytes



Home | Main Index | Thread Index | Old Index