devel/py-setuptools-git-versioning - The NetBSD Packages Collection

Use git repo data for building a version number according to PEP-440

Use git repo data (latest tag, current commit hash, etc) for building a version
number according to PEP 440.

Features:
* Can be installed & configured through both setup.py and PEP 518's
  pyproject.toml
* Does not require to change source code of the project
* Tag-, file-, and callback-based versioning schemas are supported
* Templates for tag, dev and dirty versions are separated
* Templates support a lot of substitutions including git and environment
  information
* Well-documented

Build dependencies

devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/py-packaging devel/py-setuptools lang/python313 lang/python313

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.