Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:misc
python-PythonQwt
python-PythonQwt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-PythonQwt.spec of Package python-PythonQwt
# # spec file for package python-PythonQwt # # Copyright (c) 2017 SUSE LINUX 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-PythonQwt Version: 0.5.5 Release: 0 Summary: Qt plotting widgets for Python License: MIT Group: Development/Languages/Python Url: https://github.com/PierreRaybaut/PythonQwt Source: https://files.pythonhosted.org/packages/source/P/PythonQwt/PythonQwt-%{version}.zip BuildRequires: %{python_module devel} BuildRequires: %{python_module qt5} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip %if %{with test} BuildRequires: %{python_module guidata} %endif Requires: python-numpy Requires: python-qt5 BuildArch: noarch %python_subpackages %description The PythonQwt package is a 2D-data plotting library using Qt graphical user interfaces for the Python programming language. It is compatible with both PyQt4 and PyQt5 (PySide is currently not supported but it could be in the near future as it would “only” requires testing to support it as a stable alternative to PyQt). The PythonQwt project was initiated to solve -at least temporarily- the obsolescence issue of PyQwt (the Python-Qwt C++ bindings library) which is no longer maintained. The idea was to translate the original Qwt C++ code to Python and then to optimize some parts of the code by writing new modules based on NumPy and other libraries. The PythonQwt package consists of a single Python package named qwt which is a pure Python implementation of Qwt C++ library with some limitations: efforts were concentrated on basic plotting features, leaving higher level features to the guiqwt library. %prep %setup -q -n PythonQwt-%{version} # Fix wrong file end-of-line encoding sed -i 's/\r$//' CHANGELOG.md sed -i 's/\r$//' LICENSE sed -i 's/\r$//' README.md %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} rm %{buildroot}%{_bindir}/PythonQwt-tests-* %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc CHANGELOG.md LICENSE README.md %{python_sitelib}/qwt/ %{python_sitelib}/PythonQwt-%{version}-py*.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