From 4d9be5023e610e83ae0414ec0988f1f4337cdab4 Mon Sep 17 00:00:00 2001 From: bofh Date: Sat, 21 Nov 2015 12:10:07 +0000 Subject: [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 --- net/Makefile | 1 + net/py3-netifaces/Makefile | 21 +++++++++++++++++++++ net/py3-netifaces/distinfo | 2 ++ net/py3-netifaces/pkg-descr | 7 +++++++ 4 files changed, 31 insertions(+) create mode 100644 net/py3-netifaces/Makefile create mode 100644 net/py3-netifaces/distinfo create mode 100644 net/py3-netifaces/pkg-descr (limited to 'net') 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 +# $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 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 -- cgit