Accepting request 679804 from home:favogt:branches:devel:languages:python:numeric
- Disable Qt4 support on Tumbleweed by default OBS-URL: https://build.opensuse.org/request/show/679804 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=11
This commit is contained in:
parent
513d506e34
commit
08061b278d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 27 13:01:27 UTC 2019 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Disable Qt4 support on Tumbleweed by default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 12 05:54:05 UTC 2018 - Arun Persaud <arun@gmx.de>
|
Mon Nov 12 05:54:05 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-matplotlib
|
# spec file for package python-matplotlib
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,6 +20,13 @@
|
|||||||
# The tests also pull in dependencies of all backends done in pure python
|
# The tests also pull in dependencies of all backends done in pure python
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
|
# No Qt4 plugin on > Leap 15
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_with qt4
|
||||||
|
%else
|
||||||
|
%bcond_without qt4
|
||||||
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
@ -79,8 +86,10 @@ BuildRequires: %{python_module cairocffi}
|
|||||||
# GTK3 dependencies
|
# GTK3 dependencies
|
||||||
BuildRequires: %{python_module gobject}
|
BuildRequires: %{python_module gobject}
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
%if %{with qt4}
|
||||||
# Qt4 dependencies
|
# Qt4 dependencies
|
||||||
BuildRequires: %{python_module qt4}
|
BuildRequires: %{python_module qt4}
|
||||||
|
%endif
|
||||||
# Qt5 dependencies
|
# Qt5 dependencies
|
||||||
BuildRequires: %{python_module qt5}
|
BuildRequires: %{python_module qt5}
|
||||||
# Wx dependencies
|
# Wx dependencies
|
||||||
@ -362,6 +371,7 @@ trap "kill $! || true" EXIT
|
|||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
|
||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
|
||||||
|
|
||||||
|
%if %{with qt4}
|
||||||
%files %{python_files qt4}
|
%files %{python_files qt4}
|
||||||
%license LICENSE/
|
%license LICENSE/
|
||||||
%license doc/users/license.rst
|
%license doc/users/license.rst
|
||||||
@ -369,6 +379,7 @@ trap "kill $! || true" EXIT
|
|||||||
%{python_sitearch}/matplotlib/backends/backend_qt4agg.py*
|
%{python_sitearch}/matplotlib/backends/backend_qt4agg.py*
|
||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py*
|
||||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py*
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files qt5}
|
%files %{python_files qt5}
|
||||||
%license LICENSE/
|
%license LICENSE/
|
||||||
|
Loading…
Reference in New Issue
Block a user