b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2019-2021 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-zeroconf |
| 11 | PKG_VERSION:=0.131.0 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=zeroconf |
| 15 | PKG_HASH:=90c431e99192a044a5e0217afd7ca0ca9824af93190332e6f7baf4da5375f331 |
| 16 | |
| 17 | PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> |
| 18 | PKG_LICENSE:=LGPL-2.1-or-later |
| 19 | PKG_LICENSE_FILES:=COPYING |
| 20 | |
| 21 | PKG_BUILD_DEPENDS:=python-cython/host python-poetry-core/host |
| 22 | |
| 23 | include ../pypi.mk |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | include ../python3-package.mk |
| 26 | |
| 27 | define Package/python3-zeroconf |
| 28 | SUBMENU:=Python |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | TITLE:=Multicast DNS Service Discovery Library |
| 32 | URL:=https://github.com/python-zeroconf/python-zeroconf |
| 33 | DEPENDS:= \ |
| 34 | +python3-light \ |
| 35 | +python3-asyncio \ |
| 36 | +python3-logging \ |
| 37 | +python3-ifaddr |
| 38 | endef |
| 39 | |
| 40 | define Package/python3-zeroconf/description |
| 41 | Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) |
| 42 | endef |
| 43 | |
| 44 | $(eval $(call Py3Package,python3-zeroconf)) |
| 45 | $(eval $(call BuildPackage,python3-zeroconf)) |
| 46 | $(eval $(call BuildPackage,python3-zeroconf-src)) |