forked from pool/python-matplotlib
Accepting request 250125 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/250125 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=38
This commit is contained in:
parent
887a92432c
commit
d948f4d5e9
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 18 15:21:01 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Create subpackage to pull in latex dependencies so they are more
|
||||||
|
visible to users.
|
||||||
|
- Comment out testing BuildRequires since we aren't doing testing.
|
||||||
|
We aren't doing testing because it takes a long time and a lot
|
||||||
|
of packages depend on matplotlib, so it slows down the build
|
||||||
|
process for python packages too much.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 17 15:23:25 UTC 2014 - jmatejek@suse.com
|
Wed Sep 17 15:23:25 UTC 2014 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@ -48,9 +48,10 @@ BuildRequires: python-pytz
|
|||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-six >= 1.3
|
BuildRequires: python-six >= 1.3
|
||||||
BuildRequires: qhull-devel >= 2003.1
|
BuildRequires: qhull-devel >= 2003.1
|
||||||
# needed for testing
|
# needed for testing -- Not doing tests because they take too long
|
||||||
BuildRequires: python-mock
|
# BuildRequires: inkscape
|
||||||
BuildRequires: python-nose
|
# BuildRequires: python-mock
|
||||||
|
# BuildRequires: python-nose
|
||||||
# cairo dependencies
|
# cairo dependencies
|
||||||
BuildRequires: python-cairocffi
|
BuildRequires: python-cairocffi
|
||||||
# GTK dependencies
|
# GTK dependencies
|
||||||
@ -99,11 +100,6 @@ Recommends: libxml2-tools
|
|||||||
Recommends: python-Pillow
|
Recommends: python-Pillow
|
||||||
Recommends: poppler-tools
|
Recommends: poppler-tools
|
||||||
Recommends: python-matplotlib-tk
|
Recommends: python-matplotlib-tk
|
||||||
Suggests: inkscape
|
|
||||||
Suggests: texlive-dvipng
|
|
||||||
Suggests: texlive-latex
|
|
||||||
Suggests: texlive-sfmath
|
|
||||||
Suggests: texlive-tex
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%endif
|
%endif
|
||||||
@ -151,6 +147,20 @@ Requires: python-gobject
|
|||||||
This package includes the GTK3-based gtk3, gtk3agg, and
|
This package includes the GTK3-based gtk3, gtk3agg, and
|
||||||
gtk3cairo backends for the %{name} plotting package
|
gtk3cairo backends for the %{name} plotting package
|
||||||
|
|
||||||
|
%package latex
|
||||||
|
Summary: Allow rendering latex in %{name}
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: texlive-dvipng
|
||||||
|
Requires: texlive-latex
|
||||||
|
Requires: texlive-sfmath
|
||||||
|
Requires: texlive-tex
|
||||||
|
|
||||||
|
%description latex
|
||||||
|
This package allows %{name} to display latex in plots
|
||||||
|
and figures.
|
||||||
|
|
||||||
%package qt-shared
|
%package qt-shared
|
||||||
Summary: Shared files for the Qt backends for %{name}
|
Summary: Shared files for the Qt backends for %{name}
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -316,6 +326,12 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
|||||||
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
||||||
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
||||||
|
|
||||||
|
# Dummy package to pull in latex dependencies.
|
||||||
|
|
||||||
|
%files latex
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc doc/users/usetex.rst
|
||||||
|
|
||||||
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
||||||
# which is actually a generic qt backend.
|
# which is actually a generic qt backend.
|
||||||
# So we need to package all the qt5 stuff in this generic
|
# So we need to package all the qt5 stuff in this generic
|
||||||
|
Loading…
Reference in New Issue
Block a user