forked from pool/python-matplotlib
Accepting request 179888 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory. OBS-URL: https://build.opensuse.org/request/show/179888 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=24
This commit is contained in:
parent
89ec85c1c8
commit
9fef6e540e
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-matplotlib
|
# spec file for package python-matplotlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products 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
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Nov 12 04:28:18 UTC 2012 - highwaystar.ru@gmail.com
|
|
||||||
|
|
||||||
- update to 1.2.0
|
|
||||||
* Python 3.x support
|
|
||||||
* PGF/TikZ backend
|
|
||||||
* Locator interface
|
|
||||||
* Tri-Surface Plots
|
|
||||||
* Control the lengths of colorbar extensions
|
|
||||||
* Figures are picklable
|
|
||||||
* Set default bounding box in matplotlibrc
|
|
||||||
* New Boxplot Functionality
|
|
||||||
* New RC parameter functionality
|
|
||||||
* Streamplot
|
|
||||||
* New hist functionality
|
|
||||||
* Updated shipped dependencies
|
|
||||||
* Face-centred colors in tripcolor plots
|
|
||||||
* Hatching patterns in filled contour plots, with legends
|
|
||||||
- python3 package added
|
|
||||||
|
|
@ -1,113 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python3-matplotlib
|
|
||||||
#
|
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%define modname matplotlib
|
|
||||||
Name: python3-%{modname}
|
|
||||||
Version: 1.2.0
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
Summary: Plotting Library for Python
|
|
||||||
License: BSD-2-Clause
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Url: http://sourceforge.net/projects/%{modname}
|
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
|
||||||
#special config for python3 needed because of lack of wx and gtk backends
|
|
||||||
Source1: py3-%{modname}-setup.cfg
|
|
||||||
Patch0: no-multiprocessing-setup.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
BuildRequires: fltk-devel
|
|
||||||
BuildRequires: freetype2-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
|
|
||||||
BuildRequires: python3-2to3
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-distribute
|
|
||||||
BuildRequires: python3-numpy-devel >= 1.2.1
|
|
||||||
BuildRequires: python3-tk
|
|
||||||
BuildRequires: python3-xml
|
|
||||||
BuildRequires: tcl
|
|
||||||
BuildRequires: tcl-devel
|
|
||||||
BuildRequires: tk
|
|
||||||
BuildRequires: tk-devel
|
|
||||||
|
|
||||||
Requires: python3-dateutil
|
|
||||||
Requires: python3-numpy >= 1.2.1
|
|
||||||
Requires: python3-tz
|
|
||||||
|
|
||||||
BuildRequires: python3-qt4
|
|
||||||
|
|
||||||
## These packages are required to prevent that matplotlib installs it's
|
|
||||||
## own versions of the packages from the lib directory
|
|
||||||
BuildRequires: python3-dateutil
|
|
||||||
BuildRequires: python3-tz
|
|
||||||
|
|
||||||
%description
|
|
||||||
matplotlib is a python 2D plotting library which produces publication
|
|
||||||
quality figures in a variety of hardcopy formats and interactive
|
|
||||||
environments across platforms. matplotlib can be used in python
|
|
||||||
scripts, the python and ipython shell (ala matlab or mathematica), web
|
|
||||||
application servers, and six graphical user interface toolkits.
|
|
||||||
|
|
||||||
%package tk
|
|
||||||
Summary: Tk backend for python-matplotlib
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: python3-tk
|
|
||||||
|
|
||||||
%description tk
|
|
||||||
Tk backend for python-matplotlib plotting package
|
|
||||||
|
|
||||||
%prep
|
|
||||||
|
|
||||||
%setup -n matplotlib-%{version}
|
|
||||||
%patch0 -p0
|
|
||||||
chmod -x lib/%{modname}/mpl-data/images/*.svg
|
|
||||||
|
|
||||||
%build
|
|
||||||
cp %{SOURCE1} ./setup.cfg
|
|
||||||
python3 setup.py build
|
|
||||||
|
|
||||||
%install
|
|
||||||
python3 setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix}
|
|
||||||
if [ -d "%{buildroot}%{python3_sitearch}/__pycache__" ]; then
|
|
||||||
rm -r %{buildroot}%{python3_sitearch}/__pycache__
|
|
||||||
fi
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.txt CHANGELOG INSTALL
|
|
||||||
%doc TODO CXX examples
|
|
||||||
%{python3_sitearch}/%{modname}/
|
|
||||||
%{python3_sitearch}/%{modname}-1.2.0-py%{py3_ver}.egg-info
|
|
||||||
%{python3_sitearch}/mpl_toolkits/
|
|
||||||
%{python3_sitearch}/pylab.py*
|
|
||||||
%exclude %{python3_sitearch}/%{modname}/backends/backend_tkagg.*
|
|
||||||
%exclude %{python3_sitearch}/%{modname}/backends/tkagg.*
|
|
||||||
|
|
||||||
%files tk
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/%{modname}/backends/backend_tkagg.*
|
|
||||||
%{python3_sitearch}/%{modname}/backends/tkagg.*
|
|
||||||
|
|
||||||
%changelog
|
|
Loading…
Reference in New Issue
Block a user