[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:
parent
1932def93e
commit
b488cb8bf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402151
@ -990,6 +990,7 @@
|
||||
SUBDIR += py-xmlrpc
|
||||
SUBDIR += py-zope.proxy
|
||||
SUBDIR += py-zsi
|
||||
SUBDIR += py3-netifaces
|
||||
SUBDIR += pygopherd
|
||||
SUBDIR += pynids
|
||||
SUBDIR += pyrad
|
||||
|
21
net/py3-netifaces/Makefile
Normal file
21
net/py3-netifaces/Makefile
Normal 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>
|
2
net/py3-netifaces/distinfo
Normal file
2
net/py3-netifaces/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (netifaces-0.10.4.tar.gz) = 9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde
|
||||
SIZE (netifaces-0.10.4.tar.gz) = 22969
|
7
net/py3-netifaces/pkg-descr
Normal file
7
net/py3-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: https://pypi.python.org/pypi/netifaces
|
Loading…
Reference in New Issue
Block a user