head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.09.08.09.51.09;	author adam;	state Exp;
branches;
next	;
commitid	5tc4hR03g2lJLNUG;


desc
@@


1.1
log
@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
@
text
@# $NetBSD$

DISTNAME=	setuptools_git_versioning-3.1.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=s/setuptools-git-versioning/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://setuptools-git-versioning.readthedocs.io/
COMMENT=	Use git repo data for building a version number according to PEP-440
LICENSE=	mit

DEPENDS+=	${PYPKGPREFIX}-packaging>=0:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools

USE_LANGUAGES=	# none

PY_RENAME_BINARIES=	setuptools-git-versioning

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+=	${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
.endif

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@
