git: ce3df07fb392 - main - net/py-pyroute2.minimal: Add py-pyroute2.minimal 0.6.4
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 20 20:48:12 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ce3df07fb392cb28ff97e2fd30af9e5835b45006
commit ce3df07fb392cb28ff97e2fd30af9e5835b45006
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 20:43:55 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 20:43:55 +0000
net/py-pyroute2.minimal: Add py-pyroute2.minimal 0.6.4
PyRoute2 is a pure Python netlink library.
This module provides minimal subset of pyroute2 modules. Only netlink parser,
basic netns management and some netlink protocols implementations.
WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.minimal
---
net/Makefile | 1 +
net/py-pyroute2.minimal/Makefile | 30 ++++++++++++++++++++++++++++++
net/py-pyroute2.minimal/distinfo | 3 +++
net/py-pyroute2.minimal/pkg-descr | 6 ++++++
4 files changed, 40 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 28b4785357be..4f2eb9bf93d7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1076,6 +1076,7 @@
SUBDIR += py-pyroute2.core
SUBDIR += py-pyroute2.ethtool
SUBDIR += py-pyroute2.ipset
+ SUBDIR += py-pyroute2.minimal
SUBDIR += py-pysendfile
SUBDIR += py-pyshark
SUBDIR += py-pysmb
diff --git a/net/py-pyroute2.minimal/Makefile b/net/py-pyroute2.minimal/Makefile
new file mode 100644
index 000000000000..540975e2cbf3
--- /dev/null
+++ b/net/py-pyroute2.minimal/Makefile
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= pyroute2.minimal
+PORTVERSION= 0.6.4
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Python Netlink library: minimal installation
+
+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.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/py-pyroute2.minimal/distinfo b/net/py-pyroute2.minimal/distinfo
new file mode 100644
index 000000000000..44680e8d19c3
--- /dev/null
+++ b/net/py-pyroute2.minimal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189683
+SHA256 (pyroute2.minimal-0.6.4.tar.gz) = f15fa3bd5301800ab14b307c0703e6d345b70cae058dc10283c469537ee5bcbe
+SIZE (pyroute2.minimal-0.6.4.tar.gz) = 20962
diff --git a/net/py-pyroute2.minimal/pkg-descr b/net/py-pyroute2.minimal/pkg-descr
new file mode 100644
index 000000000000..3d6b68bf87b5
--- /dev/null
+++ b/net/py-pyroute2.minimal/pkg-descr
@@ -0,0 +1,6 @@
+PyRoute2 is a pure Python netlink library.
+
+This module provides minimal subset of pyroute2 modules. Only netlink parser,
+basic netns management and some netlink protocols implementations.
+
+WWW: https://github.com/svinota/pyroute2/tree/master/pyroute2.minimal
More information about the dev-commits-ports-all
mailing list