diff --git a/daiquiri-1.2.1.tar.gz b/daiquiri-1.2.1.tar.gz deleted file mode 100644 index 599a425..0000000 --- a/daiquiri-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c19d631c5bbbfbf2cb176455b3ce680510d3a850ba23c146d4502964fd61a2a -size 14212 diff --git a/daiquiri-1.5.0.tar.gz b/daiquiri-1.5.0.tar.gz new file mode 100644 index 0000000..c96a97a --- /dev/null +++ b/daiquiri-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8832f28e110165b905993b4bdab638a3c245f5671d5976f226f2628e7d2e7862 +size 16508 diff --git a/python-daiquiri.changes b/python-daiquiri.changes index a91662c..c38b8b5 100644 --- a/python-daiquiri.changes +++ b/python-daiquiri.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Mar 7 14:01:01 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-daiquiri.spec b/python-daiquiri.spec index 953d684..501d188 100644 --- a/python-daiquiri.spec +++ b/python-daiquiri.spec @@ -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