summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorryoon <ryoon>2012-11-26 13:55:00 +0000
committerryoon <ryoon>2012-11-26 13:55:00 +0000
commit7d8772d1ded30d5a09784088e58d9752d64caa85 (patch)
tree1591bc4983345a0a1e4574ed98621317d827ea3e /net
parentab1883fe8f1c8f2c22ed8aa41b736ac975895cd2 (diff)
downloadpkgsrc-7d8772d1ded30d5a09784088e58d9752d64caa85.tar.gz
Import py27-netifaces-0.8 as net/py-netifaces.
Portable network interface information. netifaces provides a (hopefully portable-ish) way for Python programmers to get access to a list of the network interfaces on the local machine, and to obtain the addresses of those network interfaces.
Diffstat (limited to 'net')
-rw-r--r--net/py-netifaces/DESCR6
-rw-r--r--net/py-netifaces/Makefile17
-rw-r--r--net/py-netifaces/PLIST6
-rw-r--r--net/py-netifaces/distinfo5
4 files changed, 34 insertions, 0 deletions
diff --git a/net/py-netifaces/DESCR b/net/py-netifaces/DESCR
new file mode 100644
index 00000000000..6429383d9da
--- /dev/null
+++ b/net/py-netifaces/DESCR
@@ -0,0 +1,6 @@
+Portable network interface information.
+
+netifaces provides a (hopefully portable-ish) way for Python
+programmers to get access to a list of the network interfaces on
+the local machine, and to obtain the addresses of those network
+interfaces.
diff --git a/net/py-netifaces/Makefile b/net/py-netifaces/Makefile
new file mode 100644
index 00000000000..22882f3b094
--- /dev/null
+++ b/net/py-netifaces/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2012/11/26 13:55:00 ryoon Exp $
+#
+
+DISTNAME= netifaces-0.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= http://alastairs-place.net/projects/netifaces/
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://alastairs-place.net/projects/netifaces/
+COMMENT= Portable access to network interfaces from Python
+LICENSE= mit
+
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-netifaces/PLIST b/net/py-netifaces/PLIST
new file mode 100644
index 00000000000..16f19141d42
--- /dev/null
+++ b/net/py-netifaces/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/26 13:55:00 ryoon Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/netifaces.so
diff --git a/net/py-netifaces/distinfo b/net/py-netifaces/distinfo
new file mode 100644
index 00000000000..b0c47ccf0b4
--- /dev/null
+++ b/net/py-netifaces/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/11/26 13:55:00 ryoon Exp $
+
+SHA1 (netifaces-0.8.tar.gz) = a483338e1cb75dd572109467d523e152088c026d
+RMD160 (netifaces-0.8.tar.gz) = e5204d8415d1ae1ec84118eeb86928a1ea770f18
+Size (netifaces-0.8.tar.gz) = 15484 bytes