BSD Ports

net/py-netifaces 0.11.0_1 MidnightBSD

Getting network addresses from Python 3

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net, python

Description

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.

In the other systems

SystemPortVersion
MidnightBSDnet/py-netifaces0.11.0_1
FreeBSDnet/py-netifaces0.11.0_1
OpenBSDnet/py-netifaces0.11.0p6
NetBSDnet/py-netifaces0.11.0nb2
DragonFlynet/py-netifaces0.11.0_1
HardenedBSDnet/py-netifaces0.11.0_1
GhostBSDnet/py-netifaces0.11.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}netifaces

From mports:

cd /usr/mports/net/py-netifaces && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces

Dependencies

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
netifaces-0.11.0.tar.gz30106043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32
Master sites 1
  • PYPI