devel/py-setuptools-git-versioning 3.2.0 MidnightBSD
Use git repo data for building a version number according PEP-440
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
28d55db256- License
- mit
- Categories
- devel, python
Description
Use git repo data (latest tag, current commit hash, etc) for building a version number according 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
In the other systems
The newest version among them is 3.2.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-setuptools-git-versioning | 3.2.0 behind since 2026-11-13 | no data | - | [email protected] | 2026-11-20 |
| FreeBSD | devel/py-setuptools-git-versioning | 3.2.2 newest | none known | - | [email protected] | 2026-11-15 |
| OpenBSD | devel/py-setuptools-git-versioning | 3.2.0 behind since 2026-11-13 | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-11 |
| NetBSD | devel/py-setuptools-git-versioning | 3.1.0 behind since 2026-10-06 | none known | - | [email protected] | 2026-11-16 |
| DragonFly | devel/py-setuptools-git-versioning | 3.1.0 behind since 2026-10-06 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-setuptools-git-versioning | 3.1.0 behind since 2026-10-06 | no data | - | [email protected] | - |
| GhostBSD | devel/py-setuptools-git-versioning | 3.1.0 behind since 2026-10-06 | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning
From mports:
cd /usr/mports/devel/py-setuptools-git-versioning && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>0:devel/py-setuptools-git-versioning
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 3
Run dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| setuptools_git_versioning-3.2.0.tar.gz | 18049 | 27aa1ad0409b632ee49947ea592cc27e16fbb2a1605cc22efeb7c353fd790b31 |
Master sites 2
- PYPI
- https://github.com/dolfinus/setuptools-git-versioning/releases/download/v3.2.0/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
28d55db256 |
Lucas Holt | devel/py-setuptools-git-versioning: add versioning plugin Import version 3.2.0 to provide Git-based package version metadata for Python builds.
AI-Assisted-by: Codex (GPT-6) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |