summaryrefslogtreecommitdiff
path: root/lang/python/python3-iperf3
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2022-09-11 10:26:38 +0200
committerRosen Penev <rosenp@gmail.com>2022-09-14 02:37:44 -0700
commitc8bed78fb39e4006f2910c258aaa020a84c556f9 (patch)
treea6a9f15ecc4fd9b4a24fe0030031cffcc0130cf1 /lang/python/python3-iperf3
parentae48be8e2157bc7c352b3b6d30c026fafdae4867 (diff)
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 <vincent@systemli.org>
Diffstat (limited to 'lang/python/python3-iperf3')
-rw-r--r--lang/python/python3-iperf3/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/lang/python/python3-iperf3/Makefile b/lang/python/python3-iperf3/Makefile
new file mode 100644
index 000000000..3715fceb3
--- /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 <vincent@systemli.org>
+
+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))