Date: Sun, 20 Jun 2021 20:48:11 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ce3df07fb392 - main - net/py-pyroute2.minimal: Add py-pyroute2.minimal 0.6.4 Message-ID: <202106202048.15KKmB7k041861@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce3df07fb392cb28ff97e2fd30af9e5835b45006 commit ce3df07fb392cb28ff97e2fd30af9e5835b45006 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-06-20 20:43:55 +0000 Commit: Po-Chuan Hsieh <sunpoet@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@FreeBSD.org> + +PORTNAME= pyroute2.minimal +PORTVERSION= 0.6.4 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106202048.15KKmB7k041861>