summaryrefslogtreecommitdiff
path: root/net/py-IP
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-11-02 10:58:33 +0000
committerobache <obache@pkgsrc.org>2011-11-02 10:58:33 +0000
commit2b43ae3a29ea6ea5e93d0c1eb9d49230e136bae1 (patch)
treee197cbbc68bae3986936f34f61af2a4e9d3d39a5 /net/py-IP
parent9f4bb1bf2929d0f0355bdedcd87b5d73dea95a94 (diff)
downloadpkgsrc-2b43ae3a29ea6ea5e93d0c1eb9d49230e136bae1.tar.gz
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)
Diffstat (limited to 'net/py-IP')
-rw-r--r--net/py-IP/Makefile13
-rw-r--r--net/py-IP/PLIST3
-rw-r--r--net/py-IP/distinfo8
3 files changed, 14 insertions, 10 deletions
diff --git a/net/py-IP/Makefile b/net/py-IP/Makefile
index 4303f068baf..9592285e164 100644
--- a/net/py-IP/Makefile
+++ b/net/py-IP/Makefile
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.14 2010/02/02 11:34:52 obache Exp $
+# $NetBSD: Makefile,v 1.15 2011/11/02 10:58:33 obache Exp $
-DISTNAME= IPy-0.70
+DISTNAME= IPy-0.75
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
CATEGORIES= net python
MASTER_SITES= http://pypi.python.org/packages/source/I/IPy/
MAINTAINER= wenheping@gmail.com
-HOMEPAGE= http://software.inl.fr/trac/trac.cgi/wiki/IPy
+HOMEPAGE= https://github.com/haypo/python-ipy/
COMMENT= Python module to handle IPv4 and IPv6 address
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 24
-.include "../../lang/python/extension.mk"
+do-test:
+ ${RUN}cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py
+
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-IP/PLIST b/net/py-IP/PLIST
index 1316e3d2138..d3c5539c32c 100644
--- a/net/py-IP/PLIST
+++ b/net/py-IP/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/09/14 16:43:52 recht Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/11/02 10:58:33 obache Exp $
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/IPy.py
${PYSITELIB}/IPy.pyc
${PYSITELIB}/IPy.pyo
diff --git a/net/py-IP/distinfo b/net/py-IP/distinfo
index 98de0ad8769..ba19a4d541a 100644
--- a/net/py-IP/distinfo
+++ b/net/py-IP/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2010/02/02 11:34:52 obache Exp $
+$NetBSD: distinfo,v 1.4 2011/11/02 10:58:33 obache Exp $
-SHA1 (IPy-0.70.tar.gz) = 8d5ddf7b599508a5a563b99242770493b159317a
-RMD160 (IPy-0.70.tar.gz) = 352625191ba14905ccfe0d112828bccf18e18f4f
-Size (IPy-0.70.tar.gz) = 22341 bytes
+SHA1 (IPy-0.75.tar.gz) = 256529ba640345d301c440b21e808abbebe0a6bc
+RMD160 (IPy-0.75.tar.gz) = f31b64d62d77a37b5fb66bb6bf047258426c7bed
+Size (IPy-0.75.tar.gz) = 28459 bytes