From 6f8912099f907745924bd8780a803b623a3f8e50 Mon Sep 17 00:00:00 2001 From: Jaymin Patel Date: Thu, 23 Jan 2020 02:20:58 +0530 Subject: [PATCH] python3-speedtest-cli: a new package Signed-off-by: Jaymin Patel --- lang/python/python3-speedtest-cli/Makefile | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lang/python/python3-speedtest-cli/Makefile diff --git a/lang/python/python3-speedtest-cli/Makefile b/lang/python/python3-speedtest-cli/Makefile new file mode 100644 index 000000000..ec5311647 --- /dev/null +++ b/lang/python/python3-speedtest-cli/Makefile @@ -0,0 +1,35 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python3-speedtest-cli +PKG_VERSION:=2.1.2 +PKG_RELEASE:=1 + +PYPI_NAME:=speedtest-cli +PKG_HASH:=cf1d386222f94c324e3125ba9a0d187e46d4a13dca08c023bdb9a23096be2e54 + +PKG_MAINTAINER:=Jaymin Patel +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-speedtest-cli + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Command line interface for testing internet bandwidth using speedtest.net + URL:=https://github.com/sivel/speedtest-cli + DEPENDS:=+python3-light +python3-pkg-resources +python3-xml +python3-email \ + +python3-urllib +python3-codecs +python3-openssl + VARIANT:=python3 +endef + +define Package/python3-speedtest-cli/description + Command line interface for testing internet bandwidth using speedtest.net +endef + +$(eval $(call Py3Package,python3-speedtest-cli)) +$(eval $(call BuildPackage,python3-speedtest-cli)) +$(eval $(call BuildPackage,python3-speedtest-cli-src))