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 + +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 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