summaryrefslogtreecommitdiff
path: root/net/py-ipaddress
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-05-28 18:39:43 +0000
committerwiz <wiz@pkgsrc.org>2015-05-28 18:39:43 +0000
commitec569c454e84fbe7873a8fa2c98373a98eabbd09 (patch)
tree3e54506b59cce4432f8a106a3dce33e3b40d9f54 /net/py-ipaddress
parent7ac16f67226c53eb973982d6d75d5528249ea8df (diff)
downloadpkgsrc-ec569c454e84fbe7873a8fa2c98373a98eabbd09.tar.gz
Import py27-ipaddress-1.0.7 as net/py-ipaddress.
Python 3.3's ipaddress for Python 2.6 and 2.7. Note that you must pass in unicode objects when constructing from a character representation!
Diffstat (limited to 'net/py-ipaddress')
-rw-r--r--net/py-ipaddress/DESCR4
-rw-r--r--net/py-ipaddress/Makefile16
-rw-r--r--net/py-ipaddress/PLIST8
-rw-r--r--net/py-ipaddress/distinfo5
4 files changed, 33 insertions, 0 deletions
diff --git a/net/py-ipaddress/DESCR b/net/py-ipaddress/DESCR
new file mode 100644
index 00000000000..ab44a270d92
--- /dev/null
+++ b/net/py-ipaddress/DESCR
@@ -0,0 +1,4 @@
+Python 3.3's ipaddress for Python 2.6 and 2.7.
+
+Note that you must pass in unicode objects when constructing from
+a character representation!
diff --git a/net/py-ipaddress/Makefile b/net/py-ipaddress/Makefile
new file mode 100644
index 00000000000..cfe93d22c3c
--- /dev/null
+++ b/net/py-ipaddress/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2015/05/28 18:39:43 wiz Exp $
+
+DISTNAME= ipaddress-1.0.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES+= https://pypi.python.org/packages/source/i/ipaddress/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/ipaddress
+COMMENT= Port of the python 3.3+ ipaddress module to 2.6 and 2.7
+LICENSE= python-software-foundation
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # included in 3.3+
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-ipaddress/PLIST b/net/py-ipaddress/PLIST
new file mode 100644
index 00000000000..3884044c052
--- /dev/null
+++ b/net/py-ipaddress/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2015/05/28 18:39:43 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ipaddress.py
+${PYSITELIB}/ipaddress.pyc
+${PYSITELIB}/ipaddress.pyo
diff --git a/net/py-ipaddress/distinfo b/net/py-ipaddress/distinfo
new file mode 100644
index 00000000000..deb6eef0659
--- /dev/null
+++ b/net/py-ipaddress/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/28 18:39:43 wiz Exp $
+
+SHA1 (ipaddress-1.0.7.tar.gz) = 2747aafb67bb46bc9e69207f08c2265833e9d3db
+RMD160 (ipaddress-1.0.7.tar.gz) = e974dfbbc2b0c3dbdb46cc5cd4a21802a65582c4
+Size (ipaddress-1.0.7.tar.gz) = 15126 bytes