commit python-Logbook for openSUSE:Factory
Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2020-03-27 00:23:43 Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new.3160 (New) Package is "python-Logbook" Fri Mar 27 00:23:43 2020 rev:7 rq:784820 version:1.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2020-01-16 18:15:48.444790404 +0100 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new.3160/python-Logbook.changes 2020-03-27 00:23:44.376209458 +0100 @@ -1,0 +2,5 @@ +Sat Mar 14 08:12:35 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-Logbook.spec ++ --- /var/tmp/diff_new_pack.ujcmsv/_old 2020-03-27 00:23:45.200209875 +0100 +++ /var/tmp/diff_new_pack.ujcmsv/_new 2020-03-27 00:23:45.204209876 +0100 @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-Logbook Version:1.5.3 Release:0 Summary:A logging replacement for Python License:BSD-3-Clause -Group: Development/Languages/Python URL:https://github.com/getlogbook/logbook Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz BuildRequires: %{python_module Brotli} @@ -40,7 +40,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: python-mock BuildRequires: python-rpm-macros BuildRequires: redis BuildRequires: util-linux @@ -50,6 +49,9 @@ Recommends: python-gevent Recommends: python-pyzmq Recommends: python-redis +%if %{with python2} +BuildRequires: python-mock +%endif %python_subpackages %description
commit python-Logbook for openSUSE:Factory
Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2020-01-16 18:15:37 Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new.26092 (New) Package is "python-Logbook" Thu Jan 16 18:15:37 2020 rev:6 rq:764616 version:1.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2019-09-30 15:54:50.397944588 +0200 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new.26092/python-Logbook.changes 2020-01-16 18:15:48.444790404 +0100 @@ -1,0 +2,6 @@ +Wed Jan 15 10:46:40 UTC 2020 - Marketa Calabkova + +- Update to 1.5.3 + * Remove usage of deprecated collections API + +--- Old: Logbook-1.5.2.tar.gz New: Logbook-1.5.3.tar.gz Other differences: -- ++ python-Logbook.spec ++ --- /var/tmp/diff_new_pack.0EXbXx/_old 2020-01-16 18:15:49.292790884 +0100 +++ /var/tmp/diff_new_pack.0EXbXx/_new 2020-01-16 18:15:49.304790891 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Logbook # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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-Logbook -Version:1.5.2 +Version:1.5.3 Release:0 Summary:A logging replacement for Python License:BSD-3-Clause ++ Logbook-1.5.2.tar.gz -> Logbook-1.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.5.2/Logbook.egg-info/PKG-INFO new/Logbook-1.5.3/Logbook.egg-info/PKG-INFO --- old/Logbook-1.5.2/Logbook.egg-info/PKG-INFO 2019-08-21 06:34:20.0 +0200 +++ new/Logbook-1.5.3/Logbook.egg-info/PKG-INFO 2019-10-16 20:00:25.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Logbook -Version: 1.5.2 +Version: 1.5.3 Summary: A logging replacement for Python Home-page: http://logbook.pocoo.org/ Author: Armin Ronacher, Georg Brandl @@ -64,12 +64,12 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 -Provides-Extra: dev Provides-Extra: test -Provides-Extra: zmq +Provides-Extra: dev Provides-Extra: execnet -Provides-Extra: compression -Provides-Extra: jinja -Provides-Extra: redis Provides-Extra: sqlalchemy +Provides-Extra: redis +Provides-Extra: zmq +Provides-Extra: jinja +Provides-Extra: compression Provides-Extra: all diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.5.2/Logbook.egg-info/requires.txt new/Logbook-1.5.3/Logbook.egg-info/requires.txt --- old/Logbook-1.5.2/Logbook.egg-info/requires.txt 2019-08-21 06:34:20.0 +0200 +++ new/Logbook-1.5.3/Logbook.egg-info/requires.txt 2019-10-16 20:00:25.0 +0200 @@ -1,22 +1,22 @@ [all] +redis brotli -pytest-cov>=2.6 +pytest>4.0 +execnet>=1.0.9 cython pyzmq -redis -execnet>=1.0.9 +pytest-cov>=2.6 sqlalchemy Jinja2 -pytest>4.0 [compression] brotli [dev] pytest-cov>=2.6 -cython pytest>4.0 +cython [execnet] execnet>=1.0.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.5.2/PKG-INFO new/Logbook-1.5.3/PKG-INFO --- old/Logbook-1.5.2/PKG-INFO 2019-08-21 06:34:20.0 +0200 +++ new/Logbook-1.5.3/PKG-INFO 2019-10-16 20:00:25.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Logbook -Version: 1.5.2 +Version: 1.5.3 Summary: A logging replacement for Python Home-page: http://logbook.pocoo.org/ Author: Armin Ronacher, Georg Brandl @@ -64,12 +64,12 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 -Provides-Extra: dev Provides-Extra: test -Provides-Extra: zmq +Provides-Extra: dev Provides-Extra: execnet -Provides-Extra: compression -Provides-Extra: jinja -Provides-Extra: redis Provides-Extra: sqlalchemy +Provides-Extra: redis +Provides-Extra: zmq +Provides-Extra: jinja +Provides-Extra: compression Provides-Extra: all diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.5.2/logbook/__version__.py new/Logbook-1.5.3/logbook/__version__.py --- old/Logbook-1.5.2/logbook/__version__.py2019-08-21 06:33:30.0 +0200 +++ new/Logbook-1.5.3/logbook/__version__.py2019-10-16 19:59:35.0 +0200 @@ -1 +1 @@
commit python-Logbook for openSUSE:Factory
Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2019-09-30 15:54:40 Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new.2352 (New) Package is "python-Logbook" Mon Sep 30 15:54:40 2019 rev:5 rq:732888 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2019-09-23 12:17:31.241805673 +0200 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new.2352/python-Logbook.changes 2019-09-30 15:54:50.397944588 +0200 @@ -1,0 +2,6 @@ +Tue Sep 24 09:17:59 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.2: + * Added support for asyncio and contextvars + +--- Old: Logbook-1.4.3.tar.gz New: Logbook-1.5.2.tar.gz Other differences: -- ++ python-Logbook.spec ++ --- /var/tmp/diff_new_pack.wKJUYU/_old 2019-09-30 15:54:53.249936998 +0200 +++ /var/tmp/diff_new_pack.wKJUYU/_new 2019-09-30 15:54:53.257936976 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Logbook -Version:1.4.3 +Version:1.5.2 Release:0 Summary:A logging replacement for Python License:BSD-3-Clause @@ -33,11 +33,12 @@ BuildRequires: %{python_module execnet >= 1.0.9} BuildRequires: %{python_module gevent} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyzmq} BuildRequires: %{python_module redis} BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-mock BuildRequires: python-rpm-macros @@ -56,7 +57,7 @@ %prep %setup -q -n Logbook-%{version} -sed -i 's/\r$//' LICENSE +dos2unix LICENSE %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -72,8 +73,9 @@ %check export CFLAGS="%{optflags}" %{_sbindir}/redis-server & -%python_exec -m pytest -kill %1 +# test_asyncio_context_management seems to fail in OBS +%pytest -k 'not test_asyncio_context_management' +kill %%1 %files %{python_files} %license LICENSE ++ Logbook-1.4.3.tar.gz -> Logbook-1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.3/CHANGES new/Logbook-1.5.2/CHANGES --- old/Logbook-1.4.3/CHANGES 2019-01-16 21:34:24.0 +0100 +++ new/Logbook-1.5.2/CHANGES 2019-08-21 06:33:30.0 +0200 @@ -1,6 +1,13 @@ Logbook Changelog = +Version 1.5.1 +- + +Released on August 20th, 2019 + +- Added support for asyncio and contextvars + Version 1.4.3 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.3/Logbook.egg-info/PKG-INFO new/Logbook-1.5.2/Logbook.egg-info/PKG-INFO --- old/Logbook-1.4.3/Logbook.egg-info/PKG-INFO 2019-01-16 21:35:24.0 +0100 +++ new/Logbook-1.5.2/Logbook.egg-info/PKG-INFO 2019-08-21 06:34:20.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Logbook -Version: 1.4.3 +Version: 1.5.2 Summary: A logging replacement for Python Home-page: http://logbook.pocoo.org/ Author: Armin Ronacher, Georg Brandl @@ -64,12 +64,12 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Provides-Extra: dev Provides-Extra: test -Provides-Extra: jinja Provides-Extra: zmq -Provides-Extra: redis Provides-Extra: execnet -Provides-Extra: all Provides-Extra: compression +Provides-Extra: jinja +Provides-Extra: redis Provides-Extra: sqlalchemy -Provides-Extra: dev +Provides-Extra: all diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.3/Logbook.egg-info/SOURCES.txt new/Logbook-1.5.2/Logbook.egg-info/SOURCES.txt --- old/Logbook-1.4.3/Logbook.egg-info/SOURCES.txt 2019-01-16 21:35:24.0 +0100 +++ new/Logbook-1.5.2/Logbook.egg-info/SOURCES.txt 2019-08-21 06:34:20.0 +0200 @@ -30,6 +30,7 @@ scripts/test_setup.py tests/__init__.py tests/conftest.py +tests/test_asyncio.py tests/test_ci.py tests/test_deadlock.py tests/test_file_handler.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.3/Logbook.egg-info/requires.txt new/Logbook-1.5.2/Logbook.egg-info/requires.txt --- old/Logbook-1.4.3/Logbook.egg-info/requires.txt 2019-01-16 21:35:24.0 +0100 +++ new/Logbook-1.5.2/Logbook.egg-info/requires.txt 2019-08-21
commit python-Logbook for openSUSE:Factory
Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2019-09-23 12:17:29 Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new.7948 (New) Package is "python-Logbook" Mon Sep 23 12:17:29 2019 rev:4 rq:731162 version:1.4.3 Changes: --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2019-03-12 09:52:14.811552029 +0100 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new.7948/python-Logbook.changes 2019-09-23 12:17:31.241805673 +0200 @@ -1,0 +2,5 @@ +Sat Sep 14 15:30:16 UTC 2019 - John Vandenberg + +- Use python_expand in %build to allow building only a single flavour + +--- Other differences: -- ++ python-Logbook.spec ++ --- /var/tmp/diff_new_pack.NtRB68/_old 2019-09-23 12:17:31.765805587 +0200 +++ /var/tmp/diff_new_pack.NtRB68/_new 2019-09-23 12:17:31.765805587 +0200 @@ -60,11 +60,10 @@ %build export CFLAGS="%{optflags} -fno-strict-aliasing" -cython-%{python2_version} logbook/_speedups.pyx -%python2_build +%{python_expand cython-%{$python_version} logbook/_speedups.pyx +%{$python_build} rm logbook/_speedups.c -cython-%{python3_version} logbook/_speedups.pyx -%python3_build +} %install %python_install
commit python-Logbook for openSUSE:Factory
Hello community, here is the log from the commit of package python-Logbook for openSUSE:Factory checked in at 2019-03-12 09:52:11 Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old) and /work/SRC/openSUSE:Factory/.python-Logbook.new.28833 (New) Package is "python-Logbook" Tue Mar 12 09:52:11 2019 rev:3 rq:681853 version:1.4.3 Changes: --- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes 2018-08-12 20:55:43.281509722 +0200 +++ /work/SRC/openSUSE:Factory/.python-Logbook.new.28833/python-Logbook.changes 2019-03-12 09:52:14.811552029 +0100 @@ -1,0 +2,10 @@ +Tue Mar 5 16:39:48 UTC 2019 - Tomáš Chvátal + +- Update to version 1.4.3: + * Use correct record delimiters (null for UNIX, newline for network) in SyslogHandler (thanks Jonathan Kamens) + * Try to reconnect to SyslogHandler TCP sockets when they are disconnected (thanks Jonathan Kamens) + * Use RFC 5424 format for networking logging in SyslogHandler (thanks Jonathan Kamens) + * Fixed deprecated regular expression pattern (thanks Tsuyoshi Hombashi) + * Fixed TimedRotatingFileHandler rotation (thanks Tucker Beck) + +--- Old: Logbook-1.4.0.tar.gz New: Logbook-1.4.3.tar.gz Other differences: -- ++ python-Logbook.spec ++ --- /var/tmp/diff_new_pack.q9seBm/_old 2019-03-12 09:52:15.591551874 +0100 +++ /var/tmp/diff_new_pack.q9seBm/_new 2019-03-12 09:52:15.591551874 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Logbook # -# 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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Logbook -Version:1.4.0 +Version:1.4.3 Release:0 Summary:A logging replacement for Python License:BSD-3-Clause @@ -59,7 +59,7 @@ sed -i 's/\r$//' LICENSE %build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" cython-%{python2_version} logbook/_speedups.pyx %python2_build rm logbook/_speedups.c ++ Logbook-1.4.0.tar.gz -> Logbook-1.4.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.0/CHANGES new/Logbook-1.4.3/CHANGES --- old/Logbook-1.4.0/CHANGES 2018-05-15 15:48:39.0 +0200 +++ new/Logbook-1.4.3/CHANGES 2019-01-16 21:34:24.0 +0100 @@ -1,8 +1,32 @@ Logbook Changelog = +Version 1.4.3 +- + +Released on January 16th, 2019 + +- Fixed Pypi release for 1.4.2 + +Version 1.4.2 +- + +Released on December 11th, 2018 + +- Use correct record delimiters (null for UNIX, newline for network) in SyslogHandler (thanks Jonathan Kamens) +- Try to reconnect to SyslogHandler TCP sockets when they are disconnected (thanks Jonathan Kamens) +- Use RFC 5424 format for networking logging in SyslogHandler (thanks Jonathan Kamens) + Here you can see the full list of changes between each Logbook release. +Version 1.4.1 +- + +Released on October 14th, 2018 + +- Fixed deprecated regular expression pattern (thanks Tsuyoshi Hombashi) +- Fixed TimedRotatingFileHandler rotation (thanks Tucker Beck) + Version 1.4.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Logbook-1.4.0/Logbook.egg-info/PKG-INFO new/Logbook-1.4.3/Logbook.egg-info/PKG-INFO --- old/Logbook-1.4.0/Logbook.egg-info/PKG-INFO 2018-05-15 15:49:42.0 +0200 +++ new/Logbook-1.4.3/Logbook.egg-info/PKG-INFO 2019-01-16 21:35:24.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Logbook -Version: 1.4.0 +Version: 1.4.3 Summary: A logging replacement for Python Home-page: http://logbook.pocoo.org/ Author: Armin Ronacher, Georg Brandl @@ -64,12 +64,12 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 -Provides-Extra: all -Provides-Extra: execnet -Provides-Extra: jinja -Provides-Extra: redis -Provides-Extra: dev -Provides-Extra: sqlalchemy Provides-Extra: test +Provides-Extra: jinja Provides-Extra: zmq +Provides-Extra: redis +Provides-Extra: execnet +Provides-Extra: all
commit python-Logbook for openSUSE:Factory
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 - p...@cervinka.net + +- 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)