python-zeroconf: Update to 0.97.0, update list of dependencies
authorJeffery To <jeffery.to@gmail.com>
Mon, 4 Sep 2023 21:33:35 +0000 (05:33 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 11 Sep 2023 10:45:30 +0000 (12:45 +0200)
The package changed to the poetry-core build backend (and also requiring
python-cython/host).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8957d34d09eac268815ba8abc8ec5bcb1cd0f1f4)

lang/python/python-zeroconf/Makefile

index 9b3e220c03829fa4391c101454652894f4f3ba73..eaa7334c4751682bdddcdcaae4087dc4658faa82 100644 (file)
@@ -8,16 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-zeroconf
-PKG_VERSION:=0.38.1
+PKG_VERSION:=0.97.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=zeroconf
-PKG_HASH:=10c501b25d8881b656e56c34674d98fe6bc752240a572e74f918bc849c93ba9c
+PKG_HASH:=9a06cd21182250100df6c4f4e9de2a47a0ea927c7d5a0446035bb3dfcc17a647
 
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
-PKG_LICENSE:=Apache-2.0
+PKG_LICENSE:=LGPL-2.1-or-later
 PKG_LICENSE_FILES:=COPYING
 
+PKG_BUILD_DEPENDS:=python-cython/host python-poetry-core/host
+
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
@@ -27,9 +29,10 @@ define Package/python3-zeroconf
   SECTION:=lang
   CATEGORY:=Languages
   TITLE:=Multicast DNS Service Discovery Library
-  URL:=https://github.com/jstasiak/python-zeroconf
+  URL:=https://github.com/python-zeroconf/python-zeroconf
   DEPENDS:= \
          +python3-light \
+         +python3-asyncio \
          +python3-logging \
          +python3-ifaddr
 endef