[NEW] net/py3-netifaces: Getting network addresses from Python 3

- Python3 specific version for net/py3-netifaces

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: https://pypi.python.org/pypi/netifaces
This commit is contained in:
Muhammad Moinur Rahman 2015-11-21 12:10:07 +00:00
parent 1932def93e
commit b488cb8bf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402151
4 changed files with 31 additions and 0 deletions

View File

@ -990,6 +990,7 @@
SUBDIR += py-xmlrpc
SUBDIR += py-zope.proxy
SUBDIR += py-zsi
SUBDIR += py3-netifaces
SUBDIR += pygopherd
SUBDIR += pynids
SUBDIR += pyrad

View File

@ -0,0 +1,21 @@
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= netifaces
PORTVERSION= 0.10.4
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Getting network addresses from Python 3
LICENSE= MIT
USES= python:3
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/netifaces.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (netifaces-0.10.4.tar.gz) = 9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde
SIZE (netifaces-0.10.4.tar.gz) = 22969

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: https://pypi.python.org/pypi/netifaces