pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-structlog py-structlog: update to 17.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05316bdd3cfc
branches:  trunk
changeset: 369867:05316bdd3cfc
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 07 11:18:28 2017 +0000

description:
py-structlog: update to 17.2.0

17.2.0:
- ``structlog.stdlib.ProcessorFormatter`` now accepts *keep_exc_info* and *keep_stack_info* arguments to control what to do with this information on log records.
  Most likely you want them both to be ``False`` therefore it's the default.
- ``structlog.stdlib.add_logger_name()`` now works in ``structlog.stdlib.ProcessorFormatter``'s ``foreign_pre_chain``.
- Clear log record args in ``structlog.stdlib.ProcessorFormatter`` after rendering.
  This fix is for you if you tried to use it and got ``TypeError: not all arguments converted during string formatting`` exceptions.

diffstat:

 sysutils/py-structlog/Makefile |   8 +++++---
 sysutils/py-structlog/PLIST    |  16 +++++++++-------
 sysutils/py-structlog/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 15 deletions(-)

diffs (82 lines):

diff -r 34dffd77fed9 -r 05316bdd3cfc sysutils/py-structlog/Makefile
--- a/sysutils/py-structlog/Makefile    Sat Oct 07 11:15:15 2017 +0000
+++ b/sysutils/py-structlog/Makefile    Sat Oct 07 11:18:28 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2017/09/16 19:27:08 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/10/07 11:18:28 adam Exp $
 
-DISTNAME=      structlog-15.1.0
+DISTNAME=      structlog-17.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python sysutils
+CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/structlog/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,6 +10,8 @@
 COMMENT=       Painless structural logging
 LICENSE=       apache-2.0 AND mit
 
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
diff -r 34dffd77fed9 -r 05316bdd3cfc sysutils/py-structlog/PLIST
--- a/sysutils/py-structlog/PLIST       Sat Oct 07 11:15:15 2017 +0000
+++ b/sysutils/py-structlog/PLIST       Sat Oct 07 11:18:28 2017 +0000
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2014/12/06 16:20:26 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/07 11:18:28 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/structlog/__init__.py
 ${PYSITELIB}/structlog/__init__.pyc
@@ -9,15 +11,9 @@
 ${PYSITELIB}/structlog/_base.py
 ${PYSITELIB}/structlog/_base.pyc
 ${PYSITELIB}/structlog/_base.pyo
-${PYSITELIB}/structlog/_compat.py
-${PYSITELIB}/structlog/_compat.pyc
-${PYSITELIB}/structlog/_compat.pyo
 ${PYSITELIB}/structlog/_config.py
 ${PYSITELIB}/structlog/_config.pyc
 ${PYSITELIB}/structlog/_config.pyo
-${PYSITELIB}/structlog/_exc.py
-${PYSITELIB}/structlog/_exc.pyc
-${PYSITELIB}/structlog/_exc.pyo
 ${PYSITELIB}/structlog/_frames.py
 ${PYSITELIB}/structlog/_frames.pyc
 ${PYSITELIB}/structlog/_frames.pyo
@@ -30,6 +26,12 @@
 ${PYSITELIB}/structlog/_utils.py
 ${PYSITELIB}/structlog/_utils.pyc
 ${PYSITELIB}/structlog/_utils.pyo
+${PYSITELIB}/structlog/dev.py
+${PYSITELIB}/structlog/dev.pyc
+${PYSITELIB}/structlog/dev.pyo
+${PYSITELIB}/structlog/exceptions.py
+${PYSITELIB}/structlog/exceptions.pyc
+${PYSITELIB}/structlog/exceptions.pyo
 ${PYSITELIB}/structlog/processors.py
 ${PYSITELIB}/structlog/processors.pyc
 ${PYSITELIB}/structlog/processors.pyo
diff -r 34dffd77fed9 -r 05316bdd3cfc sysutils/py-structlog/distinfo
--- a/sysutils/py-structlog/distinfo    Sat Oct 07 11:15:15 2017 +0000
+++ b/sysutils/py-structlog/distinfo    Sat Oct 07 11:18:28 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:32:28 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/10/07 11:18:28 adam Exp $
 
-SHA1 (structlog-15.1.0.tar.gz) = ec518356f9c7dbd8922c12408b5cebbfb0f4f4ba
-RMD160 (structlog-15.1.0.tar.gz) = c0928af70e2f478fbf67cf2021f115d407ba0d9e
-SHA512 (structlog-15.1.0.tar.gz) = 38c7033b587a314491eb74c17bedd3dac718cae482ec16ad283b2879917d7b7ace764ce026bc36445485b7c80d176ba62cbf02fe0a50e7936d80ea63d6a19e77
-Size (structlog-15.1.0.tar.gz) = 66349 bytes
+SHA1 (structlog-17.2.0.tar.gz) = 823f169e36ded14ed1674486eb635d57c67451aa
+RMD160 (structlog-17.2.0.tar.gz) = 27c6a038197a267666d3d5320c7626b02c59b827
+SHA512 (structlog-17.2.0.tar.gz) = 1b3d1d9a735b534606ec63b378fccf8301b867946e90d88ed4e491000e0c77a2179d10d7238cd5e4f09d6b45c2cbfc4362e8a73cc567db7fd0bfac43059d260f
+Size (structlog-17.2.0.tar.gz) = 312342 bytes



Home | Main Index | Thread Index | Old Index