python-awesomeversion: Update to 23.5.0, update dependencies
authorJeffery To <jeffery.to@gmail.com>
Thu, 20 Jul 2023 08:46:27 +0000 (16:46 +0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 26 Jul 2023 05:08:36 +0000 (22:08 -0700)
The package changed to the poetry-core build backend.

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

lang/python/python-awesomeversion/Makefile

index 0a7dd9de74e6ca33041304fde1a51dbb55d6f12c..ef60418e44927e9d20185a922610b21f838aa385 100644 (file)
@@ -8,16 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-awesomeversion
-PKG_VERSION:=21.8.1
+PKG_VERSION:=23.5.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=awesomeversion
-PKG_HASH:=a72f3fff12df257e30f5e25a8550fc4da62e7591d5fdb70714f5c96827c37645
+PKG_HASH:=a505558316010d2d10d487226f79c1157204af00fa462fdcf948e347011dd491
 
 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENCE.md
 
+PKG_BUILD_DEPENDS:=python-poetry-core/host
+
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
@@ -26,15 +28,14 @@ define Package/python3-awesomeversion
   SECTION:=lang
   CATEGORY:=Languages
   SUBMENU:=Python
-  TITLE:=AwesomeVersion
+  TITLE:=Make anything a version object
   URL:=https://github.com/ludeeus/awesomeversion
-  DEPENDS:= \
-      +python3-light \
-      +python3-logging
+  DEPENDS:=+python3-light
 endef
 
 define Package/python3-awesomeversion/description
-  Make anything a version object, and compare against a vast selection of other version formats.
+Make anything a version object, and compare against a vast selection of
+other version formats.
 endef
 
 $(eval $(call Py3Package,python3-awesomeversion))