15
0

Accepting request 774498 from devel:languages:python

- Should go into Factory only with sr#774497.
- 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/request/show/774498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coloredlogs?expand=0&rev=6
This commit is contained in:
2020-02-15 21:25:25 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36
size 273273

3
coloredlogs-11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2491675507a2e4048bf3b4c5ce4ee55354c8d659a58d9c946da05ca3e6a2f5b
size 274473

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Feb 15 08:30:15 CET 2020 - Matej Cepl <mcepl@suse.com>
- 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 <mcepl@suse.com>

View File

@@ -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 <mardnh@gmx.de>
#
# 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