diff options
author | bofh <bofh@FreeBSD.org> | 2015-11-21 20:10:07 +0800 |
---|---|---|
committer | bofh <bofh@FreeBSD.org> | 2015-11-21 20:10:07 +0800 |
commit | 4d9be5023e610e83ae0414ec0988f1f4337cdab4 (patch) | |
tree | dfc2bb1a64e13064f2675df5c77a61d168b4b5a3 /net | |
parent | ae158078482a97384c81ae8c560d1f83f830c132 (diff) | |
download | freebsd-ports-graphics-4d9be5023e610e83ae0414ec0988f1f4337cdab4.tar.gz freebsd-ports-graphics-4d9be5023e610e83ae0414ec0988f1f4337cdab4.tar.zst freebsd-ports-graphics-4d9be5023e610e83ae0414ec0988f1f4337cdab4.zip |
[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
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py3-netifaces/Makefile | 21 | ||||
-rw-r--r-- | net/py3-netifaces/distinfo | 2 | ||||
-rw-r--r-- | net/py3-netifaces/pkg-descr | 7 |
4 files changed, 31 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index d6cd613bfea..740aad9fbb0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -990,6 +990,7 @@ SUBDIR += py-xmlrpc SUBDIR += py-zope.proxy SUBDIR += py-zsi + SUBDIR += py3-netifaces SUBDIR += pygopherd SUBDIR += pynids SUBDIR += pyrad diff --git a/net/py3-netifaces/Makefile b/net/py3-netifaces/Makefile new file mode 100644 index 00000000000..a5346719da3 --- /dev/null +++ b/net/py3-netifaces/Makefile @@ -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> diff --git a/net/py3-netifaces/distinfo b/net/py3-netifaces/distinfo new file mode 100644 index 00000000000..3941fb46cf3 --- /dev/null +++ b/net/py3-netifaces/distinfo @@ -0,0 +1,2 @@ +SHA256 (netifaces-0.10.4.tar.gz) = 9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde +SIZE (netifaces-0.10.4.tar.gz) = 22969 diff --git a/net/py3-netifaces/pkg-descr b/net/py3-netifaces/pkg-descr new file mode 100644 index 00000000000..198cf3a2937 --- /dev/null +++ b/net/py3-netifaces/pkg-descr @@ -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 |