Hello community, here is the log from the commit of package rapport for openSUSE:Factory checked in at 2015-05-19 23:45:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rapport (Old) and /work/SRC/openSUSE:Factory/.rapport.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rapport" Changes: -------- --- /work/SRC/openSUSE:Factory/rapport/rapport.changes 2013-10-25 13:00:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rapport.new/rapport.changes 2015-05-19 23:46:39.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 19 06:51:22 UTC 2015 - [email protected] + +- fix importing for futures on Python 2 (fix-import.patch) + +------------------------------------------------------------------- New: ---- fix-import.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rapport.spec ++++++ --- /var/tmp/diff_new_pack.m6jDqa/_old 2015-05-19 23:46:39.000000000 +0200 +++ /var/tmp/diff_new_pack.m6jDqa/_new 2015-05-19 23:46:39.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rapport # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -24,6 +24,8 @@ Group: Development/Languages/Python Url: http://github.com/saschpe/rapport Source: http://pypi.python.org/packages/source/r/rapport/rapport-%{version}.tar.gz +# PATCH-FIX-OPENSUSE fix-import.patch -- fix importing for futures on Python 2 +Patch0: fix-import.patch BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: @@ -61,6 +63,7 @@ %prep %setup -q -n rapport-%{version} +%patch0 -p1 %build python setup.py build ++++++ fix-import.patch ++++++ --- a/rapport/report.py +++ b/rapport/report.py @@ -19,9 +19,9 @@ import shutil import subprocess import sys -if sys.version_info > (3, 3): +try: import concurrent.futures as futures -else: +except ImportError: import futures import traceback
