Date: Tue, 30 Dec 2025 13:31:40 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b1ebd44a5fbc - main - devel/py-diagnostic: Add py-diagnostic 3.0.0 Message-ID: <6953d43c.3f467.1e41da69@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1ebd44a5fbcfb37e10b388601ca0d9f5f167fc6 commit b1ebd44a5fbcfb37e10b388601ca0d9f5f167fc6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-12-30 13:21:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-12-30 13:29:03 +0000 devel/py-diagnostic: Add py-diagnostic 3.0.0 diagnostic makes it easier to build command line tools with great error reporting. Features: - Unique codes on every Diagnostic - Tooling to help ensure all codes in the codebase are documented - Fancy graphical output, built on top of rich, with graceful fallbacks to ASCII and plain strings - Present a causal chain if needed --- devel/Makefile | 1 + devel/py-diagnostic/Makefile | 25 +++++++++++++++++++++++++ devel/py-diagnostic/distinfo | 3 +++ devel/py-diagnostic/pkg-descr | 9 +++++++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8a13bfdcc12b..32856beb136d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4828,6 +4828,7 @@ SUBDIR += py-deptry SUBDIR += py-devtools SUBDIR += py-dexml2 + SUBDIR += py-diagnostic SUBDIR += py-diff-cover SUBDIR += py-dill SUBDIR += py-dirspec diff --git a/devel/py-diagnostic/Makefile b/devel/py-diagnostic/Makefile new file mode 100644 index 000000000000..b3c975a8c8d7 --- /dev/null +++ b/devel/py-diagnostic/Makefile @@ -0,0 +1,25 @@ +PORTNAME= diagnostic +PORTVERSION= 3.0.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Present errors that contain causes better understand what happened +WWW= https://diagnostic.readthedocs.io/en/latest/ \ + https://github.com/pradyunsg/diagnostic + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=0:textproc/py-markdown-it-py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-diagnostic/distinfo b/devel/py-diagnostic/distinfo new file mode 100644 index 000000000000..2c6b7c6bc1fa --- /dev/null +++ b/devel/py-diagnostic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1766953300 +SHA256 (diagnostic-3.0.0.tar.gz) = 5c80d7f77706dca775cc85d7b0492e4e96385dade2103052cf06cf6ab105b855 +SIZE (diagnostic-3.0.0.tar.gz) = 8651 diff --git a/devel/py-diagnostic/pkg-descr b/devel/py-diagnostic/pkg-descr new file mode 100644 index 000000000000..9d6ea4fb4eca --- /dev/null +++ b/devel/py-diagnostic/pkg-descr @@ -0,0 +1,9 @@ +diagnostic makes it easier to build command line tools with great error +reporting. + +Features: +- Unique codes on every Diagnostic +- Tooling to help ensure all codes in the codebase are documented +- Fancy graphical output, built on top of rich, with graceful fallbacks to ASCII + and plain strings +- Present a causal chain if neededhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6953d43c.3f467.1e41da69>
