svn commit: r393158 - in head/net: . py-netif
William Grzybowski
wg at FreeBSD.org
Wed Jul 29 13:07:45 UTC 2015
Author: wg
Date: Wed Jul 29 13:07:42 2015
New Revision: 393158
URL: https://svnweb.freebsd.org/changeset/ports/393158
Log:
net/py-netif: Python network configuration library for FreeBSD
WWW: https://github.com/freenas/py-netif
Added:
head/net/py-netif/
head/net/py-netif/Makefile (contents, props changed)
head/net/py-netif/distinfo (contents, props changed)
head/net/py-netif/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Wed Jul 29 13:01:15 2015 (r393157)
+++ head/net/Makefile Wed Jul 29 13:07:42 2015 (r393158)
@@ -930,6 +930,7 @@
SUBDIR += py-msrplib
SUBDIR += py-ndg_httpsclient
SUBDIR += py-netaddr
+ SUBDIR += py-netif
SUBDIR += py-netifaces
SUBDIR += py-netlib
SUBDIR += py-netstring
Added: head/net/py-netif/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-netif/Makefile Wed Jul 29 13:07:42 2015 (r393158)
@@ -0,0 +1,34 @@
+# Created by: William Grzybowski <wg at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= netif
+PORTVERSION= 1.0
+CATEGORIES= net python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wg at FreeBSD.org
+COMMENT= Python network configuration library for FreeBSD
+
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= cython>0:${PORTSDIR}/lang/cython
+
+USE_GITHUB= yes
+GH_ACCOUNT= freenas
+GH_PROJECT= py-netif
+GH_TAGNAME= 87ed51c
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
+.endif
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000
+IGNORE= This module requires at least FreeBSD 10
+.endif
+
+.include <bsd.port.post.mk>
Added: head/net/py-netif/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-netif/distinfo Wed Jul 29 13:07:42 2015 (r393158)
@@ -0,0 +1,2 @@
+SHA256 (freenas-py-netif-1.0-87ed51c_GH0.tar.gz) = 62a3a5d8b8ead84727a97a6d9180a7af5e96460e04814e11730a1a5c6f38a5a7
+SIZE (freenas-py-netif-1.0-87ed51c_GH0.tar.gz) = 15743
Added: head/net/py-netif/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-netif/pkg-descr Wed Jul 29 13:07:42 2015 (r393158)
@@ -0,0 +1,3 @@
+Python network configuration library for FreeBSD.
+
+WWW: https://github.com/freenas/py-netif
More information about the svn-ports-all
mailing list