Merge pull request #11097 from jempatel/python3-speedtest-cli

python3-speedtest-cli: a new package
This commit is contained in:
Rosen Penev 2020-01-26 14:47:25 -08:00 committed by GitHub
commit 934886fff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <jem.patel@gmail.com>
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))