git: c948ba5c02a7 - main - textproc/py-griffecli: New port

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 29 Mar 2026 12:22:10 UTC
The branch main has been updated by kai:

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

commit c948ba5c02a75b21dceef38174b44b2dc5c9b13f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-03-29 12:21:48 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-03-29 12:21:48 +0000

    textproc/py-griffecli: New port
    
    Signatures for entire Python programs.  Extract the structure, the
    frame, the skeleton of your project, to generate API documentation
    or find breaking changes in your API.
    
    This package contains the CLI components.
---
 textproc/Makefile               |  1 +
 textproc/py-griffecli/Makefile  | 25 +++++++++++++++++++++++++
 textproc/py-griffecli/distinfo  |  3 +++
 textproc/py-griffecli/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index eae116f7b5e7..0a1ae5fb5901 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1414,6 +1414,7 @@
     SUBDIR += py-graphemeu
     SUBDIR += py-grep-ast
     SUBDIR += py-griffe
+    SUBDIR += py-griffecli
     SUBDIR += py-griffelib
     SUBDIR += py-grimoire-elk
     SUBDIR += py-grimoirelab-panels
diff --git a/textproc/py-griffecli/Makefile b/textproc/py-griffecli/Makefile
new file mode 100644
index 000000000000..100da204ee0c
--- /dev/null
+++ b/textproc/py-griffecli/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	griffecli
+DISTVERSION=	2.0.2
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Signatures for entire Python programs / CLI components
+WWW=		https://github.com/mkdocstrings/griffe
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uv-dynamic-versioning>=0.7:devel/py-uv-dynamic-versioning@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}griffelib>=${DISTVERSION}:textproc/py-griffelib@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-griffecli/distinfo b/textproc/py-griffecli/distinfo
new file mode 100644
index 000000000000..2bb82f9a0dc6
--- /dev/null
+++ b/textproc/py-griffecli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774703671
+SHA256 (griffecli-2.0.2.tar.gz) = 40a1ad4181fc39685d025e119ae2c5b669acdc1f19b705fb9bf971f4e6f6dffb
+SIZE (griffecli-2.0.2.tar.gz) = 56281
diff --git a/textproc/py-griffecli/pkg-descr b/textproc/py-griffecli/pkg-descr
new file mode 100644
index 000000000000..d238e9a42be3
--- /dev/null
+++ b/textproc/py-griffecli/pkg-descr
@@ -0,0 +1,5 @@
+Signatures for entire Python programs.  Extract the structure, the frame, the
+skeleton of your project, to generate API documentation or find breaking
+changes in your API.
+
+This package contains the CLI components.