15
0

Accepting request 682477 from devel:languages:python

- Update to 1.5.0:
  * Support for python 3.7
  * Many Mergify fixes
  * Use pytests for testing
  * formatter: enable extra keywords by default
  * Fix JSON encoding with extra keys
  * Add tests for color and extras formatters
  * Add formatter.ExtrasFormatter and formatter.ColorExtrasFormatter
  * Add KeywordArgumentAdapter.setLevel method for Python 2
  * Many flake8 fixes
- Make sure tests are executed

OBS-URL: https://build.opensuse.org/request/show/682477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-daiquiri?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2019-03-10 08:35:44 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 5 deletions

View File

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

3
daiquiri-1.5.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Mar 7 14:01:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.5.0:
* Support for python 3.7
* Many Mergify fixes
* Use pytests for testing
* formatter: enable extra keywords by default
* Fix JSON encoding with extra keys
* Add tests for color and extras formatters
* Add formatter.ExtrasFormatter and formatter.ColorExtrasFormatter
* Add KeywordArgumentAdapter.setLevel method for Python 2
* Many flake8 fixes
- Make sure tests are executed
-------------------------------------------------------------------
Tue Dec 4 12:47:07 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-daiquiri
#
# Copyright (c) 2018 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,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-daiquiri
Version: 1.2.1
Version: 1.5.0
Release: 0
Summary: Library to configure Python logging
License: Apache-2.0
@@ -26,6 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/jd/daiquiri
Source: https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-%{version}.tar.gz
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-json-logger}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-json-logger
BuildArch: noarch
@@ -43,6 +48,10 @@ provides some custom formatters and handlers.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest daiquiri/tests
%files %{python_files}
%license LICENSE