diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-06-20 20:44:24 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-06-20 20:44:24 +0000 |
commit | 78c72c5e8cfc25e0ee4760d3ef8040157c44e5db (patch) | |
tree | 63cab93f11a52dba47503b0f3f3f3750bf5ce969 | |
parent | 89717eb68023a38760ac234bef034b6a4a70dffd (diff) | |
download | ports-78c72c5e8cfc25e0ee4760d3ef8040157c44e5db.tar.gz ports-78c72c5e8cfc25e0ee4760d3ef8040157c44e5db.zip |
net/py-pyroute2.nslink: Add py-pyroute2.nslink 0.6.4
PyRoute2 is a pure Python netlink library.
This module provides NetNS, NSPopen and RemoteSocket classes.
WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.nslink
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-pyroute2.nslink/Makefile | 24 | ||||
-rw-r--r-- | net/py-pyroute2.nslink/distinfo | 3 | ||||
-rw-r--r-- | net/py-pyroute2.nslink/pkg-descr | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 50b858b12117..c6340b5ca8f2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1079,6 +1079,7 @@ SUBDIR += py-pyroute2.minimal SUBDIR += py-pyroute2.ndb SUBDIR += py-pyroute2.nftables + SUBDIR += py-pyroute2.nslink SUBDIR += py-pysendfile SUBDIR += py-pyshark SUBDIR += py-pysmb diff --git a/net/py-pyroute2.nslink/Makefile b/net/py-pyroute2.nslink/Makefile new file mode 100644 index 000000000000..3d13f03d8551 --- /dev/null +++ b/net/py-pyroute2.nslink/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= pyroute2.nslink +PORTVERSION= 0.6.4 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python Netlink library: NetNS, NSPopen and remote modules + +LICENSE= APACHE20 GPLv2+ +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache.v2 +LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL.v2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyroute2.core>=${PORTVERSION}:net/py-pyroute2.core@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/py-pyroute2.nslink/distinfo b/net/py-pyroute2.nslink/distinfo new file mode 100644 index 000000000000..0def38893a0c --- /dev/null +++ b/net/py-pyroute2.nslink/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624189689 +SHA256 (pyroute2.nslink-0.6.4.tar.gz) = 33e68a9431cb5fa0663d508f3670ee4e20d5fabd8d0b0a6144c7f40276dee447 +SIZE (pyroute2.nslink-0.6.4.tar.gz) = 29576 diff --git a/net/py-pyroute2.nslink/pkg-descr b/net/py-pyroute2.nslink/pkg-descr new file mode 100644 index 000000000000..2888074f27d9 --- /dev/null +++ b/net/py-pyroute2.nslink/pkg-descr @@ -0,0 +1,5 @@ +PyRoute2 is a pure Python netlink library. + +This module provides NetNS, NSPopen and RemoteSocket classes. + +WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.nslink |