07a1c70
%global pypi_name QtPy
07a1c70
%global simple_name qtpy
07a1c70
07a1c70
Name:           python-%{pypi_name}
64c5793
Version:        1.9.0
031bcfd
Release:        2%{?dist}
07a1c70
Summary:        Provides an abstraction layer on top of the various Qt bindings
07a1c70
07a1c70
License:        MIT and BSD
07a1c70
URL:            https://github.com/spyder-ide/%{simple_name}
07a1c70
Source0:        https://github.com/spyder-ide/%{simple_name}/archive/v%{version}/%{simple_name}-%{version}.tar.gz
07a1c70
BuildArch:      noarch
07a1c70
 
07a1c70
BuildRequires:  python3-setuptools
07a1c70
BuildRequires:  python3-devel
07a1c70
07a1c70
%description
07a1c70
07a1c70
QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you 
07a1c70
write applications using a single API call to either PyQt or PySide.
07a1c70
07a1c70
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
07a1c70
(where the QtGui module has been split into QtGui and QtWidgets).
07a1c70
07a1c70
Basically, you write your code as if you were using PyQt5 but import qt from 
07a1c70
qtpy instead of PyQt5.
07a1c70
07a1c70
%package -n     python3-%{pypi_name}
07a1c70
Summary:        Provides an abstraction layer on top of the various Qt bindings
07a1c70
%{?python_provide:%python_provide python3-%{pypi_name}}
07a1c70
07a1c70
%description -n python3-%{pypi_name}
07a1c70
07a1c70
QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you 
07a1c70
write applications using a single API call to either PyQt or PySide.
07a1c70
07a1c70
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
07a1c70
(where the QtGui module has been split into QtGui and QtWidgets).
07a1c70
07a1c70
Basically, you write your code as if you were using PyQt5 but import qt from 
07a1c70
qtpy instead of PyQt5.
07a1c70
07a1c70
%prep
07a1c70
%autosetup -n %{simple_name}-%{version}
07a1c70
07a1c70
rm -rf %{pypi_name}.egg-info
07a1c70
07a1c70
%build
07a1c70
%py3_build
07a1c70
07a1c70
%install
07a1c70
%py3_install
07a1c70
07a1c70
%files -n python3-%{pypi_name} 
07a1c70
%license LICENSE.txt
07a1c70
%doc CHANGELOG.md README.md
07a1c70
%{python3_sitelib}/qtpy
07a1c70
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
07a1c70
07a1c70
%changelog
031bcfd
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.9.0-2
031bcfd
- Rebuilt for Python 3.8.0rc1 (#1748018)
031bcfd
64c5793
* Thu Aug 22 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.9.0-1
64c5793
- Update to 1.9.0
64c5793
7fceb7e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-3
7fceb7e
- Rebuilt for Python 3.8
7fceb7e
449cb07
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
449cb07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
449cb07
bdc165b
* Thu Jun 13 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.8.0-1
bdc165b
- Update to 1.8.0
bdc165b
660da0b
* Sun May 05 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.7.1-1
660da0b
- Update to 1.7.1
660da0b
aab97f7
* Sat Mar 23 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.7.0-1
aab97f7
- Update to 1.7.0
aab97f7
6338e29
* Sat Mar 09 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.6.0-1
6338e29
- Update to 1.6.0
6338e29
32011b1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
32011b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
32011b1
9a21be8
* Wed Nov 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.5.2-1
9a21be8
- Update to 1.5.2
9a21be8
- Drop py2 sub-packages
9a21be8
b51573f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
b51573f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b51573f
f5c196e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
f5c196e
- Rebuilt for Python 3.7
f5c196e
1ef12c3
* Tue May 08 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.2-1
3252e4c
- Update to 1.4.2
3252e4c
6412f96
* Sat May 05 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.1-1
6412f96
- Update to 1.4.1
6412f96
05af33f
* Sat Mar 17 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.0-1
05af33f
- Update to 1.4.0
05af33f
1521fa7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
1521fa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1521fa7
4eabee2
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.1-2
4eabee2
- Update Python 2 dependency declarations to new packaging standards
4eabee2
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4eabee2
01c9b31
* Wed Aug 23 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.3.1-1
01c9b31
- Update to 1.3.1
01c9b31
f17ffef
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
f17ffef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f17ffef
82689ff
* Fri Mar 17 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.2.1-1
82689ff
- Update to 1.2.1
82689ff
d9a8a2d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-7
d9a8a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d9a8a2d
4f26563
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-6
4f26563
- Rebuild for Python 3.6
4f26563
07a1c70
* Fri Sep 30 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-5
07a1c70
- Add BSD in license
07a1c70
07a1c70
* Fri Sep 30 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-4
07a1c70
- Add doc files
07a1c70
07a1c70
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-3
07a1c70
- Fix source URL
07a1c70
07a1c70
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-2
07a1c70
- Fix license installation
07a1c70
07a1c70
* Thu Aug 11 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-1
07a1c70
- Initial package.