BSD Ports

devel/py-setuptools-git-versioning 3.2.0 OpenBSD

use git repo data to build a version number

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
db6afa4569
Categories
devel, lang/python

Description

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

  • 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

SystemPortVersion
OpenBSDdevel/py-setuptools-git-versioning3.2.0
FreeBSDdevel/py-setuptools-git-versioning3.1.0
NetBSDdevel/py-setuptools-git-versioning3.1.0
DragonFlydevel/py-setuptools-git-versioning2.0.0
HardenedBSDdevel/py-setuptools-git-versioning3.1.0
GhostBSDdevel/py-setuptools-git-versioning2.0.0

Install

Binary package:

pkg_add py3-setuptools-git-versioning

From the ports tree:

cd /usr/ports/devel/py-setuptools-git-versioning && make install

Dependencies

Build dependencies 5
Run dependencies 3

Commit history 1

DateCommitCreditsLog message
db6afa4569 sthen update to py3-setuptools-git-versioning-3.2.0