Commit 82200781 authored by danfe's avatar danfe
Browse files

- Add py-colorlog, Python module for log formatting with colors

- Fix some misplaced entries in devel/Makefile while I am at it
parent 5faae357
...@@ -333,9 +333,9 @@ ...@@ -333,9 +333,9 @@
SUBDIR += dbus-glib SUBDIR += dbus-glib
SUBDIR += dbus-qt4 SUBDIR += dbus-qt4
SUBDIR += dbus-qt5 SUBDIR += dbus-qt5
SUBDIR += dbus-tcl
SUBDIR += dbus-sharp SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib SUBDIR += dbus-sharp-glib
SUBDIR += dbus-tcl
SUBDIR += dcmtk SUBDIR += dcmtk
SUBDIR += dconf SUBDIR += dconf
SUBDIR += dconf-editor SUBDIR += dconf-editor
...@@ -409,8 +409,8 @@ ...@@ -409,8 +409,8 @@
SUBDIR += elftoaout SUBDIR += elftoaout
SUBDIR += elib SUBDIR += elib
SUBDIR += entity SUBDIR += entity
SUBDIR += epm
SUBDIR += epl.el SUBDIR += epl.el
SUBDIR += epm
SUBDIR += epydoc SUBDIR += epydoc
SUBDIR += eric4 SUBDIR += eric4
SUBDIR += eris SUBDIR += eris
...@@ -3436,8 +3436,8 @@ ...@@ -3436,8 +3436,8 @@
SUBDIR += pipestatus SUBDIR += pipestatus
SUBDIR += pire SUBDIR += pire
SUBDIR += pit SUBDIR += pit
SUBDIR += pkgconf
SUBDIR += pkg-info.el SUBDIR += pkg-info.el
SUBDIR += pkgconf
SUBDIR += plan9port SUBDIR += plan9port
SUBDIR += pmccabe SUBDIR += pmccabe
SUBDIR += pmd SUBDIR += pmd
...@@ -3602,6 +3602,7 @@ ...@@ -3602,6 +3602,7 @@
SUBDIR += py-collective.monkeypatcher SUBDIR += py-collective.monkeypatcher
SUBDIR += py-collective.z3cform.datetimewidget SUBDIR += py-collective.z3cform.datetimewidget
SUBDIR += py-colorama SUBDIR += py-colorama
SUBDIR += py-colorlog
SUBDIR += py-conditional SUBDIR += py-conditional
SUBDIR += py-configobj SUBDIR += py-configobj
SUBDIR += py-configparser SUBDIR += py-configparser
......
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= colorlog
PORTVERSION= 2.3.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Python module for log formatting with colors
LICENSE= MIT
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
SHA256 (colorlog-2.3.1.tar.gz) = fe2361d0eb5551695498aaa85b008fe4487fedf749326ac0eaae625786ee2932
SIZE (colorlog-2.3.1.tar.gz) = 5549
It allows colors to be placed in the format string, which is mostly useful
when paired with a StreamHandler that is outputting to a terminal. This is
accomplished by added a set of terminal color codes to the record before it
is used to format the string. Convenient for logging with colors support.
WWW: https://pypi.python.org/pypi/colorlog
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment