2022-04-19 17:55:15 +00:00
|
|
|
%global pkg_name pyqt6-sip
|
|
|
|
%global pypi_name PyQt6_sip
|
|
|
|
%global _sip_api_major 13
|
2022-09-05 11:10:27 +00:00
|
|
|
%global _sip_api_minor 4
|
2022-04-19 17:55:15 +00:00
|
|
|
%global _sip_api %{_sip_api_major}.%{_sip_api_minor}
|
|
|
|
|
|
|
|
Name: python-%{pkg_name}
|
2022-09-05 11:10:27 +00:00
|
|
|
Version: 13.4.0
|
2023-06-21 12:57:52 +00:00
|
|
|
Release: 4%{?dist}
|
2022-04-19 17:55:15 +00:00
|
|
|
Summary: The sip module support for PyQt6
|
|
|
|
|
|
|
|
License: GPLv2 or GPLv3
|
|
|
|
URL: https://www.riverbankcomputing.com/software/sip/
|
|
|
|
Source0: %{pypi_source}
|
2023-06-21 12:57:52 +00:00
|
|
|
# Patches needed for compatibility with Python 3.12
|
|
|
|
# https://www.riverbankcomputing.com/hg/sip/rev/312476401030
|
|
|
|
Patch: sipMalloc-and-sipFree-are-now-implemented-using-PyMe.patch
|
|
|
|
# https://www.riverbankcomputing.com/hg/sip/rev/d36867e54192
|
|
|
|
Patch: For-Python-v3.12-implement-sipPyTypeDict-using-PyTyp.patch
|
2022-04-19 17:55:15 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: %{py3_dist setuptools} >= 30.3
|
|
|
|
BuildRequires: %{py3_dist wheel}
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
The sip extension module provides support for the PyQt6 package.
|
|
|
|
}
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
%package -n python3-%{pkg_name}
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python3-%{pkg_name}}
|
|
|
|
Provides: python3-pyqt6-sip-api(%{_sip_api_major}) = %{_sip_api}
|
|
|
|
Provides: python3-pyqt6-sip-api(%{_sip_api_major})%{?_isa} = %{_sip_api}
|
|
|
|
|
|
|
|
%description -n python3-%{pkg_name} %_description
|
|
|
|
%prep
|
2023-06-21 12:57:52 +00:00
|
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
2022-04-19 17:55:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pkg_name}
|
|
|
|
%doc README
|
|
|
|
%license LICENSE LICENSE-GPL3
|
|
|
|
%{python3_sitearch}/PyQt6_sip*
|
|
|
|
%{python3_sitearch}/PyQt6/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-06-21 12:57:52 +00:00
|
|
|
* Wed Jun 21 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 13.4.0-4
|
|
|
|
- Backport patches needed for compatibility with Python 3.12
|
|
|
|
|
2023-06-13 18:50:11 +00:00
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 13.4.0-3
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-01-20 16:18:39 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-09-05 11:10:27 +00:00
|
|
|
* Mon Sep 05 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 13.4.0-1
|
|
|
|
- 13.4.0
|
|
|
|
|
2022-07-22 21:26:39 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 13:18:22 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 13.3.0-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-04-19 17:55:15 +00:00
|
|
|
* Wed Apr 13 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 13.3.0-1
|
|
|
|
- Initial Package
|