svn commit: r402151 - in head/net: . py3-netifaces

Muhammad Moinur Rahman bofh at FreeBSD.org
Sat Nov 21 12:10:09 UTC 2015


Author: bofh
Date: Sat Nov 21 12:10:07 2015
New Revision: 402151
URL: https://svnweb.freebsd.org/changeset/ports/402151

Log:
  [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

Added:
  head/net/py3-netifaces/
  head/net/py3-netifaces/Makefile   (contents, props changed)
  head/net/py3-netifaces/distinfo   (contents, props changed)
  head/net/py3-netifaces/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sat Nov 21 12:03:53 2015	(r402150)
+++ head/net/Makefile	Sat Nov 21 12:10:07 2015	(r402151)
@@ -990,6 +990,7 @@
     SUBDIR += py-xmlrpc
     SUBDIR += py-zope.proxy
     SUBDIR += py-zsi
+    SUBDIR += py3-netifaces
     SUBDIR += pygopherd
     SUBDIR += pynids
     SUBDIR += pyrad

Added: head/net/py3-netifaces/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py3-netifaces/Makefile	Sat Nov 21 12:10:07 2015	(r402151)
@@ -0,0 +1,21 @@
+# Created by: Muhammad Moinur Rahman <bofh at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	netifaces
+PORTVERSION=	0.10.4
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh at 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>

Added: head/net/py3-netifaces/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py3-netifaces/distinfo	Sat Nov 21 12:10:07 2015	(r402151)
@@ -0,0 +1,2 @@
+SHA256 (netifaces-0.10.4.tar.gz) = 9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde
+SIZE (netifaces-0.10.4.tar.gz) = 22969

Added: head/net/py3-netifaces/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py3-netifaces/pkg-descr	Sat Nov 21 12:10:07 2015	(r402151)
@@ -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


More information about the svn-ports-all mailing list