Bug 15451

Summary: pyqtgraph, pure-python graphics and GUI library builds graphs
Product: Mageia Reporter: jb butet <ashashiwa>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: dglent, mike.crecelius
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://www.pyqtgraph.org/
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on: 16295    
Bug Blocks:    
Attachments: Spec file with python3
Spec with python3 and python3-opengl

Description jb butet 2015-03-08 17:26:01 CET
Description of problem:
pyqtgraph is a library that allows great graphs under python.

Version-Release number of selected component (if applicable):
http://www.pyqtgraph.org/downloads/pyqtgraph-0.9.10.tar.gz



Reproducible: 

Steps to Reproduce:
Comment 1 jb butet 2015-03-08 17:59:34 CET
here is the spec file, generated by pyp2rpm

# Created by pyp2rpm-1.0.1
%global pypi_name pyqtgraph
%define version 0.9.10

Name:           python-qtgraph
Version:        %{version}
Release:        %mkrel 1
Group:          Development/Python
Summary:        Scientific Graphics and GUI Library for Python

License:        MIT
URL:            TODO:
Source0:        https://pypi.python.org/packages/source/p/pyqtgraph/pyqtgraph-%{version}.tar.gz
BuildArch:      noarch
 
BuildRequires:  python-devel
BuildRequires:  python-sphinx


%description
PyQtGraph is a pure-python graphics and GUI library built on PyQt4/PySide and
numpy. 

It is intended for use in mathematics / scientific / engineering
applications.
Despite being written entirely in python, the library is very
fast due to its
heavy leverage of numpy for number crunching, Qt's GraphicsView
framework for
2D display, and OpenGL for 3D display.


%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

# generate html docs 
sphinx-build doc/source html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --skip-build --root %{buildroot}


%files
%doc html README.md pyqtgraph/metaarray/readMeta.m pyqtgraph/util/colorama/README.txt LICENSE.txt pyqtgraph/metaarray/license.txt pyqtgraph/util/colorama/LICENSE.txt
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
Mike Crecelius 2015-04-05 03:41:50 CEST

CC: (none) => mike.crecelius
Summary: add pyqtgraph in core distribution => pyqtgraph, pure-python graphics and GUI library builds graphs

Dimitrios Glentadakis 2015-07-05 12:18:07 CEST

Depends on: (none) => 16295

Comment 2 Dimitrios Glentadakis 2015-07-05 12:20:10 CEST
Created attachment 6817 [details]
Spec file with python3

Thanks for the spec, i added python3 and dependancies

CC: (none) => dglent

Comment 3 Dimitrios Glentadakis 2015-07-05 12:34:53 CEST
Created attachment 6818 [details]
Spec with python3 and python3-opengl

Attachment 6817 is obsolete: 0 => 1

Comment 4 Dimitrios Glentadakis 2015-07-06 05:45:11 CEST
Imported in Cauldron

Status: NEW => RESOLVED
Resolution: (none) => FIXED