devel/py-hatch-regex-commit: Add py-hatch-regex-commit 0.0.3

hatch-regex-commit provides a plugin for Hatch that automatically creates a Git
commit and tag after version bumping.
This commit is contained in:
Po-Chuan Hsieh 2024-11-22 14:21:32 +08:00
parent dd1496c651
commit b5800fe2c8
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 38 additions and 0 deletions

View file

@ -4963,6 +4963,7 @@
SUBDIR += py-hatch-jupyter-builder SUBDIR += py-hatch-jupyter-builder
SUBDIR += py-hatch-mypyc SUBDIR += py-hatch-mypyc
SUBDIR += py-hatch-nodejs-version SUBDIR += py-hatch-nodejs-version
SUBDIR += py-hatch-regex-commit
SUBDIR += py-hatch-requirements-txt SUBDIR += py-hatch-requirements-txt
SUBDIR += py-hatch-semver SUBDIR += py-hatch-semver
SUBDIR += py-hatch-vcs SUBDIR += py-hatch-vcs

View file

@ -0,0 +1,23 @@
PORTNAME= hatch-regex-commit
PORTVERSION= 0.0.3
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= hatch_regex_commit-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Hatch plugin to create a commit and tag when bumping version
WWW= https://pypi.org/project/hatch-regex-commit/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1732239500
SHA256 (hatch_regex_commit-0.0.3.tar.gz) = fa6e4b221dd8d667901c86e6357716580d278c5bba6c9343e4768c1aeb0e9b38
SIZE (hatch_regex_commit-0.0.3.tar.gz) = 6288

View file

@ -0,0 +1,9 @@
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["hatchling", "hatch-regex-commit"]
+requires = ["hatchling"]
build-backend = "hatchling.build"
[project]

View file

@ -0,0 +1,2 @@
hatch-regex-commit provides a plugin for Hatch that automatically creates a Git
commit and tag after version bumping.