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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-setuptools-git-versioning | 3.1.0 |
| OpenBSD | devel/py-setuptools-git-versioning | 3.2.0 |
| NetBSD | devel/py-setuptools-git-versioning | 3.1.0 |
| DragonFly | devel/py-setuptools-git-versioning | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.1.0 | 3.1.0 | - | 2.0.0 | 3.1.0 |
| FreeBSD:14:quarterly | 3.1.0 | 3.1.0 | n/a | 2.0.0 | 3.1.0 |
| FreeBSD:15:latest | 3.1.0 | 3.1.0 | n/a | 2.0.0 | 2.0.0 |
| FreeBSD:15:quarterly | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
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
| File | Size | SHA256 |
|---|---|---|
| setuptools_git_versioning-3.1.0.tar.gz | 17418 | 612dfcf184addac9e1c2216f4f229724b2390e5bf613fb925ae80b84f2529172 |
Master sites 2
- PYPI
- https://github.com/dolfinus/setuptools-git-versioning/releases/download/v3.1.0/