Matej Cepl 2021-05-28 21:00:42 +00:00 committed by Git OBS Bridge
parent b774e72bb9
commit 6695531c49

View File

@ -16,11 +16,10 @@
#
# tests suite disabled by default. See below.
%bcond_with tests
%define skip_python2 1
%define skip_python36 1
# tests suite disabled by default. See below.
%bcond_with tests
Name: python-bokeh
Version: 2.3.0
Release: 0
@ -39,17 +38,6 @@ BuildRequires: %{python_module tornado >= 5.1}
BuildRequires: %{python_module typing_extensions >= 3.7.4}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
%if %{with tests}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 2.1}
BuildRequires: %{python_module selenium}
# Note: If you manage to activate the test suite, try to patch external mock out.
BuildRequires: %{python_module mock}
%endif
# /SECTION
BuildConflicts: python-buildservice-tweak
Requires: python-Jinja2 >= 2.7
Requires: python-Pillow >= 7.1.0
@ -62,6 +50,17 @@ Requires: python-typing_extensions >= 3.7.4
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
%if %{with tests}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module flaky}
# Note: If you manage to activate the test suite, try to patch external mock out.
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 2.1}
BuildRequires: %{python_module selenium}
%endif
# /SECTION
%python_subpackages
%description