dev-python/coloredlogs: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-10-15 10:18:02 +02:00
parent eaefe8a11c
commit abc5648410
3 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST coloredlogs-1.0.1.tar.gz 13926 SHA256 11067ca91532ba4a316fa53b005152a08b3e015dcb1234d393cfc25af88ebc3e SHA512 098aa22b371ffdb6400fac7d2f000aa73f8956eae71f48ceed2110eb35a4b4d11f814f8cacca643c4deccd82da058a750c700264e7c71c2351514a6f887101a5 WHIRLPOOL 71b447498d5e91a0cda131046f7545230bc0c13aa814f0d79cf8888bd60934dee7c5cc54a729dd36b0a937451f80302384fb0733fd94e43e09c2ce9258c950fd
DIST coloredlogs-2.0.tar.gz 15486 SHA256 532198042eac7560f5292961bfb6f844343132fda805575684f67deeb780b2c2 SHA512 b42e18b563caef4506377fba754e976fed31b7402d418ca79d1875504986572b36fe90b602afcb952dc8b06b9f7bc7ed6861abc2239ae5b5340e006377f9a14d WHIRLPOOL 6cbec16a204f91a218428c8056e2c39d94aeaedbf3356b2548fa288a386b8583bf639a40f0c40dc596096bf44ccb28acb7c2d66403d19cf72143599ba88a82b5

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1
DESCRIPTION="Colored stream handler for the logging module"
HOMEPAGE="https://pypi.python.org/pypi/coloredlogs https://github.com/xolox/python-coloredlogs http://coloredlogs.readthedocs.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-python/humanfriendly-1.25.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/capturer[${PYTHON_USEDEP}]
dev-python/verboselogs[${PYTHON_USEDEP}]
)"
DOCS=( README.rst )
PATCHES=( "${FILESDIR}"/${P}-skip-cli-test.patch )
python_test() {
esetup.py test
}

View File

@@ -0,0 +1,20 @@
coloredlogs/tests.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/coloredlogs/tests.py b/coloredlogs/tests.py
index 2010b12..7ab18a8 100644
--- a/coloredlogs/tests.py
+++ b/coloredlogs/tests.py
@@ -160,12 +160,6 @@ class ColoredLogsTestCase(unittest.TestCase):
for name in 'debug', 'info', 'warning', 'error', 'critical':
assert name.upper() in output
- def test_cli_conversion(self):
- """Test the command line HTML conversion."""
- output = main('coloredlogs', '--convert', 'coloredlogs', '--demo', capture=True)
- # Make sure the output is encoded as HTML.
- assert '<span' in output
-
def test_implicit_usage_message(self):
"""Test that the usage message is shown when no actions are given."""
assert 'Usage:' in main('coloredlogs', capture=True)