From be3bd73f5acb6f992d37a96d97c5a39523420d942a6e7f7dde6e66d59e703f23 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 15 Feb 2020 08:22:16 +0000 Subject: [PATCH] - Update to 11.0: - This is a maintenance release that drops Python 2.6 support, adds Python 3.7 support and merges quite a few minor pull requests. The major version number was bumped because of the compatibility changes. Complete list of (really small) changes is on https://github.com/xolox/python-coloredlogs/blob/master/CHANGELOG.rst#release-11-0-2020-02-14 - Update test_cli_conversion_test.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coloredlogs?expand=0&rev=12 --- coloredlogs-10.0.tar.gz | 3 --- coloredlogs-11.0.tar.gz | 3 +++ python-coloredlogs.changes | 12 ++++++++++++ python-coloredlogs.spec | 9 ++++----- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 coloredlogs-10.0.tar.gz create mode 100644 coloredlogs-11.0.tar.gz diff --git a/coloredlogs-10.0.tar.gz b/coloredlogs-10.0.tar.gz deleted file mode 100644 index 8cc5377..0000000 --- a/coloredlogs-10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36 -size 273273 diff --git a/coloredlogs-11.0.tar.gz b/coloredlogs-11.0.tar.gz new file mode 100644 index 0000000..f6095ba --- /dev/null +++ b/coloredlogs-11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2491675507a2e4048bf3b4c5ce4ee55354c8d659a58d9c946da05ca3e6a2f5b +size 274473 diff --git a/python-coloredlogs.changes b/python-coloredlogs.changes index 351c638..52c26dc 100644 --- a/python-coloredlogs.changes +++ b/python-coloredlogs.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Feb 15 08:30:15 CET 2020 - Matej Cepl + +- Update to 11.0: + - This is a maintenance release that drops Python 2.6 support, + adds Python 3.7 support and merges quite a few minor pull + requests. The major version number was bumped because of the + compatibility changes. + Complete list of (really small) changes is on + https://github.com/xolox/python-coloredlogs/blob/master/CHANGELOG.rst#release-11-0-2020-02-14 + - Update test_cli_conversion_test.patch + ------------------------------------------------------------------- Fri May 3 14:04:05 UTC 2019 - Matej Cepl diff --git a/python-coloredlogs.spec b/python-coloredlogs.spec index 0f60912..08bcf73 100644 --- a/python-coloredlogs.spec +++ b/python-coloredlogs.spec @@ -1,7 +1,7 @@ # # spec file for package python-coloredlogs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2016, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-coloredlogs -Version: 10.0 +Version: 11.0 Release: 0 Summary: Colored terminal output for Python's logging module License: MIT @@ -30,7 +30,7 @@ Source: https://files.pythonhosted.org/packages/source/c/coloredlogs/col # With using alternatives, we don't have versionless command in time of %check Patch0: test_cli_conversion_test.patch BuildRequires: %{python_module capturer >= 2.4} -BuildRequires: %{python_module humanfriendly >= 3.2} +BuildRequires: %{python_module humanfriendly >= 6.1} BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module pytest >= 3.0.3} BuildRequires: %{python_module pytest-cov >= 2.3.1} @@ -75,9 +75,8 @@ using Colorama. %check # test_auto_install - requires the install to the system to be actually complete -# test_plain_text_output_format - random hickupy test export PATH=%{buildroot}%{_bindir}:$PATH -%pytest coloredlogs/tests.py -k 'not (test_auto_install or test_plain_text_output_format)' +%pytest coloredlogs/tests.py -k 'not test_auto_install' %files %{python_files} %doc README.rst CHANGELOG.rst