pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils py-loguru: added version 0.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc8e45ac100f
branches:  trunk
changeset: 383998:cc8e45ac100f
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 25 11:12:32 2022 +0000

description:
py-loguru: added version 0.6.0

Loguru is a library which aims to bring enjoyable logging in Python.

Did you ever feel lazy about configuring a logger and used print()
instead I did, yet logging is fundamental to every application and
eases the process of debugging. Using Loguru you have no excuse not
to use logging from the start, this is as simple as from loguru
import logger.

Also, this library is intended to make Python logging less painful
by adding a bunch of useful functionalities that solve caveats of
the standard loggers. Using logs in your application should be an
automatism, Loguru tries to make it both pleasant and powerful.

diffstat:

 sysutils/Makefile           |   3 +-
 sysutils/py-loguru/DESCR    |  12 ++++++++
 sysutils/py-loguru/Makefile |  23 +++++++++++++++
 sysutils/py-loguru/PLIST    |  65 +++++++++++++++++++++++++++++++++++++++++++++
 sysutils/py-loguru/distinfo |   5 +++
 5 files changed, 107 insertions(+), 1 deletions(-)

diffs (138 lines):

diff -r 4b8a189b4349 -r cc8e45ac100f sysutils/Makefile
--- a/sysutils/Makefile Thu Aug 25 10:35:39 2022 +0000
+++ b/sysutils/Makefile Thu Aug 25 11:12:32 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1012 2022/07/31 12:29:26 wiz Exp $
+# $NetBSD: Makefile,v 1.1013 2022/08/25 11:12:32 adam Exp $
 #
 
 COMMENT=       System utilities
@@ -562,6 +562,7 @@
 SUBDIR+=       py-invoke
 SUBDIR+=       py-jeepney
 SUBDIR+=       py-kazoo
+SUBDIR+=       py-loguru
 SUBDIR+=       py-magic
 SUBDIR+=       py-notify
 SUBDIR+=       py-notify2
diff -r 4b8a189b4349 -r cc8e45ac100f sysutils/py-loguru/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-loguru/DESCR  Thu Aug 25 11:12:32 2022 +0000
@@ -0,0 +1,12 @@
+Loguru is a library which aims to bring enjoyable logging in Python.
+
+Did you ever feel lazy about configuring a logger and used print()
+instead I did, yet logging is fundamental to every application and
+eases the process of debugging. Using Loguru you have no excuse not
+to use logging from the start, this is as simple as from loguru
+import logger.
+
+Also, this library is intended to make Python logging less painful
+by adding a bunch of useful functionalities that solve caveats of
+the standard loggers. Using logs in your application should be an
+automatism, Loguru tries to make it both pleasant and powerful.
diff -r 4b8a189b4349 -r cc8e45ac100f sysutils/py-loguru/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-loguru/Makefile       Thu Aug 25 11:12:32 2022 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/08/25 11:12:32 adam Exp $
+
+DISTNAME=      loguru-0.6.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    sysutils python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/loguru/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Delgan/loguru
+COMMENT=       Python logging made (stupidly) simple
+LICENSE=       mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4b8a189b4349 -r cc8e45ac100f sysutils/py-loguru/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-loguru/PLIST  Thu Aug 25 11:12:32 2022 +0000
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/25 11:12:32 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/loguru/__init__.py
+${PYSITELIB}/loguru/__init__.pyc
+${PYSITELIB}/loguru/__init__.pyi
+${PYSITELIB}/loguru/__init__.pyo
+${PYSITELIB}/loguru/_asyncio_loop.py
+${PYSITELIB}/loguru/_asyncio_loop.pyc
+${PYSITELIB}/loguru/_asyncio_loop.pyo
+${PYSITELIB}/loguru/_better_exceptions.py
+${PYSITELIB}/loguru/_better_exceptions.pyc
+${PYSITELIB}/loguru/_better_exceptions.pyo
+${PYSITELIB}/loguru/_colorama.py
+${PYSITELIB}/loguru/_colorama.pyc
+${PYSITELIB}/loguru/_colorama.pyo
+${PYSITELIB}/loguru/_colorizer.py
+${PYSITELIB}/loguru/_colorizer.pyc
+${PYSITELIB}/loguru/_colorizer.pyo
+${PYSITELIB}/loguru/_contextvars.py
+${PYSITELIB}/loguru/_contextvars.pyc
+${PYSITELIB}/loguru/_contextvars.pyo
+${PYSITELIB}/loguru/_ctime_functions.py
+${PYSITELIB}/loguru/_ctime_functions.pyc
+${PYSITELIB}/loguru/_ctime_functions.pyo
+${PYSITELIB}/loguru/_datetime.py
+${PYSITELIB}/loguru/_datetime.pyc
+${PYSITELIB}/loguru/_datetime.pyo
+${PYSITELIB}/loguru/_defaults.py
+${PYSITELIB}/loguru/_defaults.pyc
+${PYSITELIB}/loguru/_defaults.pyo
+${PYSITELIB}/loguru/_error_interceptor.py
+${PYSITELIB}/loguru/_error_interceptor.pyc
+${PYSITELIB}/loguru/_error_interceptor.pyo
+${PYSITELIB}/loguru/_file_sink.py
+${PYSITELIB}/loguru/_file_sink.pyc
+${PYSITELIB}/loguru/_file_sink.pyo
+${PYSITELIB}/loguru/_filters.py
+${PYSITELIB}/loguru/_filters.pyc
+${PYSITELIB}/loguru/_filters.pyo
+${PYSITELIB}/loguru/_get_frame.py
+${PYSITELIB}/loguru/_get_frame.pyc
+${PYSITELIB}/loguru/_get_frame.pyo
+${PYSITELIB}/loguru/_handler.py
+${PYSITELIB}/loguru/_handler.pyc
+${PYSITELIB}/loguru/_handler.pyo
+${PYSITELIB}/loguru/_locks_machinery.py
+${PYSITELIB}/loguru/_locks_machinery.pyc
+${PYSITELIB}/loguru/_locks_machinery.pyo
+${PYSITELIB}/loguru/_logger.py
+${PYSITELIB}/loguru/_logger.pyc
+${PYSITELIB}/loguru/_logger.pyo
+${PYSITELIB}/loguru/_recattrs.py
+${PYSITELIB}/loguru/_recattrs.pyc
+${PYSITELIB}/loguru/_recattrs.pyo
+${PYSITELIB}/loguru/_simple_sinks.py
+${PYSITELIB}/loguru/_simple_sinks.pyc
+${PYSITELIB}/loguru/_simple_sinks.pyo
+${PYSITELIB}/loguru/_string_parsers.py
+${PYSITELIB}/loguru/_string_parsers.pyc
+${PYSITELIB}/loguru/_string_parsers.pyo
+${PYSITELIB}/loguru/py.typed
diff -r 4b8a189b4349 -r cc8e45ac100f sysutils/py-loguru/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-loguru/distinfo       Thu Aug 25 11:12:32 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/25 11:12:32 adam Exp $
+
+BLAKE2s (loguru-0.6.0.tar.gz) = bb3ce29dbbaab45db804616cf3a924f9e9e5d52a7ce6ec45b2bf6a1b5519ef84
+SHA512 (loguru-0.6.0.tar.gz) = 81b300cd612e5949b6cdb478664cad1b94246c16f9de6a3a733d6250649c366f7d3905f5633fa8b747feafc8906ef9422d13e5e2f8317e14d6e021decefa6ed9
+Size (loguru-0.6.0.tar.gz) = 123158 bytes



Home | Main Index | Thread Index | Old Index