1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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

- Fix some misplaced entries in devel/Makefile while I am at it
This commit is contained in:
Alexey Dokuchaev 2014-07-24 09:32:44 +00:00
parent 3fca49e807
commit c7e8aac107
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362772
4 changed files with 38 additions and 3 deletions

View File

@ -333,9 +333,9 @@
SUBDIR += dbus-glib
SUBDIR += dbus-qt4
SUBDIR += dbus-qt5
SUBDIR += dbus-tcl
SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib
SUBDIR += dbus-tcl
SUBDIR += dcmtk
SUBDIR += dconf
SUBDIR += dconf-editor
@ -409,8 +409,8 @@
SUBDIR += elftoaout
SUBDIR += elib
SUBDIR += entity
SUBDIR += epm
SUBDIR += epl.el
SUBDIR += epm
SUBDIR += epydoc
SUBDIR += eric4
SUBDIR += eris
@ -3436,8 +3436,8 @@
SUBDIR += pipestatus
SUBDIR += pire
SUBDIR += pit
SUBDIR += pkgconf
SUBDIR += pkg-info.el
SUBDIR += pkgconf
SUBDIR += plan9port
SUBDIR += pmccabe
SUBDIR += pmd
@ -3602,6 +3602,7 @@
SUBDIR += py-collective.monkeypatcher
SUBDIR += py-collective.z3cform.datetimewidget
SUBDIR += py-colorama
SUBDIR += py-colorlog
SUBDIR += py-conditional
SUBDIR += py-configobj
SUBDIR += py-configparser

View File

@ -0,0 +1,26 @@
# 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>

View File

@ -0,0 +1,2 @@
SHA256 (colorlog-2.3.1.tar.gz) = fe2361d0eb5551695498aaa85b008fe4487fedf749326ac0eaae625786ee2932
SIZE (colorlog-2.3.1.tar.gz) = 5549

View File

@ -0,0 +1,6 @@
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