pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-verboselogs: Extend Python logging module to add the log levels



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Jul 22 07:50:32 2023 -0500
Changeset:	2bba80d5d97adc309d0cafc4ac41f1a3dd68a759

Modified Files:
	Makefile
Added Files:
	py-verboselogs/DESCR
	py-verboselogs/Makefile
	py-verboselogs/PLIST
	py-verboselogs/distinfo

Log Message:
py-verboselogs: Extend Python logging module to add the log levels

The verboselogs package extends Pythonlevels NOTICE, SPAM, SUCCESS
and VERBOSE:

    The NOTICE level sits between the predefined WARNING and INFO
    levels.

    The SPAM level sits between the predefined DEBUG and NOTSET levels.

    The SUCCESS level sits between the predefined WARNING and ERROR
    levels.

    The VERBOSE level sits between the predefined INFO and DEBUG levels.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2bba80d5d97adc309d0cafc4ac41f1a3dd68a759

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 py-verboselogs/DESCR    | 12 ++++++++++++
 py-verboselogs/Makefile | 20 ++++++++++++++++++++
 py-verboselogs/PLIST    | 14 ++++++++++++++
 py-verboselogs/distinfo |  5 +++++
 5 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 390260d812..ab471d7bac 100644
--- a/Makefile
+++ b/Makefile
@@ -4818,6 +4818,7 @@ SUBDIR+=	py-vdirsyncer-git
 SUBDIR+=	py-vega_datasets
 SUBDIR+=	py-vegas
 SUBDIR+=	py-venusian
+SUBDIR+=	py-verboselogs
 SUBDIR+=	py-verilog
 SUBDIR+=	py-version-control-tools-hg
 SUBDIR+=	py-vespa
diff --git a/py-verboselogs/DESCR b/py-verboselogs/DESCR
new file mode 100644
index 0000000000..93c6be8294
--- /dev/null
+++ b/py-verboselogs/DESCR
@@ -0,0 +1,12 @@
+The verboselogs package extends Python�logging module to add the log
+levels NOTICE, SPAM, SUCCESS and VERBOSE:
+
+    The NOTICE level sits between the predefined WARNING and INFO
+    levels.
+
+    The SPAM level sits between the predefined DEBUG and NOTSET levels.
+
+    The SUCCESS level sits between the predefined WARNING and ERROR
+    levels.
+
+    The VERBOSE level sits between the predefined INFO and DEBUG levels.
diff --git a/py-verboselogs/Makefile b/py-verboselogs/Makefile
new file mode 100644
index 0000000000..450c2dfa90
--- /dev/null
+++ b/py-verboselogs/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	verboselogs-1.7
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=v/verboselogs/}
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+HOMEPAGE=	https://pypi.org/project/verboselogs/
+COMMENT=	Extend Python logging module to add the log levels
+LICENSE=	mit
+
+TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=1.0.1:../../devel/py-mock
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=2.6.1:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov>=2.2.1:../../devel/py-test-cov
+TEST_DEPENDS+=	${PYPKGPREFIX}-astroid>0:../../devel/py-astroid
+TEST_DEPENDS+=	${PYPKGPREFIX}-pylint>0:../../devel/py-pylint
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-verboselogs/PLIST b/py-verboselogs/PLIST
new file mode 100644
index 0000000000..e715ee5b38
--- /dev/null
+++ b/py-verboselogs/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/verboselogs/__init__.py
+${PYSITELIB}/verboselogs/__init__.pyc
+${PYSITELIB}/verboselogs/__init__.pyo
+${PYSITELIB}/verboselogs/pylint.py
+${PYSITELIB}/verboselogs/pylint.pyc
+${PYSITELIB}/verboselogs/pylint.pyo
+${PYSITELIB}/verboselogs/tests.py
+${PYSITELIB}/verboselogs/tests.pyc
+${PYSITELIB}/verboselogs/tests.pyo
diff --git a/py-verboselogs/distinfo b/py-verboselogs/distinfo
new file mode 100644
index 0000000000..6a7218331e
--- /dev/null
+++ b/py-verboselogs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (verboselogs-1.7.tar.gz) = 010f9483421dc456369cbe69b7cbe49445cfb77c0980930521f7529c70c5ff45
+SHA512 (verboselogs-1.7.tar.gz) = 13e96ac21e1cb5c68428b348bab63fc4d4ad34eaffe8e1554c05380f9115d2a3ccc6fa2e0a5ca8941e73bfb06537a3e46f29880e7ba3f47da0284279a9740211
+Size (verboselogs-1.7.tar.gz) = 10338 bytes


Home | Main Index | Thread Index | Old Index