Blame python-QtPy.spec

07a1c7
%global pypi_name QtPy
07a1c7
%global simple_name qtpy
07a1c7
07a1c7
Name:           python-%{pypi_name}
9a21be
Version:        1.5.2
9a21be
Release:        1%{?dist}
07a1c7
Summary:        Provides an abstraction layer on top of the various Qt bindings
07a1c7
07a1c7
License:        MIT and BSD
07a1c7
URL:            https://github.com/spyder-ide/%{simple_name}
07a1c7
Source0:        https://github.com/spyder-ide/%{simple_name}/archive/v%{version}/%{simple_name}-%{version}.tar.gz
07a1c7
BuildArch:      noarch
07a1c7
 
07a1c7
BuildRequires:  python3-setuptools
07a1c7
BuildRequires:  python3-devel
07a1c7
07a1c7
%description
07a1c7
07a1c7
QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you 
07a1c7
write applications using a single API call to either PyQt or PySide.
07a1c7
07a1c7
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
07a1c7
(where the QtGui module has been split into QtGui and QtWidgets).
07a1c7
07a1c7
Basically, you write your code as if you were using PyQt5 but import qt from 
07a1c7
qtpy instead of PyQt5.
07a1c7
07a1c7
%package -n     python3-%{pypi_name}
07a1c7
Summary:        Provides an abstraction layer on top of the various Qt bindings
07a1c7
%{?python_provide:%python_provide python3-%{pypi_name}}
07a1c7
07a1c7
%description -n python3-%{pypi_name}
07a1c7
07a1c7
QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you 
07a1c7
write applications using a single API call to either PyQt or PySide.
07a1c7
07a1c7
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
07a1c7
(where the QtGui module has been split into QtGui and QtWidgets).
07a1c7
07a1c7
Basically, you write your code as if you were using PyQt5 but import qt from 
07a1c7
qtpy instead of PyQt5.
07a1c7
07a1c7
%prep
07a1c7
%autosetup -n %{simple_name}-%{version}
07a1c7
07a1c7
rm -rf %{pypi_name}.egg-info
07a1c7
07a1c7
%build
07a1c7
%py3_build
07a1c7
07a1c7
%install
07a1c7
%py3_install
07a1c7
07a1c7
%files -n python3-%{pypi_name} 
07a1c7
%license LICENSE.txt
07a1c7
%doc CHANGELOG.md README.md
07a1c7
%{python3_sitelib}/qtpy
07a1c7
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
07a1c7
07a1c7
%changelog
9a21be
* Wed Nov 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.5.2-1
9a21be
- Update to 1.5.2
9a21be
- Drop py2 sub-packages
9a21be
b51573
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
b51573
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b51573
f5c196
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
f5c196
- Rebuilt for Python 3.7
f5c196
1ef12c
* Tue May 08 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.2-1
3252e4
- Update to 1.4.2
3252e4
6412f9
* Sat May 05 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.1-1
6412f9
- Update to 1.4.1
6412f9
05af33
* Sat Mar 17 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.4.0-1
05af33
- Update to 1.4.0
05af33
1521fa
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
1521fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1521fa
4eabee
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.1-2
4eabee
- Update Python 2 dependency declarations to new packaging standards
4eabee
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4eabee
01c9b3
* Wed Aug 23 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.3.1-1
01c9b3
- Update to 1.3.1
01c9b3
f17ffe
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
f17ffe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f17ffe
82689f
* Fri Mar 17 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.2.1-1
82689f
- Update to 1.2.1
82689f
d9a8a2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-7
d9a8a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d9a8a2
4f2656
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-6
4f2656
- Rebuild for Python 3.6
4f2656
07a1c7
* Fri Sep 30 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-5
07a1c7
- Add BSD in license
07a1c7
07a1c7
* Fri Sep 30 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-4
07a1c7
- Add doc files
07a1c7
07a1c7
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-3
07a1c7
- Fix source URL
07a1c7
07a1c7
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-2
07a1c7
- Fix license installation
07a1c7
07a1c7
* Thu Aug 11 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.1.2-1
07a1c7
- Initial package.