diff options
author | William Grzybowski <wg@FreeBSD.org> | 2015-07-29 13:07:42 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2015-07-29 13:07:42 +0000 |
commit | fc25fad49cd5b36d1a296e051ed6042962a0a508 (patch) | |
tree | fb6f691c857e65a1cb0c186cc9a2d9e0ce529ba1 /net/py-netif | |
parent | 9de6081fd044e77fa8ca304320aad1888f066262 (diff) | |
download | ports-fc25fad49cd5b36d1a296e051ed6042962a0a508.tar.gz ports-fc25fad49cd5b36d1a296e051ed6042962a0a508.zip |
net/py-netif: Python network configuration library for FreeBSD
Notes
Notes:
svn path=/head/; revision=393158
Diffstat (limited to 'net/py-netif')
-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 |
3 files changed, 39 insertions, 0 deletions
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 |