BSD Ports

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

SystemPortVersion
MidnightBSDdevel/py-versioningit3.3.0_2
FreeBSDdevel/py-versioningit3.3.0_1
NetBSDdevel/py-versioningit3.3.0
DragonFlydevel/py-versioningit3.1.2
HardenedBSDdevel/py-versioningit3.3.0_1
GhostBSDdevel/py-versioningit3.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

Runtime 3

Build dependencies 1
Run dependencies 3

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
versioningit-3.3.0.tar.gz220280b91ad7d73e73d21220e69540f20213f2b729a1f9b35c04e9e137eaf28d2214da
Master sites 1
  • PYPI