## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name QtPy %global simple_name qtpy Name: python-%{pypi_name} Version: 2.4.2 Release: %autorelease Summary: Provides an abstraction layer on top of the various Qt bindings # Automatically converted from old format: MIT and BSD - review is highly recommended. License: LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD URL: https://github.com/spyder-ide/%{simple_name} Source0: https://github.com/spyder-ide/%{simple_name}/archive/v%{version}/%{simple_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-setuptools BuildRequires: python3-devel %description QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide. It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where the QtGui module has been split into QtGui and QtWidgets). Basically, you write your code as if you were using PyQt5 but import qt from qtpy instead of PyQt5. %package -n python3-%{pypi_name} Summary: Provides an abstraction layer on top of the various Qt bindings %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide. It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where the QtGui module has been split into QtGui and QtWidgets). Basically, you write your code as if you were using PyQt5 but import qt from qtpy instead of PyQt5. %prep %autosetup -n %{simple_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE.txt %doc CHANGELOG.md README.md %{_bindir}/qtpy %{python3_sitelib}/qtpy %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog ## START: Generated by rpmautospec * Thu Nov 07 2024 Lumir Balhar - 2.4.2-1 - Update to 2.4.2 (rhbz#2324199) * Wed Sep 04 2024 Miroslav Suchý - 2.4.1-6 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 2.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.4.1-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 25 2023 Lumir Balhar - 2.4.1-1 - Update to 2.4.1 (rhbz#2246086) * Sat Sep 02 2023 Lumir Balhar - 2.4.0-1 - Update to 2.4.0 (rhbz#2236160) * Fri Jul 21 2023 Fedora Release Engineering - 2.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.3.1-2 - Rebuilt for Python 3.12 * Thu Apr 13 2023 jonathanspw - 2.3.1-1 - update to 2.3.1 rhbz#2182687 * Fri Jan 20 2023 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 jonathanspw - 2.3.0-1 - update to 2.3.0 rhbz#2117490 * Fri Jul 22 2022 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.1.0-2 - Rebuilt for Python 3.11 * Sat May 28 2022 Mukundan Ragavan - 2.1.0-1 - Update python-qtpy to v2.1.0 * Thu Mar 31 2022 Mukundan Ragavan - 2.0.1-1 - Update to 2.0.1 * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Mukundan Ragavan - 2.0.0-1 - Update to 2.0.0 * Sat Dec 11 2021 Mukundan Ragavan - 1.11.3-1 - Update to 1.11.3 * Fri Sep 24 2021 Mukundan Ragavan - 1.11.2-1 - Update to 1.11.2 * Sun Sep 19 2021 Mukundan Ragavan - 1.11.1-1 - Update to 1.11.1 * Sun Sep 05 2021 Mukundan Ragavan - 1.11.0-1 - Update to 1.11.0 * Wed Aug 18 2021 Mukundan Ragavan - 1.10.0-1 - Update to 1.10.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.9.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.9.0-7 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.9.0-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.9.0-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 22 2019 Mukundan Ragavan - 1.9.0-1 - Update to 1.9.0 * Mon Aug 19 2019 Miro Hrončok - 1.8.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 13 2019 Mukundan Ragavan - 1.8.0-1 - Update to 1.8.0 * Sun May 05 2019 Mukundan Ragavan - 1.7.1-1 - Update to 1.7.1 * Sat Mar 23 2019 Mukundan Ragavan - 1.7.0-1 - Update to 1.7.0 * Sat Mar 09 2019 Mukundan Ragavan - 1.6.0-1 - Update to 1.6.0 * Sat Feb 02 2019 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 28 2018 Mukundan Ragavan - 1.5.2-1 - Update to 1.5.2 - Drop py2 sub-packages * Fri Jul 13 2018 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.4.2-2 - Rebuilt for Python 3.7 * Tue May 08 2018 Mukundan Ragavan - 1.4.2-1 - Update to 1.4.2 * Sat May 05 2018 Mukundan Ragavan - 1.4.1-1 - Update to 1.4.1 * Sat Mar 17 2018 Mukundan Ragavan - 1.4.0-1 - Update to 1.4.0 * Fri Feb 09 2018 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 15 2018 Iryna Shcherbina - 1.3.1-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Aug 23 2017 Mukundan Ragavan - 1.3.1-1 - Update to 1.3.1 * Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Mar 17 2017 Mukundan Ragavan - 1.2.1-1 - Update to 1.2.1 * Sat Feb 11 2017 Fedora Release Engineering - 1.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.1.2-6 - Rebuild for Python 3.6 * Fri Sep 30 2016 Mukundan Ragavan - 1.1.2-5 - Add BSD in license * Fri Sep 30 2016 Mukundan Ragavan - 1.1.2-4 - Add doc files * Thu Sep 29 2016 Mukundan Ragavan - 1.1.2-3 - Fix source URL * Thu Sep 29 2016 Mukundan Ragavan - 1.1.2-2 - Fix license installation * Thu Aug 11 2016 Mukundan Ragavan - 1.1.2-1 - Initial package. ## END: Generated by rpmautospec