Hello community, here is the log from the commit of package python-bokeh for openSUSE:Factory checked in at 2020-04-23 18:38:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bokeh (Old) and /work/SRC/openSUSE:Factory/.python-bokeh.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bokeh" Thu Apr 23 18:38:29 2020 rev:20 rq:796514 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bokeh/python-bokeh.changes 2019-11-10 22:50:42.106167906 +0100 +++ /work/SRC/openSUSE:Factory/.python-bokeh.new.2738/python-bokeh.changes 2020-04-23 18:38:31.401015861 +0200 @@ -1,0 +2,5 @@ +Thu Apr 23 11:22:17 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bokeh.spec ++++++ --- /var/tmp/diff_new_pack.0ytani/_old 2020-04-23 18:38:32.873018677 +0200 +++ /var/tmp/diff_new_pack.0ytani/_new 2020-04-23 18:38:32.873018677 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bokeh # -# 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 @@ -20,6 +20,7 @@ # Tests fail due to missing git data, # and building the JS from source doesn't work %bcond_with tests +%bcond_without python2 Name: python-bokeh Version: 1.4.0 Release: 0 @@ -39,7 +40,6 @@ BuildRequires: %{python_module six >= 1.5.2} BuildRequires: %{python_module tornado >= 4.3} BuildRequires: fdupes -BuildRequires: python-futures >= 3.0.3 BuildRequires: python-rpm-macros BuildConflicts: python-buildservice-tweak Requires: python-Jinja2 >= 2.7 @@ -58,6 +58,9 @@ Recommends: python-pscript Recommends: python-vincent BuildArch: noarch +%if %{with python2} +BuildRequires: python-futures >= 3.0.3 +%endif %if %{with tests} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module boto}