14
0

Accepting request 666684 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/666684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colorlog?expand=0&rev=2
This commit is contained in:
2019-01-21 09:59:09 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 8 deletions

View File

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

3
colorlog-4.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Jan 16 09:37:28 UTC 2019 - mvetter@suse.com
- Update to 4.0.0:
* Breaking change: TTYColoredFormatter requires the stream
argument, avoiding checking the wrong stream and still
displaying colors when it shouldn't.
* Includes some other minor changes, and attempts to close the
last few months worth of minor issues (#54, #62, #64, #65).
- Changes from 3.1.0:
* This removed the use of parse_colors directly in format
strings, as it relied on an implementation specific detail of
Python 2 and was broken on Python 3
- Install LICENSE
- Run tests
-------------------------------------------------------------------
Wed Mar 1 10:15:34 UTC 2017 - aloisio@gmx.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-colorlog
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-colorlog
Version: 2.10.0
Version: 4.0.0
Release: 0
Summary: Log formatting with colors
License: MIT
Group: Development/Languages/Python
Url: https://github.com/borntyping/python-colorlog
URL: https://github.com/borntyping/python-colorlog
Source: https://pypi.io/packages/source/c/colorlog/colorlog-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@@ -49,9 +49,14 @@ before it is used to format the string.
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} colorlog/tests/
}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md
%license LICENSE
%{python_sitelib}/colorlog
%{python_sitelib}/colorlog-%{version}-py%{py_ver}.egg-info