3bf1cbba05
18.1.0: Deprecations: - The meaning of the structlog[dev] installation target will change from "colorful output" to "dependencies to develop structlog" in 19.1.0. The main reason behind this decision is that it's impossible to have a structlog in your normal dependencies and additionally a structlog[dev] for developement (pip will report an error). Changes: - Empty strings are valid events now. - Do not encapsulate Twisted failures twice with newer versions of Twisted. - structlog.dev.ConsoleRenderer now accepts a *force_colors* argument to output colored logs even if the destination is not a tty. Use this option if your logs are stored in files that are intended to be streamed to the console. - structlog.dev.ConsoleRenderer now accepts a *level_styles* argument for overriding the colors for individual levels, as well as to add new levels. - structlog.stdlib.BoundLogger.exception() now uses the exc_info argument if it has been passed instead of setting it unconditionally to True. - Default configuration now uses plain dict\ s on Python 3.6+ and PyPy since they are ordered by default. - Added structlog.is_configured() to check whether or not structlog has been configured. - Added structlog.get_config() to introspect current configuration.
18 lines
481 B
Makefile
18 lines
481 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/02/06 08:09:07 adam Exp $
|
|
|
|
DISTNAME= structlog-18.1.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/structlog/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.structlog.org/
|
|
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"
|
|
.include "../../mk/bsd.pkg.mk"
|