Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-gnuplot-py
python-gnuplot-py.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-gnuplot-py.spec of Package python-gnuplot-py
# # spec file for package python-gnuplot-py # # 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 gnuplot_py %define pyname Gnuplot %define tarname gnuplot-py Name: python-%{tarname} Version: 1.8 Release: 1 License: LGPL-2.1 Summary: Python interface for Gnuplot Url: http://%{tarname}.sourceforge.net/ Group: Development/Libraries/Python Source0: %{tarname}-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-numpy-devel Requires: gnuplot Requires: python-numpy BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %if 0%{?suse_version} <= 1110 %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);") %else BuildArch: noarch %endif %description Gnuplot.py is a Python package that interfaces to gnuplot, the popular open-source plotting program. It allows you to use gnuplot from within Python to plot arrays of data from memory, data files, or mathematical functions. If you use Python to perform computations or as `glue' for numerical programs, you can use this package to plot data on the fly as they are computed. And the combination with Python makes it is easy to automate things, including to create crude `animations' by plotting different datasets one after another. %prep %setup -q -n %{tarname}-%{version} %build python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} chmod a+x %{buildroot}%{python_sitelib}/%{pyname}/funcutils.py chmod a+x %{buildroot}%{python_sitelib}/%{pyname}/utils.py chmod a+x %{buildroot}%{python_sitelib}/%{pyname}/__init__.py chmod a+x %{buildroot}%{python_sitelib}/%{pyname}/test.py chmod a+x %{buildroot}%{python_sitelib}/%{pyname}/demo.py %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Gnuplot.html README.txt FAQ.txt LICENSE.txt %{python_sitelib}/%{pyname}/ %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info %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