Getting network addresses from Python

It.s been irritating me for ages that it isn.t possible to
straightforwardly get the network address(es) of the machine
you.re running on from a Python program.

WWW:	http://alastairs-place.net/netifaces/

PR:		ports/137236
Submitted by:	Stanislav Svirid <count at 211.ru>
This commit is contained in:
Martin Wilke 2009-07-29 14:12:44 +00:00
parent 8a959dcddb
commit 546d58321e
5 changed files with 33 additions and 0 deletions

View file

@ -772,6 +772,7 @@
SUBDIR += py-medusa
SUBDIR += py-mp-random
SUBDIR += py-netaddr
SUBDIR += py-netifaces
SUBDIR += py-netstring
SUBDIR += py-oauth
SUBDIR += py-pcap

21
net/py-netifaces/Makefile Normal file
View file

@ -0,0 +1,21 @@
# New ports collection makefile for: py-netifaces
# Date created: May 27 2009
# Whom: Stanislav Svirid <count@211.ru>
#
# $FreeBSD$
#
PORTNAME= netifaces
PORTVERSION= 0.5
CATEGORIES= net python
MASTER_SITES= http://alastairs-place.net/2007/03/netifaces/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= count@211.ru
COMMENT= Getting network addresses from Python
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (netifaces-0.5.tar.gz) = ea662a4b4c7db5d1631cc33bf68eb030
SHA256 (netifaces-0.5.tar.gz) = a210263311512b9a13e758545161ddecdbf0426ccd1e1c3380cb354be259b35d
SIZE (netifaces-0.5.tar.gz) = 13024

View file

@ -0,0 +1,7 @@
Getting network addresses from Python
It.s been irritating me for ages that it isn.t possible to
straightforwardly get the network address(es) of the machine
you.re running on from a Python program.
WWW: http://alastairs-place.net/netifaces/

View file

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%