git: 42c316c63166 - main - net/py-pyroute2.ipset: Add py-pyroute2.ipset 0.6.4

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


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42c316c631664380e0a7e20ceeda99eec2c0aa8a

commit 42c316c631664380e0a7e20ceeda99eec2c0aa8a
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 20:43:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 20:43:46 +0000

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

diff --git a/net/Makefile b/net/Makefile
index 8d7cef62056f..28b4785357be 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1075,6 +1075,7 @@
     SUBDIR += py-pyroute2
     SUBDIR += py-pyroute2.core
     SUBDIR += py-pyroute2.ethtool
+    SUBDIR += py-pyroute2.ipset
     SUBDIR += py-pysendfile
     SUBDIR += py-pyshark
     SUBDIR += py-pysmb
diff --git a/net/py-pyroute2.ipset/Makefile b/net/py-pyroute2.ipset/Makefile
new file mode 100644
index 000000000000..b4e11f5293d6
--- /dev/null
+++ b/net/py-pyroute2.ipset/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME=	pyroute2.ipset
+PORTVERSION=	0.6.4
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Python Netlink library: ipset
+
+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>=0: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.ipset/distinfo b/net/py-pyroute2.ipset/distinfo
new file mode 100644
index 000000000000..11e300664980
--- /dev/null
+++ b/net/py-pyroute2.ipset/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189681
+SHA256 (pyroute2.ipset-0.6.4.tar.gz) = 57a694198bf83c68711e812380dbaaa116dde9fb6a8ab3bfa1f3434040024f2f
+SIZE (pyroute2.ipset-0.6.4.tar.gz) = 31194
diff --git a/net/py-pyroute2.ipset/pkg-descr b/net/py-pyroute2.ipset/pkg-descr
new file mode 100644
index 000000000000..913950c30cbb
--- /dev/null
+++ b/net/py-pyroute2.ipset/pkg-descr
@@ -0,0 +1,5 @@
+PyRoute2 is a pure Python netlink library.
+
+This module provides IPSet and WiSet classes.
+
+WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.ipset


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