packages/lang/python/python3-speedtest-cli/Makefile
Jeffery To 2210c4a60d python-packages: Clean up Makefiles
This removes:

* Python 3 variants (VARIANT:=python3)

* "for Python3" from package titles

* Package selection condition from package dependencies, e.g.
  +PACKAGE_python3-six:python3-light replaced with +python3-light

* "Default" package information sections, e.g.
  Package/python-six/Default removed and package details merged into
  Package/python3-six

* "(Variant for Python3)" from package descriptions

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-22 16:36:55 +08:00

34 lines
1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python3-speedtest-cli
PKG_VERSION:=2.1.2
PKG_RELEASE:=2
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
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))