git: b5800fe2c858 - main - devel/py-hatch-regex-commit: Add py-hatch-regex-commit 0.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Nov 2024 06:28:08 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5800fe2c858996bac9b921c16fcfe1b8286a07d commit b5800fe2c858996bac9b921c16fcfe1b8286a07d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-11-22 06:21:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-11-22 06:21:32 +0000 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. --- devel/Makefile | 1 + devel/py-hatch-regex-commit/Makefile | 23 ++++++++++++++++++++++ devel/py-hatch-regex-commit/distinfo | 3 +++ .../files/patch-pyproject.toml | 9 +++++++++ devel/py-hatch-regex-commit/pkg-descr | 2 ++ 5 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fa2c0bf09e76..d203a595eec8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4963,6 +4963,7 @@ SUBDIR += py-hatch-jupyter-builder SUBDIR += py-hatch-mypyc SUBDIR += py-hatch-nodejs-version + SUBDIR += py-hatch-regex-commit SUBDIR += py-hatch-requirements-txt SUBDIR += py-hatch-semver SUBDIR += py-hatch-vcs diff --git a/devel/py-hatch-regex-commit/Makefile b/devel/py-hatch-regex-commit/Makefile new file mode 100644 index 000000000000..f1fa4b8d0e63 --- /dev/null +++ b/devel/py-hatch-regex-commit/Makefile @@ -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> diff --git a/devel/py-hatch-regex-commit/distinfo b/devel/py-hatch-regex-commit/distinfo new file mode 100644 index 000000000000..ccf929575ccb --- /dev/null +++ b/devel/py-hatch-regex-commit/distinfo @@ -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 diff --git a/devel/py-hatch-regex-commit/files/patch-pyproject.toml b/devel/py-hatch-regex-commit/files/patch-pyproject.toml new file mode 100644 index 000000000000..895535d837cd --- /dev/null +++ b/devel/py-hatch-regex-commit/files/patch-pyproject.toml @@ -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] diff --git a/devel/py-hatch-regex-commit/pkg-descr b/devel/py-hatch-regex-commit/pkg-descr new file mode 100644 index 000000000000..4f8f05243df7 --- /dev/null +++ b/devel/py-hatch-regex-commit/pkg-descr @@ -0,0 +1,2 @@ +hatch-regex-commit provides a plugin for Hatch that automatically creates a Git +commit and tag after version bumping.