|
|
5c97901 |
%global srcname pyqtgraph
|
|
|
6ca828e |
%global py3_deps python3-PyQt4 python3-numpy python3-pyopengl
|
|
|
5c97901 |
%global sum Scientific Graphics and GUI Library for Python
|
|
|
5c97901 |
%global desc \
|
|
|
5c97901 |
PyQtGraph is a pure-python graphics and GUI library built on PyQt4 / PySide and\
|
|
|
5c97901 |
numpy. It is intended for use in mathematics / scientific /engineering \
|
|
|
5c97901 |
applications. Despite being written entirely in python, the library is very \
|
|
|
5c97901 |
fast due to its heavy leverage of numpy for number crunching and Qt\'s \
|
|
|
5c97901 |
GraphicsView framework for fast display.
|
|
|
5c97901 |
|
|
|
5c97901 |
Name: python-%{srcname}
|
|
|
b2764f6 |
Version: 0.10.0
|
|
|
99946ff |
Release: 6%{?dist}
|
|
|
5c97901 |
Summary: %{sum}
|
|
|
5c97901 |
License: MIT
|
|
|
5c97901 |
URL: http://www.pyqtgraph.org/
|
|
|
b2764f6 |
Source0: http://www.pyqtgraph.org/downloads/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
b2764f6 |
# git clone https://github.com/pyqtgraph/test-data
|
|
|
b2764f6 |
# tar -zcf pyqtgraph-test-data-4c7d711.tar.gz test-data
|
|
|
b2764f6 |
Source1: pyqtgraph-test-data-4c7d711.tar.gz
|
|
|
5c97901 |
|
|
|
5c97901 |
BuildArch: noarch
|
|
|
99946ff |
BuildRequires: python3-devel
|
|
|
5c97901 |
# For Tests
|
|
|
99946ff |
BuildRequires: python3-pytest python3-six
|
|
|
99946ff |
BuildRequires: git-core xorg-x11-server-Xvfb %{py3_deps}
|
|
|
5c97901 |
|
|
|
5c97901 |
%description %{desc}
|
|
|
5c97901 |
|
|
|
5c97901 |
|
|
|
5c97901 |
%package -n python3-%{srcname}
|
|
|
5c97901 |
Summary: %{sum}
|
|
|
5c97901 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
5c97901 |
Requires: %{py3_deps}
|
|
|
5c97901 |
|
|
|
5c97901 |
%description -n python3-%{srcname} %{desc}
|
|
|
5c97901 |
|
|
|
5c97901 |
%package doc
|
|
|
5c97901 |
Summary: Documentation for the %{srcname} library
|
|
|
5c97901 |
|
|
|
5c97901 |
%description doc
|
|
|
5c97901 |
This package provides documentation for the %{srcname} library.
|
|
|
5c97901 |
|
|
|
5c97901 |
%prep
|
|
|
5c97901 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
b2764f6 |
%setup -T -D -b 1 -n %{srcname}-%{version}
|
|
|
b2764f6 |
mkdir ~/.pyqtgraph
|
|
|
b2764f6 |
mv ../test-data ~/.pyqtgraph
|
|
|
5c97901 |
|
|
|
5c97901 |
%build
|
|
|
5c97901 |
%py3_build
|
|
|
5c97901 |
|
|
|
5c97901 |
%install
|
|
|
5c97901 |
%py3_install
|
|
|
5c97901 |
rm -rf %{buildroot}/%{python3_sitelib}/pyqtgraph/examples
|
|
|
5c97901 |
rm -f doc/build/html/.buildinfo
|
|
|
5c97901 |
rm -f doc/build/html/objects.inv
|
|
|
5c97901 |
|
|
|
5c97901 |
%check
|
|
|
9904888 |
xvfb-run -a py.test-%{python3_version} -k "not (test_ImageItem or test_ImageItem_axisorder or test_PlotCurveItem or test_getArrayRegion or test_getArrayRegion_axisorder or test_PolyLineROI)"
|
|
|
5c97901 |
|
|
|
5c97901 |
%files -n python3-%{srcname}
|
|
|
5c97901 |
%license LICENSE.txt
|
|
|
5c97901 |
%doc CHANGELOG README.md
|
|
|
5c97901 |
%{python3_sitelib}/*
|
|
|
5c97901 |
|
|
|
5c97901 |
%files doc
|
|
|
5c97901 |
%doc examples doc/build/html
|
|
|
5c97901 |
|
|
|
5c97901 |
%changelog
|
|
|
99946ff |
* Tue Sep 11 2018 Scott Talbert <swt@techie.net> - 0.10.0-6
|
|
|
99946ff |
- Remove Python 2 subpackage (appears to be unused)
|
|
|
99946ff |
|
|
|
cadcdbf |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
cadcdbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cadcdbf |
|
|
|
f1a4e70 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-4
|
|
|
f1a4e70 |
- Rebuilt for Python 3.7
|
|
|
f1a4e70 |
|
|
|
9904888 |
* Fri Mar 16 2018 Scott Talbert <swt@techie.net> - 0.10.0-3
|
|
|
9904888 |
- Disable additional tests that only fail under Koji, fixes FTBFS (#1556569)
|
|
|
9904888 |
|
|
|
604f6eb |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
604f6eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
604f6eb |
|
|
|
b2764f6 |
* Sun Jul 30 2017 Scott Talbert <swt@techie.net> - 0.10.0-1
|
|
|
b2764f6 |
- New upstream release 0.10.0
|
|
|
b2764f6 |
|
|
|
443b180 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-14
|
|
|
443b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
443b180 |
|
|
|
d145e4b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-13
|
|
|
d145e4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d145e4b |
|
|
|
3a7a26f |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.10-12
|
|
|
3a7a26f |
- Rebuild for Python 3.6
|
|
|
3a7a26f |
|
|
|
cd2047f |
* Wed Jul 20 2016 Scott Talbert <swt@techie.net> - 0.9.10-11
|
|
|
cd2047f |
- De-fuzz the disable-failing-tests patch to fix F25 FTBFS
|
|
|
cd2047f |
|
|
|
63a8f99 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-10
|
|
|
63a8f99 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
63a8f99 |
|
|
|
6ca828e |
* Tue Mar 01 2016 Scott Talbert <swt@techie.net> - 0.9.10-9
|
|
|
6ca828e |
- Update dependency names
|
|
|
6ca828e |
|
|
|
e2f0c8c |
* Sat Feb 06 2016 Scott Talbert <swt@techie.net> - 0.9.10-8
|
|
|
e2f0c8c |
- Cherry-pick a couple of upstream patches to fix test failures on F24 rebuild
|
|
|
e2f0c8c |
|
|
|
1cb09fb |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-7
|
|
|
1cb09fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1cb09fb |
|
|
|
5b932df |
* Wed Nov 11 2015 Scott Talbert <swt@techie.net> - 0.9.10-6
|
|
|
5b932df |
- Remove pytest path patch on F23+ - fixes FTBFS with Python 3.5
|
|
|
5b932df |
|
|
|
04846da |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-5
|
|
|
04846da |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
04846da |
|
|
|
5c97901 |
* Fri Aug 07 2015 Scott Talbert <swt@techie.net> - 0.9.10-4
|
|
|
5c97901 |
- Moved documentation to subpackage
|
|
|
5c97901 |
|
|
|
5c97901 |
* Tue Aug 04 2015 Scott Talbert <swt@techie.net> - 0.9.10-3
|
|
|
5c97901 |
- Fix and run tests, move examples to docs, add docs
|
|
|
5c97901 |
|
|
|
5c97901 |
* Sun Aug 02 2015 Scott Talbert <swt@techie.net> - 0.9.10-2
|
|
|
5c97901 |
- Build python2 package also; update to latest python packaging standards
|
|
|
5c97901 |
|
|
|
5c97901 |
* Fri Jul 31 2015 Scott Talbert <swt@techie.net> 0.9.10-1
|
|
|
5c97901 |
- Initial packaging.
|