git: d72af7fd3143 - main - devel/py-vcs-versioning: Add py-vcs-versioning 2.2.2

Po-Chuan Hsieh <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d72af7fd3143b909bc8cdbc574e9d73b1c72db1d

commit d72af7fd3143b909bc8cdbc574e9d73b1c72db1d
Author:     Po-Chuan Hsieh <[email protected]>
AuthorDate: 2026-08-19 12:24:28 +0000
Commit:     Po-Chuan Hsieh <[email protected]>
CommitDate: 2026-08-19 12:55:11 +0000

    devel/py-vcs-versioning: Add py-vcs-versioning 2.2.2
    
    vcs-versioning is a standalone library that provides the core VCS version
    extraction and formatting functionality.
    
    It handles version extraction from Git, Mercurial, and Jujutsu repositories,
    version scheme logic, tag parsing, and version formatting. These are universal
    concepts that work across different build systems and integrations.
---
 devel/Makefile                    |  1 +
 devel/py-vcs-versioning/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 devel/py-vcs-versioning/distinfo  |  3 +++
 devel/py-vcs-versioning/pkg-descr |  6 ++++++
 4 files changed, 44 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b172ff2058f8..0c60d3707fee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6449,6 +6449,7 @@
     SUBDIR += py-validators
     SUBDIR += py-validictory
     SUBDIR += py-vcrpy
+    SUBDIR += py-vcs-versioning
     SUBDIR += py-vcver
     SUBDIR += py-vcversioner
     SUBDIR += py-vendy
diff --git a/devel/py-vcs-versioning/Makefile b/devel/py-vcs-versioning/Makefile
new file mode 100644
index 000000000000..8a5772bfbfb2
--- /dev/null
+++ b/devel/py-vcs-versioning/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	vcs-versioning
+PORTVERSION=	2.2.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	vcs_versioning-${PORTVERSION}
+
+MAINTAINER=	[email protected]
+COMMENT=	Blessed package to manage your versions by vcs metadata
+WWW=		https://github.com/pypa/setuptools-scm/tree/main/vcs-versioning \
+		https://github.com/pypa/setuptools-scm
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
+		${PY_TOMLI}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1:devel/py-typing-extensions@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-vcs-versioning/distinfo b/devel/py-vcs-versioning/distinfo
new file mode 100644
index 000000000000..5a2662ddccd3
--- /dev/null
+++ b/devel/py-vcs-versioning/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1784005002
+SHA256 (vcs_versioning-2.2.2.tar.gz) = 4ac4ded78720cdb4d0291ae58ace87e1e9201912e1023f3029c6cce5c9152cfb
+SIZE (vcs_versioning-2.2.2.tar.gz) = 143135
diff --git a/devel/py-vcs-versioning/pkg-descr b/devel/py-vcs-versioning/pkg-descr
new file mode 100644
index 000000000000..a585267b6f34
--- /dev/null
+++ b/devel/py-vcs-versioning/pkg-descr
@@ -0,0 +1,6 @@
+vcs-versioning is a standalone library that provides the core VCS version
+extraction and formatting functionality.
+
+It handles version extraction from Git, Mercurial, and Jujutsu repositories,
+version scheme logic, tag parsing, and version formatting. These are universal
+concepts that work across different build systems and integrations.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.