diff options
author | wg <wg@FreeBSD.org> | 2015-07-29 21:07:42 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2015-07-29 21:07:42 +0800 |
commit | 82d9d9f26623f570b21e413d5758726065d3d432 (patch) | |
tree | fb6f691c857e65a1cb0c186cc9a2d9e0ce529ba1 | |
parent | 9bc2b6995b5c82e900d3a22881cce9c24395dfb8 (diff) | |
download | freebsd-ports-gnome-82d9d9f26623f570b21e413d5758726065d3d432.tar.gz freebsd-ports-gnome-82d9d9f26623f570b21e413d5758726065d3d432.tar.zst freebsd-ports-gnome-82d9d9f26623f570b21e413d5758726065d3d432.zip |
net/py-netif: Python network configuration library for FreeBSD
WWW: https://github.com/freenas/py-netif
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-netif/Makefile | 34 | ||||
-rw-r--r-- | net/py-netif/distinfo | 2 | ||||
-rw-r--r-- | net/py-netif/pkg-descr | 3 |
4 files changed, 40 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index f01e1d3de747..05062f5ba873 100644 --- a/net/Makefile +++ b/net/Makefile @@ -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 diff --git a/net/py-netif/Makefile b/net/py-netif/Makefile new file mode 100644 index 000000000000..44fa08a0979b --- /dev/null +++ b/net/py-netif/Makefile @@ -0,0 +1,34 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= netif +PORTVERSION= 1.0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@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> diff --git a/net/py-netif/distinfo b/net/py-netif/distinfo new file mode 100644 index 000000000000..5accf346f017 --- /dev/null +++ b/net/py-netif/distinfo @@ -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 diff --git a/net/py-netif/pkg-descr b/net/py-netif/pkg-descr new file mode 100644 index 000000000000..6fe5ef8ee441 --- /dev/null +++ b/net/py-netif/pkg-descr @@ -0,0 +1,3 @@ +Python network configuration library for FreeBSD. + +WWW: https://github.com/freenas/py-netif |