python3-flent: add flent package
authorNick Hainke <[email protected]>
Tue, 13 Sep 2022 10:00:51 +0000 (12:00 +0200)
committerRosen Penev <[email protected]>
Wed, 14 Sep 2022 09:36:07 +0000 (02:36 -0700)
As described on GitHub page [0]:
  Flent is a Python wrapper to run multiple simultaneous
  netperf/iperf/ping instances and aggregate the results.

[0] - https://github.com/tohojo/flent

Signed-off-by: Nick Hainke <[email protected]>
lang/python/python3-flent/Makefile [new file with mode: 0644]

diff --git a/lang/python/python3-flent/Makefile b/lang/python/python3-flent/Makefile
new file mode 100644 (file)
index 0000000..80433c5
--- /dev/null
@@ -0,0 +1,44 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python3-flent
+PKG_VERSION:=2.0.1
+PKG_RELEASE:=$(AUTORELEASE)
+
+PYPI_NAME:=flent
+PKG_HASH:=300a09938dc2b4a0463c9144626f25e0bd736fd47806a9444719fa024d671796
+
+PKG_MAINTAINER:=Nick Hainke <[email protected]>
+PKG_LICENSE:=GPL-3.0-only
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-flent
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=The FLExible Network Tester
+  URL:=https://github.com/tohojo/flent
+  DEPENDS:= \
+    +python3-light \
+    +python3-email \
+    +python3-urllib \
+    +python3-uuid \
+    +python3-logging \
+    +python3-xml \
+    +python3-decimal \
+    +python3-distutils \
+    +netperf \
+    +fping
+endef
+
+define Package/python3-flent/description
+  Flent is a Python wrapper to run multiple simultaneous
+  netperf/iperf/ping instances and aggregate the results.
+endef
+
+$(eval $(call Py3Package,python3-flent))
+$(eval $(call BuildPackage,python3-flent))
+$(eval $(call BuildPackage,python3-flent-src))