From c8bed78fb39e4006f2910c258aaa020a84c556f9 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Sun, 11 Sep 2022 10:26:38 +0200 Subject: [PATCH] python3-iperf3: add iperf3 python wrapper This wrapper gives us an easy to use api for using iperf3 in python. Signed-off-by: Nick Hainke --- lang/python/python3-iperf3/Makefile | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lang/python/python3-iperf3/Makefile diff --git a/lang/python/python3-iperf3/Makefile b/lang/python/python3-iperf3/Makefile new file mode 100644 index 0000000000..3715fceb38 --- /dev/null +++ b/lang/python/python3-iperf3/Makefile @@ -0,0 +1,33 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python3-iperf3 +PKG_VERSION:=0.1.11 +PKG_RELEASE:=1 + +PYPI_NAME:=iperf3 +PKG_HASH:=d50eebbf2dcf445a173f98a82f9c433e0302d3dfb7987e1f21b86b35ef63ce26 + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Nick Hainke + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-iperf3 + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Python wrapper around iperf3. + URL:=https://github.com/thiezn/iperf3-python + DEPENDS:=+python3-light +python3-ctypes +libiperf3 +endef + +define Package/python3-iperf3/description + iperf3 for python provides a wrapper around the iperf3 utility. +endef + +$(eval $(call Py3Package,python3-iperf3)) +$(eval $(call BuildPackage,python3-iperf3)) +$(eval $(call BuildPackage,python3-iperf3-src))