python-incremental: bump to 24.11.0
authorAlexandru Ardelean <redacted>
Fri, 20 Mar 2026 16:21:13 +0000 (16:21 +0000)
committerAlexandru Ardelean <redacted>
Sat, 21 Mar 2026 05:46:01 +0000 (07:46 +0200)
Changelog since 24.7.2:
- Switch build system from wheel to hatchling
- Switch runtime dependency from setuptools/pkg-resources to packaging
- Add CLI script (pipx run incremental)
- Add Python 3.13 and 3.14 support; drop Python 3.8 support
- Drop Click dependency from CLI

Update HOST_BUILD_DEPENDS to use python-hatchling/host instead of
python-wheel/host, and replace +python3-pkg-resources dependency with
+python3-packaging in DEPENDS.

Add test.sh.

Full changelog:
https://github.com/twisted/incremental/releases

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-incremental/Makefile
lang/python/python-incremental/test.sh [new file with mode: 0644]

index 9c1c005d7c4934fe01f9a50d4592b384b1e356a1..2e941876d0d0a4110c7db6a937ef0b755d691e2a 100644 (file)
@@ -8,17 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-incremental
-PKG_VERSION:=24.7.2
-PKG_RELEASE:=2
+PKG_VERSION:=24.11.0
+PKG_RELEASE:=1
 
 PYPI_NAME:=incremental
-PKG_HASH:=fb4f1d47ee60efe87d4f6f0ebb5f70b9760db2b2574c59c8e8912be4ebd464c9
+PKG_HASH:=87d3480dbb083c1d736222511a8cf380012a8176c2456d01ef483242abbbcf8c
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 
-HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host
+HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-hatchling/host
+PKG_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-hatchling/host
 
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
@@ -32,7 +33,7 @@ define Package/python3-incremental
   SUBMENU:=Python
   TITLE:=Versions your Python projects
   URL:=https://github.com/twisted/incremental
-  DEPENDS:=+python3-light +python3-pkg-resources
+  DEPENDS:=+python3-light +python3-packaging
 endef
 
 define Package/python3-incremental/description
diff --git a/lang/python/python-incremental/test.sh b/lang/python/python-incremental/test.sh
new file mode 100644 (file)
index 0000000..1b13e01
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" = python3-incremental ] || exit 0
+
+python3 -c 'import incremental'
git clone https://git.99rst.org/PROJECT