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.

46 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-zeroconf
  9. PKG_VERSION:=0.23.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=zeroconf-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://pypi.python.org/packages/source/z/zeroconf/
  13. PKG_HASH:=e0c333b967c48f8b2e5cc94a1d4d28893023fb06dfd797ee384a94cdd1d0eef5
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/zeroconf-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  16. PKG_LICENSE:=Apache-2.0
  17. PKG_LICENSE_FILES:=COPYING
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-zeroconf
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Multicast DNS Service Discovery Library
  25. URL:=https://github.com/jstasiak/python-zeroconf
  26. DEPENDS:= \
  27. +python3-light \
  28. +python3-logging \
  29. +python3-ifaddr
  30. VARIANT:=python3
  31. endef
  32. define Package/python3-zeroconf/description
  33. Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
  34. endef
  35. $(eval $(call Py3Package,python3-zeroconf))
  36. $(eval $(call BuildPackage,python3-zeroconf))
  37. $(eval $(call BuildPackage,python3-zeroconf-src))