You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-netdisco
  9. PKG_VERSION:=2.6.0
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=netdisco
  12. PKG_HASH:=2b3aca14a1807712a053f11fd80dc251dd821ee4899aefece515287981817762
  13. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  14. PKG_LICENSE:=Apache-2.0
  15. PKG_LICENSE_FILES:=LICENSE.md
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-netdisco
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Discover devices on your local network
  24. URL:=https://github.com/home-assistant/netdisco
  25. DEPENDS:= \
  26. +python3-light \
  27. +python3-requests \
  28. +python3-zeroconf
  29. endef
  30. define Package/python3-netdisco/description
  31. NetDisco is a Python 3 library to discover local devices and services.
  32. It allows to scan on demand or offer a service that will scan the network in the background in a set interval.
  33. endef
  34. $(eval $(call Py3Package,python3-netdisco))
  35. $(eval $(call BuildPackage,python3-netdisco))
  36. $(eval $(call BuildPackage,python3-netdisco-src))