git: 89717eb68023 - main - net/py-pyroute2.nftables: Add py-pyroute2.nftables 0.6.4

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jun 20 20:48:14 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89717eb68023a38760ac234bef034b6a4a70dffd

commit 89717eb68023a38760ac234bef034b6a4a70dffd
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 20:44:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 20:44:14 +0000

    net/py-pyroute2.nftables: Add py-pyroute2.nftables 0.6.4
    
    PyRoute2 is a pure Python netlink library.
    
    This module provides very basic nftables API.
    
    WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.nftables
---
 net/Makefile                       |  1 +
 net/py-pyroute2.nftables/Makefile  | 24 ++++++++++++++++++++++++
 net/py-pyroute2.nftables/distinfo  |  3 +++
 net/py-pyroute2.nftables/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 6b3430b535ee..50b858b12117 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1078,6 +1078,7 @@
     SUBDIR += py-pyroute2.ipset
     SUBDIR += py-pyroute2.minimal
     SUBDIR += py-pyroute2.ndb
+    SUBDIR += py-pyroute2.nftables
     SUBDIR += py-pysendfile
     SUBDIR += py-pyshark
     SUBDIR += py-pysmb
diff --git a/net/py-pyroute2.nftables/Makefile b/net/py-pyroute2.nftables/Makefile
new file mode 100644
index 000000000000..4d0e080ca5ad
--- /dev/null
+++ b/net/py-pyroute2.nftables/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME=	pyroute2.nftables
+PORTVERSION=	0.6.4
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Python Netlink library: nftables
+
+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.nftables/distinfo b/net/py-pyroute2.nftables/distinfo
new file mode 100644
index 000000000000..9d09529ea93c
--- /dev/null
+++ b/net/py-pyroute2.nftables/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189687
+SHA256 (pyroute2.nftables-0.6.4.tar.gz) = c176ffeee5815418dc462904d420c2eebb9cb1f9361c5d9925d34583e0494856
+SIZE (pyroute2.nftables-0.6.4.tar.gz) = 26072
diff --git a/net/py-pyroute2.nftables/pkg-descr b/net/py-pyroute2.nftables/pkg-descr
new file mode 100644
index 000000000000..03da1ce86402
--- /dev/null
+++ b/net/py-pyroute2.nftables/pkg-descr
@@ -0,0 +1,5 @@
+PyRoute2 is a pure Python netlink library.
+
+This module provides very basic nftables API.
+
+WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.nftables


More information about the dev-commits-ports-main mailing list