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
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/py-netifaces | 0.11.0_1 |
| FreeBSD | net/py-netifaces | 0.11.0_1 |
| OpenBSD | net/py-netifaces | 0.11.0p6 |
| NetBSD | net/py-netifaces | 0.11.0nb2 |
| DragonFly | net/py-netifaces | 0.11.0_1 |
| HardenedBSD | net/py-netifaces | 0.11.0_1 |
| GhostBSD | net/py-netifaces | 0.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
| File | Size | SHA256 |
|---|---|---|
| netifaces-0.11.0.tar.gz | 30106 | 043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32 |
Master sites 1
- PYPI