aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-20 20:43:26 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-20 20:43:26 +0000
commit580738d09c787d799cf95c50cd33317a34b002cc (patch)
treeb5a42ab48e89f04bcca6dd16906ac940db92f956
parent5560319b8d48bbc97890934a69161771c9dcf744 (diff)
downloadports-580738d09c787d799cf95c50cd33317a34b002cc.tar.gz
ports-580738d09c787d799cf95c50cd33317a34b002cc.zip
net/py-pyroute2.core: Add py-pyroute2.core 0.6.4
PyRoute2 is a pure Python netlink library. This is the core package, it implements the netlink parser and several netlink sockets, including RTNL (IPRoute), WireGuard, MPTCP etc. WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.core
-rw-r--r--net/Makefile1
-rw-r--r--net/py-pyroute2.core/Makefile22
-rw-r--r--net/py-pyroute2.core/distinfo3
-rw-r--r--net/py-pyroute2.core/pkg-descr6
4 files changed, 32 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d20ed3bc3934..9219219bf21a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1073,6 +1073,7 @@
SUBDIR += py-pynsq
SUBDIR += py-pypcap
SUBDIR += py-pyroute2
+ SUBDIR += py-pyroute2.core
SUBDIR += py-pysendfile
SUBDIR += py-pyshark
SUBDIR += py-pysmb
diff --git a/net/py-pyroute2.core/Makefile b/net/py-pyroute2.core/Makefile
new file mode 100644
index 000000000000..19dd4002222e
--- /dev/null
+++ b/net/py-pyroute2.core/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= pyroute2.core
+PORTVERSION= 0.6.4
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python Netlink library: the core
+
+LICENSE= APACHE20 GPLv2+
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache.v2
+LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL.v2
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-pyroute2.core/distinfo b/net/py-pyroute2.core/distinfo
new file mode 100644
index 000000000000..a6d5ab8e9646
--- /dev/null
+++ b/net/py-pyroute2.core/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189677
+SHA256 (pyroute2.core-0.6.4.tar.gz) = 453dee5241e32994fb0ccad4c1a54fc98353fec35690653ccf95617b54e3a5cd
+SIZE (pyroute2.core-0.6.4.tar.gz) = 208533
diff --git a/net/py-pyroute2.core/pkg-descr b/net/py-pyroute2.core/pkg-descr
new file mode 100644
index 000000000000..e0552b149431
--- /dev/null
+++ b/net/py-pyroute2.core/pkg-descr
@@ -0,0 +1,6 @@
+PyRoute2 is a pure Python netlink library.
+
+This is the core package, it implements the netlink parser and several netlink
+sockets, including RTNL (IPRoute), WireGuard, MPTCP etc.
+
+WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.core