svn commit: r491567 - in head/net: . py-ifaddr
John Hixson
jhixson at FreeBSD.org
Tue Jan 29 14:52:09 UTC 2019
Author: jhixson
Date: Tue Jan 29 14:52:08 2019
New Revision: 491567
URL: https://svnweb.freebsd.org/changeset/ports/491567
Log:
[New port] net/py-ifaddr: Python library to enumerate all network interfaces
Approved by: araujo (mentor), miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19013
Added:
head/net/py-ifaddr/
head/net/py-ifaddr/Makefile (contents, props changed)
head/net/py-ifaddr/distinfo (contents, props changed)
head/net/py-ifaddr/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Tue Jan 29 14:44:12 2019 (r491566)
+++ head/net/Makefile Tue Jan 29 14:52:08 2019 (r491567)
@@ -1036,6 +1036,7 @@
SUBDIR += py-haproxy-log-analysis
SUBDIR += py-haproxyctl
SUBDIR += py-httpstat
+ SUBDIR += py-ifaddr
SUBDIR += py-impacket
SUBDIR += py-ipaddress
SUBDIR += py-iplib
Added: head/net/py-ifaddr/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-ifaddr/Makefile Tue Jan 29 14:52:08 2019 (r491567)
@@ -0,0 +1,27 @@
+# Created by: John Hixson<jhixson at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ifaddr
+PORTVERSION= 0.1.6
+CATEGORIES= net python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jhixson at FreeBSD.org
+COMMENT= Python Library to enumerate all network interfaces
+
+LICENSE= MIT
+
+USES= python:2.7+
+
+USE_PYTHON= autoplist distutils
+
+USE_GITHUB= yes
+GH_ACCOUNT= pydron
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_MAJOR_VER} < 3
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress
+.endif
+
+.include <bsd.port.post.mk>
Added: head/net/py-ifaddr/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-ifaddr/distinfo Tue Jan 29 14:52:08 2019 (r491567)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548734875
+SHA256 (pydron-ifaddr-0.1.6_GH0.tar.gz) = fb42188de577aa3acf14b06e9fcd770e755c7ced137db49191411956b75786ec
+SIZE (pydron-ifaddr-0.1.6_GH0.tar.gz) = 10157
Added: head/net/py-ifaddr/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-ifaddr/pkg-descr Tue Jan 29 14:52:08 2019 (r491567)
@@ -0,0 +1,4 @@
+ifaddr is a small Python library that allows you to find all the IP
+addresses of the computer.
+
+WWW: https://github.com/pydron/ifaddr
More information about the svn-ports-head
mailing list