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
commit6231196e55f3cd079b234a7eb92dc59f744e53bc (patch)
tree1591bc4983345a0a1e4574ed98621317d827ea3e /net
parentc078f8a2b7ac9546de393b9994f1b6ac13c6dcec (diff)
downloadpkgsrc-6231196e55f3cd079b234a7eb92dc59f744e53bc.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