Wed Nov 2 10:58:33 2011 UTC ()
Update py-IP to 0.75.
while here,
 * convert to register egg-info
 * add test target

Version 0.75 (2011-04-12)
-------------------------

 * IP('::/0').netmask() gives IP('::') instead of IP('0.0.0.0')

Version 0.74 (2011-02-16)
-------------------------

 * Fix tests for Python 3.1 and 3.2
 * ip.__nonzero__() and (ipa in ipb) return a bool instead of 0 or 1
 * IP('0.0.0.0/0') + IP('0.0.0.0/0') raises an error, fix written by Arfrever

Version 0.73 (2011-02-15)
-------------------------

 * Support Python 3: setup.py runs 2to3
 * Update the ranges for IPv6 IPs
 * Fix reverseName() and reverseNames() for IPv4 in IPv6 addresses
 * Drop support of Python < 2.5

Version 0.72 (2010-11-23)
-------------------------

 * Include examples and MANIFEST.in in source build (add them to
   MANIFEST.in)
 * Remove __rcsid__ constant from IPy module

Version 0.71 (2010-10-01)
-------------------------

 * Use xrange() instead of range()
 * Use isinstance(x, int) instead of type(x) == types.IntType
 * Prepare support of Python3 (use integer division: x // y)
 * Fix IP(long) constructor: ensure that the address is not too large
 * Constructor raise a TypeError if the type is not int, long,
   str or unicode
 * 223.0.0.0/8 is now public (belongs to APNIC)


(obache)
diff -r1.14 -r1.15 pkgsrc/net/py-IP/Makefile
diff -r1.2 -r1.3 pkgsrc/net/py-IP/PLIST
diff -r1.3 -r1.4 pkgsrc/net/py-IP/distinfo

cvs diff -r1.14 -r1.15 pkgsrc/net/py-IP/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-IP/Makefile 2010/02/02 11:34:52 1.14
+++ pkgsrc/net/py-IP/Makefile 2011/11/02 10:58:33 1.15
@@ -1,18 +1,21 @@ @@ -1,18 +1,21 @@
1# $NetBSD: Makefile,v 1.14 2010/02/02 11:34:52 obache Exp $ 1# $NetBSD: Makefile,v 1.15 2011/11/02 10:58:33 obache Exp $
2 2
3DISTNAME= IPy-0.70 3DISTNAME= IPy-0.75
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= http://pypi.python.org/packages/source/I/IPy/ 6MASTER_SITES= http://pypi.python.org/packages/source/I/IPy/
7 7
8MAINTAINER= wenheping@gmail.com 8MAINTAINER= wenheping@gmail.com
9HOMEPAGE= http://software.inl.fr/trac/trac.cgi/wiki/IPy 9HOMEPAGE= https://github.com/haypo/python-ipy/
10COMMENT= Python module to handle IPv4 and IPv6 address 10COMMENT= Python module to handle IPv4 and IPv6 address
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15PYDISTUTILSPKG= yes 15PYTHON_VERSIONS_INCOMPATIBLE= 24
16 16
17.include "../../lang/python/extension.mk" 17do-test:
 18 ${RUN}cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py
 19
 20.include "../../lang/python/distutils.mk"
18.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/net/py-IP/PLIST (expand / switch to unified diff)

--- pkgsrc/net/py-IP/PLIST 2003/09/14 16:43:52 1.2
+++ pkgsrc/net/py-IP/PLIST 2011/11/02 10:58:33 1.3
@@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
1@comment $NetBSD: PLIST,v 1.2 2003/09/14 16:43:52 recht Exp $ 1@comment $NetBSD: PLIST,v 1.3 2011/11/02 10:58:33 obache Exp $
 2${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
2${PYSITELIB}/IPy.py 3${PYSITELIB}/IPy.py
3${PYSITELIB}/IPy.pyc 4${PYSITELIB}/IPy.pyc
4${PYSITELIB}/IPy.pyo 5${PYSITELIB}/IPy.pyo

cvs diff -r1.3 -r1.4 pkgsrc/net/py-IP/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-IP/distinfo 2010/02/02 11:34:52 1.3
+++ pkgsrc/net/py-IP/distinfo 2011/11/02 10:58:33 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2010/02/02 11:34:52 obache Exp $ 1$NetBSD: distinfo,v 1.4 2011/11/02 10:58:33 obache Exp $
2 2
3SHA1 (IPy-0.70.tar.gz) = 8d5ddf7b599508a5a563b99242770493b159317a 3SHA1 (IPy-0.75.tar.gz) = 256529ba640345d301c440b21e808abbebe0a6bc
4RMD160 (IPy-0.70.tar.gz) = 352625191ba14905ccfe0d112828bccf18e18f4f 4RMD160 (IPy-0.75.tar.gz) = f31b64d62d77a37b5fb66bb6bf047258426c7bed
5Size (IPy-0.70.tar.gz) = 22341 bytes 5Size (IPy-0.75.tar.gz) = 28459 bytes