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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-setuptools-git-versioning | 3.2.0 |
| FreeBSD | devel/py-setuptools-git-versioning | 3.1.0 |
| NetBSD | devel/py-setuptools-git-versioning | 3.1.0 |
| DragonFly | devel/py-setuptools-git-versioning | 2.0.0 |
| HardenedBSD | devel/py-setuptools-git-versioning | 3.1.0 |
| GhostBSD | devel/py-setuptools-git-versioning | 2.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