BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-setuptools-git-versioning3.2.0 behind since 2026-11-13no data-[email protected]2026-11-20
FreeBSDdevel/py-setuptools-git-versioning3.2.2 newestnone known-[email protected]2026-11-15
OpenBSDdevel/py-setuptools-git-versioning3.2.0 behind since 2026-11-13no data-The OpenBSD ports mailing-list <[email protected]>2026-10-11
NetBSDdevel/py-setuptools-git-versioning3.1.0 behind since 2026-10-06none known-[email protected]2026-11-16
DragonFlydevel/py-setuptools-git-versioning3.1.0 behind since 2026-10-06none known-[email protected]-
HardenedBSDdevel/py-setuptools-git-versioning3.1.0 behind since 2026-10-06no data-[email protected]-
GhostBSDdevel/py-setuptools-git-versioning3.1.0 behind since 2026-10-06no data-[email protected]-

Compare across BSDs

Version history 1

  1. 3.2.0 28d55db256

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

Runtime 3

Build dependencies 3
Run dependencies 3
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
setuptools_git_versioning-3.2.0.tar.gz1804927aa1ad0409b632ee49947ea592cc27e16fbb2a1605cc22efeb7c353fd790b31
Master sites 2
  • PYPI
  • https://github.com/dolfinus/setuptools-git-versioning/releases/download/v3.2.0/

Commit history 1

DateCommitCreditsLog 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]>