git: 78c72c5e8cfc - main - net/py-pyroute2.nslink: Add py-pyroute2.nslink 0.6.4
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 20 20:48:15 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=78c72c5e8cfc25e0ee4760d3ef8040157c44e5db
commit 78c72c5e8cfc25e0ee4760d3ef8040157c44e5db
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 20:44:24 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 20:44:24 +0000
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
---
net/Makefile | 1 +
net/py-pyroute2.nslink/Makefile | 24 ++++++++++++++++++++++++
net/py-pyroute2.nslink/distinfo | 3 +++
net/py-pyroute2.nslink/pkg-descr | 5 +++++
4 files changed, 33 insertions(+)
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 at FreeBSD.org>
+
+PORTNAME= pyroute2.nslink
+PORTVERSION= 0.6.4
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list