Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 09:32:45 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362772 - in head/devel: . py-colorlog
Message-ID:  <201407240932.s6O9WjEe028990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jul 24 09:32:44 2014
New Revision: 362772
URL: http://svnweb.freebsd.org/changeset/ports/362772
QAT: https://qat.redports.org/buildarchive/r362772/

Log:
  - Add py-colorlog, Python module for log formatting with colors
  - Fix some misplaced entries in devel/Makefile while I am at it

Added:
  head/devel/py-colorlog/
  head/devel/py-colorlog/Makefile   (contents, props changed)
  head/devel/py-colorlog/distinfo   (contents, props changed)
  head/devel/py-colorlog/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jul 24 09:30:10 2014	(r362771)
+++ head/devel/Makefile	Thu Jul 24 09:32:44 2014	(r362772)
@@ -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

Added: head/devel/py-colorlog/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-colorlog/Makefile	Thu Jul 24 09:32:44 2014	(r362772)
@@ -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>

Added: head/devel/py-colorlog/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-colorlog/distinfo	Thu Jul 24 09:32:44 2014	(r362772)
@@ -0,0 +1,2 @@
+SHA256 (colorlog-2.3.1.tar.gz) = fe2361d0eb5551695498aaa85b008fe4487fedf749326ac0eaae625786ee2932
+SIZE (colorlog-2.3.1.tar.gz) = 5549

Added: head/devel/py-colorlog/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-colorlog/pkg-descr	Thu Jul 24 09:32:44 2014	(r362772)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407240932.s6O9WjEe028990>