pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Aug 25 11:12:32 UTC 2022

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/py-loguru: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1012 -r1.1013 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-loguru/DESCR \
    pkgsrc/sysutils/py-loguru/Makefile pkgsrc/sysutils/py-loguru/PLIST \
    pkgsrc/sysutils/py-loguru/distinfo

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

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1012 pkgsrc/sysutils/Makefile:1.1013
--- pkgsrc/sysutils/Makefile:1.1012     Sun Jul 31 12:29:26 2022
+++ pkgsrc/sysutils/Makefile    Thu Aug 25 11:12:32 2022
@@ -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-google-compute-engine
 SUBDIR+=       py-invoke
 SUBDIR+=       py-jeepney
 SUBDIR+=       py-kazoo
+SUBDIR+=       py-loguru
 SUBDIR+=       py-magic
 SUBDIR+=       py-notify
 SUBDIR+=       py-notify2

Added files:

Index: pkgsrc/sysutils/py-loguru/DESCR
diff -u /dev/null pkgsrc/sysutils/py-loguru/DESCR:1.1
--- /dev/null   Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/DESCR     Thu Aug 25 11:12:32 2022
@@ -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.
Index: pkgsrc/sysutils/py-loguru/Makefile
diff -u /dev/null pkgsrc/sysutils/py-loguru/Makefile:1.1
--- /dev/null   Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/Makefile  Thu Aug 25 11:12:32 2022
@@ -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"
Index: pkgsrc/sysutils/py-loguru/PLIST
diff -u /dev/null pkgsrc/sysutils/py-loguru/PLIST:1.1
--- /dev/null   Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/PLIST     Thu Aug 25 11:12:32 2022
@@ -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
Index: pkgsrc/sysutils/py-loguru/distinfo
diff -u /dev/null pkgsrc/sysutils/py-loguru/distinfo:1.1
--- /dev/null   Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/distinfo  Thu Aug 25 11:12:32 2022
@@ -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