BSD Ports

devel/py-setuptools-git-versioning 2.0.0 DragonFly

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
20.9 KiB, 97.6 KiB installed

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

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

Install

Binary package:

pkg install py311-setuptools-git-versioning

From DPorts:

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

Dependencies

Run dependencies 3

No port depends on this one.