Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2018-08-12 20:55:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Logbook" Sun Aug 12 20:55:40 2018 rev:2 rq:628720 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2017-09-09 20:27:19.475410668 +0200 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new/python-Logbook.changes 2018-08-12 20:55:43.281509722 +0200 @@ -1,0 +2,13 @@ +Fri Aug 10 13:23:32 UTC 2018 - [email protected] + +- Update to Version 1.4.0 + * Added support for checking if trace logs have been emitted in TestHandler (thanks @thedrow) + * Added support for controlling rotating file names -- Logbook now allows users to + customize the formatting of rollover/rotating files (thanks Tucker Beck) + * Added support for compressed log files, supporting both gzip and brotli compression + methods (thanks Maor Marcus) + * Fixed CPU usage for queuing handlers (thanks Adam UrbaĆczyk) +- Remove cleanup of tests/*.pyc files and tests/__pycache__ from downloaded source code +- Fully enable tests +- Add cython build of _speedups.c for each python version +------------------------------------------------------------------- Old: ---- Logbook-1.1.0.tar.gz New: ---- Logbook-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Logbook.spec ++++++ --- /var/tmp/diff_new_pack.wHPidY/_old 2018-08-12 20:55:43.657510486 +0200 +++ /var/tmp/diff_new_pack.wHPidY/_new 2018-08-12 20:55:43.657510486 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Logbook # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,39 +17,38 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests require a network connection -%bcond_with test Name: python-Logbook -Version: 1.1.0 +Version: 1.4.0 Release: 0 Summary: A logging replacement for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/getlogbook/logbook +URL: https://github.com/getlogbook/logbook Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Cython} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -%if %{with test} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module SQLAlchemy} +BuildRequires: %{python_module devel} BuildRequires: %{python_module execnet >= 1.0.9} BuildRequires: %{python_module gevent} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyzmq} BuildRequires: %{python_module redis} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-mock -%endif +BuildRequires: python-rpm-macros +BuildRequires: redis +BuildRequires: util-linux Recommends: python-Jinja2 Recommends: python-SQLAlchemy Recommends: python-execnet >= 1.0.9 Recommends: python-gevent -Recommends: python-redis Recommends: python-pyzmq - +Recommends: python-redis %python_subpackages %description @@ -58,26 +57,28 @@ %prep %setup -q -n Logbook-%{version} sed -i 's/\r$//' LICENSE -rm tests/*.pyc -rm -r tests/__pycache__ %build export CFLAGS="%{optflags}" -%python_build +cython-%{python2_version} logbook/_speedups.pyx +%python2_build +rm logbook/_speedups.c +cython-%{python3_version} logbook/_speedups.pyx +%python3_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check export CFLAGS="%{optflags}" -%python_exec setup.py test -%endif +%{_sbindir}/redis-server & +%python_exec -m pytest +kill %1 %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE +%license LICENSE +%doc CHANGES %{python_sitearch}/* %changelog ++++++ Logbook-1.1.0.tar.gz -> Logbook-1.4.0.tar.gz ++++++ ++++ 10547 lines of diff (skipped)
