Skip to content

Commit

Permalink
net/py-pyroute2.ndb: Add py-pyroute2.ndb 0.6.4
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sunpoet committed Jun 20, 2021
1 parent ce3df07 commit 7942185
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/Makefile
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions net/py-pyroute2.ndb/Makefile
@@ -0,0 +1,24 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= pyroute2.ndb
PORTVERSION= 0.6.4
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@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>
3 changes: 3 additions & 0 deletions 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
8 changes: 8 additions & 0 deletions 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

0 comments on commit 7942185

Please sign in to comment.