BSD Ports

devel/py-setuptools-git-versioning 3.1.0 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c4352a2b2d
License
MIT
Categories
devel, python
Package size
34.5 KiB, 144.6 KiB installed

Description

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

Install

Binary package:

pkg install py312-setuptools-git-versioning

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-setuptools-git-versioning>0:devel/py-setuptools-git-versioning

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.03.1.0-2.0.03.1.0
FreeBSD:14:quarterly3.1.03.1.0n/a2.0.03.1.0
FreeBSD:15:latest3.1.03.1.0n/a2.0.02.0.0
FreeBSD:15:quarterly3.1.03.1.0n/an/an/a
FreeBSD:16:latest3.1.03.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 13

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
setuptools_git_versioning-3.1.0.tar.gz17418612dfcf184addac9e1c2216f4f229724b2390e5bf613fb925ae80b84f2529172
Master sites 2
  • PYPI
  • https://github.com/dolfinus/setuptools-git-versioning/releases/download/v3.1.0/

Commit history 1

DateCommitCreditsLog message
c4352a2b2d Po-Chuan Hsieh devel/py-setuptools-git-versioning: Update to 3.1.0
Changes: https://github.com/dolfinus/setuptools-git-versioning/releases