pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc
Module Name: pkgsrc
Committed By: adam
Date: Sat Oct 24 10:47:18 UTC 2026
Modified Files:
pkgsrc/misc: Makefile
Added Files:
pkgsrc/misc/py-diagnostic: DESCR Makefile PLIST distinfo
Log Message:
py-diagnostic: added version 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
To generate a diff of this commit:
cvs rdiff -u -r1.699 -r1.700 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-diagnostic/DESCR \
pkgsrc/misc/py-diagnostic/Makefile pkgsrc/misc/py-diagnostic/PLIST \
pkgsrc/misc/py-diagnostic/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.699 pkgsrc/misc/Makefile:1.700
--- pkgsrc/misc/Makefile:1.699 Sun Oct 18 13:06:35 2026
+++ pkgsrc/misc/Makefile Sat Oct 24 10:47:18 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.699 2026/10/18 13:06:35 pin Exp $
+# $NetBSD: Makefile,v 1.700 2026/10/24 10:47:18 adam Exp $
#
COMMENT= Miscellaneous utilities
@@ -296,6 +296,7 @@ SUBDIR+= py-autocommand
SUBDIR+= py-copier
SUBDIR+= py-crashtest
SUBDIR+= py-dep-logic
+SUBDIR+= py-diagnostic
SUBDIR+= py-diff-cover
SUBDIR+= py-domdf-python-tools
SUBDIR+= py-expandvars
Added files:
Index: pkgsrc/misc/py-diagnostic/DESCR
diff -u /dev/null pkgsrc/misc/py-diagnostic/DESCR:1.1
--- /dev/null Sat Oct 24 10:47:18 2026
+++ pkgsrc/misc/py-diagnostic/DESCR Sat Oct 24 10:47:18 2026
@@ -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 needed
Index: pkgsrc/misc/py-diagnostic/Makefile
diff -u /dev/null pkgsrc/misc/py-diagnostic/Makefile:1.1
--- /dev/null Sat Oct 24 10:47:18 2026
+++ pkgsrc/misc/py-diagnostic/Makefile Sat Oct 24 10:47:18 2026
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2026/10/24 10:47:18 adam Exp $
+
+DISTNAME= diagnostic-3.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= misc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=d/diagnostic/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pradyunsg/diagnostic
+COMMENT= Present errors that contain causes better understand what happened
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core
+DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-markdown-it-py>=0:../../textproc/py-markdown-it-py
+DEPENDS+= ${PYPKGPREFIX}-rich>=0:../../comms/py-rich
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-diagnostic/PLIST
diff -u /dev/null pkgsrc/misc/py-diagnostic/PLIST:1.1
--- /dev/null Sat Oct 24 10:47:18 2026
+++ pkgsrc/misc/py-diagnostic/PLIST Sat Oct 24 10:47:18 2026
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2026/10/24 10:47:18 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/diagnostic/__init__.py
+${PYSITELIB}/diagnostic/__init__.pyc
+${PYSITELIB}/diagnostic/__init__.pyo
+${PYSITELIB}/diagnostic/_base.py
+${PYSITELIB}/diagnostic/_base.pyc
+${PYSITELIB}/diagnostic/_base.pyo
+${PYSITELIB}/diagnostic/_check_docs.py
+${PYSITELIB}/diagnostic/_check_docs.pyc
+${PYSITELIB}/diagnostic/_check_docs.pyo
+${PYSITELIB}/diagnostic/_concrete.py
+${PYSITELIB}/diagnostic/_concrete.pyc
+${PYSITELIB}/diagnostic/_concrete.pyo
+${PYSITELIB}/diagnostic/_parsers.py
+${PYSITELIB}/diagnostic/_parsers.pyc
+${PYSITELIB}/diagnostic/_parsers.pyo
+${PYSITELIB}/diagnostic/check-docs.py
+${PYSITELIB}/diagnostic/check-docs.pyc
+${PYSITELIB}/diagnostic/check-docs.pyo
+${PYSITELIB}/diagnostic/py.typed
Index: pkgsrc/misc/py-diagnostic/distinfo
diff -u /dev/null pkgsrc/misc/py-diagnostic/distinfo:1.1
--- /dev/null Sat Oct 24 10:47:18 2026
+++ pkgsrc/misc/py-diagnostic/distinfo Sat Oct 24 10:47:18 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/10/24 10:47:18 adam Exp $
+
+BLAKE2s (diagnostic-3.0.0.tar.gz) = 185e0aa1ad779ab2ac90504a016135471d5beefb02e345bfe667b4d94bf5972a
+SHA512 (diagnostic-3.0.0.tar.gz) = 8648da29896f3a13fb3856fe9592bf093726ac3a2c38c85abd70730723e2c0498a440e4fb2c163440ba1e910ffafa651a88f76244bd266121cb4c9062f4d8f05
+Size (diagnostic-3.0.0.tar.gz) = 8651 bytes
Home |
Main Index |
Thread Index |
Old Index