devel/py-versioningit 3.3.0_2 MidnightBSD
Obtain package version from repo tags
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
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:%Y%m%d}"
# Format used when there are both commits and uncommitted changes: distance-dirty = "{base_version}.post{distance}+{vcs}{rev}.d{build_date:%Y%m%d}"
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-versioningit | 3.3.0_2 |
| FreeBSD | devel/py-versioningit | 3.3.0_1 |
| NetBSD | devel/py-versioningit | 3.3.0 |
| DragonFly | devel/py-versioningit | 3.1.2 |
| HardenedBSD | devel/py-versioningit | 3.3.0_1 |
| GhostBSD | devel/py-versioningit | 3.3.0_1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}versioningit
From mports:
cd /usr/mports/devel/py-versioningit && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versioningit>0:devel/py-versioningit
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 3
${PYTHON_PKGNAMEPREFIX}importlib-metadata>3.6: devel/py-importlib-metadata${PYTHON_PKGNAMEPREFIX}packaging>17.1: devel/py-packaginggit>0: devel/git
Build dependencies 1
Run dependencies 3
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| versioningit-3.3.0.tar.gz | 220280 | b91ad7d73e73d21220e69540f20213f2b729a1f9b35c04e9e137eaf28d2214da |
Master sites 1
- PYPI