Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
python3-matplotlib
python3-matplotlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-matplotlib.spec of Package python3-matplotlib
# # 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor