git: 7942185025f0 - main - net/py-pyroute2.ndb: Add py-pyroute2.ndb 0.6.4
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 20 20:48:13 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7942185025f06bb6f80312b2e3a7f69b43c505a6
commit 7942185025f06bb6f80312b2e3a7f69b43c505a6
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 20:44:05 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 20:44:05 +0000
net/py-pyroute2.ndb: Add py-pyroute2.ndb 0.6.4
PyRoute2 is a pure Python netlink library.
NDB is a high-level network management module. It provides a transactional DB
with multiple sources, from local RTNL source to netns and remote systems. The
DB provides Python API and HTTP RPC (json and plain text), my run as a
standalone service or may be used as a Python module.
WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.ndb
---
net/Makefile | 1 +
net/py-pyroute2.ndb/Makefile | 24 ++++++++++++++++++++++++
net/py-pyroute2.ndb/distinfo | 3 +++
net/py-pyroute2.ndb/pkg-descr | 8 ++++++++
4 files changed, 36 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 4f2eb9bf93d7..6b3430b535ee 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1077,6 +1077,7 @@
SUBDIR += py-pyroute2.ethtool
SUBDIR += py-pyroute2.ipset
SUBDIR += py-pyroute2.minimal
+ SUBDIR += py-pyroute2.ndb
SUBDIR += py-pysendfile
SUBDIR += py-pyshark
SUBDIR += py-pysmb
diff --git a/net/py-pyroute2.ndb/Makefile b/net/py-pyroute2.ndb/Makefile
new file mode 100644
index 000000000000..4f7b9b61b55d
--- /dev/null
+++ b/net/py-pyroute2.ndb/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= pyroute2.ndb
+PORTVERSION= 0.6.4
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Python Netlink library: NDB module
+
+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.ndb/distinfo b/net/py-pyroute2.ndb/distinfo
new file mode 100644
index 000000000000..0687d93a5852
--- /dev/null
+++ b/net/py-pyroute2.ndb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189685
+SHA256 (pyroute2.ndb-0.6.4.tar.gz) = 7693e6327b973034b92d9451b215342e16d86f477d1b4a626fd01e6eacf07760
+SIZE (pyroute2.ndb-0.6.4.tar.gz) = 78746
diff --git a/net/py-pyroute2.ndb/pkg-descr b/net/py-pyroute2.ndb/pkg-descr
new file mode 100644
index 000000000000..2f037c26e412
--- /dev/null
+++ b/net/py-pyroute2.ndb/pkg-descr
@@ -0,0 +1,8 @@
+PyRoute2 is a pure Python netlink library.
+
+NDB is a high-level network management module. It provides a transactional DB
+with multiple sources, from local RTNL source to netns and remote systems. The
+DB provides Python API and HTTP RPC (json and plain text), my run as a
+standalone service or may be used as a Python module.
+
+WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.ndb
More information about the dev-commits-ports-main
mailing list