BSD Ports

devel/py-setuptools-git-versioning 3.1.0 NetBSD

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

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Port added
Last update
Commit
9bc9046961
License
mit
Categories
devel, python
Package size
35.0 KiB, 157.4 KiB installed

Description

Use git repo data (latest tag, current commit hash, etc) for building a version number according to 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
NetBSDdevel/py-setuptools-git-versioning3.1.0
FreeBSDdevel/py-setuptools-git-versioning3.1.0
OpenBSDdevel/py-setuptools-git-versioning3.2.0
DragonFlydevel/py-setuptools-git-versioning2.0.0

Install

Binary package:

pkgin install py311-setuptools-git-versioning

From pkgsrc:

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

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-setuptools-git-versioning-3.1.0, py313-setuptools-git-versioning-3.1.0, py314-setuptools-git-versioning-3.1.0

Commit history 3

DateCommitCreditsLog message
9bc9046961 adam py-setuptools-git-versioning: forget Python 3.10
7a877f50fe adam py-setuptools-git-versioning: updated to 3.2.0
3.2.0 Features Added support for dynamic-metadata 0.4+ through the setuptools_git_versioning.dynamic_metadata provider. This enables automatic versioning with scikit-build-core 1.0+ and other compatible backends. Added new prefer_tag: bool = False option for version_file. Deprecation Deprecated the setuptools_git_versioning.scikit_metadata provider. Migrate to [[tool.dynamic-metadata]] with provider = "setuptools_git_versioning.dynamic_metadata" on scikit-build-core 1.0+ or another compatible backend.
6921b21bcb adam py-setuptools-git-versioning: added version 3.1.0
Use git repo data (latest tag, current commit hash, etc) for building a version number according to 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