70.11. python3-incremental-24.11.0
Version numbering for Python projects, with the setuptools and hatchling plugins that read it
24.11.0-1 · MIT · 0.1 SBU · 205.2 KiB, 26 files · 40_lang, 158 of 186 · ports/core/python/python3-incremental
Homepage: https://github.com/twisted/incremental
Incremental is the Twisted project’s version library: a Version object that formats CalVer and release-candidate numbers, the incremental command that writes a project’s _version.py, and plugins that hand the version to setuptools and to hatchling. It is on the python shelf because it is build tooling: python3-twisted names it as the source of its version ([tool.hatch.version] source = "incremental"), and hatchling loads the plugin through the hatch entry point.
Depends on: python3, python3-pip, python3-hatchling, python3-packaging.
Required by (1): python3-twisted.
Sources: python3-incremental-24.11.0.tar.gz (23.4 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-incremental'
build.sh:
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
Programs: incremental.
Directories: /usr/lib/python3.14/site-packages/incremental, /usr/lib/python3.14/site-packages/incremental-24.11.0.dist-info, /usr/share/licenses/python3-incremental.
Incremental builds with python3-hatchling and reads its own version from src/incremental/_version.py. At run time it imports python3-packaging, which is in depends.