python-astral: Update to 3.2
authorJeffery To <jeffery.to@gmail.com>
Fri, 17 Feb 2023 13:19:17 +0000 (21:19 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 2 Nov 2023 00:14:01 +0000 (01:14 +0100)
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also marks the package as BROKEN (for now) as it requires proper
support for pyproject.toml-based builds.

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

lang/python/python-astral/Makefile

index 79b4857f2974da3a02779c48d12187c99046eb27..c012c7b31afd8eea8bfe7dedce43fb504d1e17fd 100644 (file)
@@ -8,16 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-astral
-PKG_VERSION:=2.2
+PKG_VERSION:=3.2
 PKG_RELEASE:=1
 
 PYPI_NAME:=astral
-PKG_HASH:=e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe
+PKG_HASH:=9b7c3b412e9e69d172cfb24be0e6addcc9f1bd01a28db8bebe66d75ccc533d88
 
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
 
+PKG_BUILD_DEPENDS:=python-poetry-core/host
+
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
@@ -30,7 +32,7 @@ define Package/python3-astral
   URL:=https://github.com/sffjunkie/astral
   DEPENDS+= \
       +python3-light \
-      +python3-pytz
+      @BROKEN
 endef
 
 define Package/python3-astral/description