Mageia Bugzilla – Attachment 6818 Details for
Bug 15451
pyqtgraph, pure-python graphics and GUI library builds graphs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec with python3 and python3-opengl
python-pyqtgraph.spec (text/x-rpm-spec), 2.62 KB, created by
Dimitrios Glentadakis
on 2015-07-05 12:34:53 CEST
(
hide
)
Description:
Spec with python3 and python3-opengl
Filename:
MIME Type:
Creator:
Dimitrios Glentadakis
Created:
2015-07-05 12:34:53 CEST
Size:
2.62 KB
patch
obsolete
># Created by pyp2rpm-1.0.1 >%global pypi_name pyqtgraph >%define version 0.9.10 > >Name: python-%{pypi_name} >Version: %{version} >Release: %mkrel 1 >Group: Development/Python >Summary: Scientific Graphics and GUI Library for Python >License: MIT >URL: http://www.pyqtgraph.org/ >Source0: https://pypi.python.org/packages/source/p/pyqtgraph/pyqtgraph-%{version}.tar.gz >BuildArch: noarch >BuildRequires: python-devel >BuildRequires: python-sphinx >Requires: python-qt4 >Recommends: python-h5py >Recommends: python-opengl > > >%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. > > >%package -n python3-%{pypi_name} >Summary: Scientific Graphics and GUI Library for Python >Group: Development/Python >BuildRequires: python3-devel >BuildRequires: python3-sphinx >Requires: python3-qt4 >Recommends: python3-h5py >Recommends: python3-opengl > >%description -n python3-%{pypi_name} >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} > >cp -a . %{py3dir} > >%build >%{__python} setup.py build >pushd %{py3dir} >%{__python3} setup.py build >popd > >%install >%{__python} setup.py install --skip-build --root %{buildroot} >pushd %{py3dir} >%{__python3} setup.py install --skip-build --root=%{buildroot} >popd > >%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 >%{python_sitelib}/%{pypi_name}/* > >%files -n python3-%{pypi_name} >%doc html README.md pyqtgraph/metaarray/readMeta.m pyqtgraph/util/colorama/README.txt LICENSE.txt pyqtgraph/metaarray/license.txt pyqtgraph/util/colorama/LICENSE.txt >%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >%{python3_sitelib}/%{pypi_name}/*
# Created by pyp2rpm-1.0.1 %global pypi_name pyqtgraph %define version 0.9.10 Name: python-%{pypi_name} Version: %{version} Release: %mkrel 1 Group: Development/Python Summary: Scientific Graphics and GUI Library for Python License: MIT URL: http://www.pyqtgraph.org/ Source0: https://pypi.python.org/packages/source/p/pyqtgraph/pyqtgraph-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-sphinx Requires: python-qt4 Recommends: python-h5py Recommends: python-opengl %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. %package -n python3-%{pypi_name} Summary: Scientific Graphics and GUI Library for Python Group: Development/Python BuildRequires: python3-devel BuildRequires: python3-sphinx Requires: python3-qt4 Recommends: python3-h5py Recommends: python3-opengl %description -n python3-%{pypi_name} 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} cp -a . %{py3dir} %build %{__python} setup.py build pushd %{py3dir} %{__python3} setup.py build popd %install %{__python} setup.py install --skip-build --root %{buildroot} pushd %{py3dir} %{__python3} setup.py install --skip-build --root=%{buildroot} popd %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 %{python_sitelib}/%{pypi_name}/* %files -n python3-%{pypi_name} %doc html README.md pyqtgraph/metaarray/readMeta.m pyqtgraph/util/colorama/README.txt LICENSE.txt pyqtgraph/metaarray/license.txt pyqtgraph/util/colorama/LICENSE.txt %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python3_sitelib}/%{pypi_name}/*
View Attachment As Raw
Actions:
View
Attachments on
bug 15451
:
6817
| 6818