devel/py-versioningit 3.1.2 DragonFly
Obtain package version from repo tags
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 66.7 KiB, 395.2 KiB installed
Description
versioningit replaces the need for (and will overwrite) the version keyword to the setup() function, so you should remove any such keyword from your setup.py/setup.cfg to reduce confusion.
[tool.versioningit.format]
# Format used when there have been commits since the most recent tag: distance = "{base_version}.post{distance}+{vcs}{rev}"
# Format used when there are uncommitted changes: dirty = "{base_version}+d{build_date:%25Y%25m%25d}"
# Format used when there are both commits and uncommitted changes: distance-dirty = "{base_version}.post{distance}+{vcs}{rev}.d{build_date:%25Y%25m%25d}"
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-versioningit | 3.1.2 |
| FreeBSD | devel/py-versioningit | 3.3.0_1 |
| NetBSD | devel/py-versioningit | 3.3.0 |
| MidnightBSD | devel/py-versioningit | 3.3.0_2 |
| HardenedBSD | devel/py-versioningit | 3.3.0_1 |
| GhostBSD | devel/py-versioningit | 3.3.0_1 |
Install
Binary package:
pkg install py311-versioningit
From DPorts:
cd /usr/dports/devel/py-versioningit && make install clean
Dependencies
Run dependencies 5
No port depends on this one.