forked from Lainports/freebsd-ports
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:
parent
8a959dcddb
commit
546d58321e
5 changed files with 33 additions and 0 deletions
|
|
@ -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
21
net/py-netifaces/Makefile
Normal 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>
|
||||
3
net/py-netifaces/distinfo
Normal file
3
net/py-netifaces/distinfo
Normal 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
|
||||
7
net/py-netifaces/pkg-descr
Normal file
7
net/py-netifaces/pkg-descr
Normal 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/
|
||||
1
net/py-netifaces/pkg-plist
Normal file
1
net/py-netifaces/pkg-plist
Normal file
|
|
@ -0,0 +1 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
Loading…
Add table
Reference in a new issue