862e5bc
%global pypi_name sip
862e5bc
862e5bc
Name:           sip6
5f2fbbb
Version:        6.8.3
bf711ae
Release:        2%{?dist}
862e5bc
Summary:        SIP - Python/C++ Bindings Generator
862e5bc
%py_provides    python3-sip6
862e5bc
71e1cf5
License:        GPL-2.0-only OR GPL-3.0-only
862e5bc
URL:            https://www.riverbankcomputing.com/software/sip
862e5bc
Source0:        %{pypi_source}
bf711ae
bf711ae
# Workaround hang/OOM kill in Python 3.13, avoid calling list.remove() in try-except.
bf711ae
# See commit message in the patch for details.
bf711ae
Patch:          Workaround-hang-OOM-kill-in-Python-3.13.patch
bf711ae
1b504c8
BuildArch:      noarch
862e5bc
862e5bc
BuildRequires:  python3-devel
862e5bc
862e5bc
%global _description %{expand:
862e5bc
SIP is a collection of tools that makes it very easy to create Python bindings
862e5bc
for C and C++ libraries.  It was originally developed in 1998 to create PyQt,
862e5bc
the Python bindings for the Qt toolkit, but can be used to create bindings for
862e5bc
any C or C++ library.  For example it is also used to generate wxPython, the
862e5bc
Python bindings for wxWidgets.}
862e5bc
862e5bc
%description %_description
862e5bc
862e5bc
%prep
862e5bc
%autosetup -n %{pypi_name}-%{version} -p 1
862e5bc
b9657da
%generate_buildrequires
b9657da
%pyproject_buildrequires
b9657da
862e5bc
%build
b9657da
%pyproject_wheel
862e5bc
862e5bc
%install
b9657da
%pyproject_install
862e5bc
862e5bc
%check
862e5bc
%py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools
862e5bc
862e5bc
862e5bc
%files
862e5bc
%doc README
862e5bc
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
862e5bc
%{_bindir}/sip*
1b504c8
%{python3_sitelib}/sip-*
1b504c8
%{python3_sitelib}/sipbuild/
862e5bc
862e5bc
%changelog
bf711ae
* Thu Mar 14 2024 Miro Hrončok <mhroncok@redhat.com> - 6.8.3-2
bf711ae
- Workaround hang/OOM kill in Python 3.13
bf711ae
5f2fbbb
* Wed Feb 21 2024 Scott Talbert <swt@techie.net> - 6.8.3-1
5f2fbbb
- Update to new upstream release 6.8.3 (#2263494)
5f2fbbb
64f9280
* Mon Feb 12 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.2-2
64f9280
- Rebuild (fixed SPDX license)
64f9280
1b504c8
* Thu Jan 25 2024 Scott Talbert <swt@techie.net> - 6.8.2-1
1b504c8
- Update to new upstream release 6.8.2 (#2252260)
1b504c8
f42ec26
* Mon Oct 16 2023 Jan Grulich <jgrulich@redhat.com> - 6.7.12-1
f42ec26
- 6.7.12
f42ec26
501c675
* Wed Aug 02 2023 Scott Talbert <swt@techie.net> - 6.7.11-1
501c675
- Update to new upstream release 6.7.11 (#2225117)
501c675
6c48b64
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.9-3
6c48b64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
6c48b64
7ee0589
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 6.7.9-2
7ee0589
- Rebuilt for Python 3.12
7ee0589
8eb290e
* Wed Apr 26 2023 Scott Talbert <swt@techie.net> - 6.7.9-1
8eb290e
- Update to new upstream release 6.7.9 (#2185559)
8eb290e
165099d
* Tue Feb 07 2023 Scott Talbert <swt@techie.net> - 6.7.7-1
165099d
- Update to new upstream release 6.7.7 (#2167385)
165099d
b9657da
* Tue Jan 31 2023 Scott Talbert <swt@techie.net> - 6.7.6-1
b9657da
- Update to new upstream release 6.7.6 (#2165207)
b9657da
- Modernize python packaging
b9657da
178ace7
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.5-2
178ace7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
178ace7
2507207
* Fri Dec 02 2022 Scott Talbert <swt@techie.net> - 6.7.5-1
2507207
- Update to new upstream release 6.7.5 (#2131647)
2507207
4b3d25e
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.2-2
4b3d25e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4b3d25e
54ff1bc
* Tue Jul 19 2022 Scott Talbert <swt@techie.net> - 6.6.2-1
54ff1bc
- Update to new upstream release 6.6.2 (#2074712)
54ff1bc
f571fb1
* Wed Jun 15 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 6.5.1-3
f571fb1
- Add patch for Python 3.11 compatibility
f571fb1
23c09ce
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.5.1-2
23c09ce
- Rebuilt for Python 3.11
23c09ce
7c8cb81
* Fri Feb 18 2022 Scott Talbert <swt@techie.net> - 6.5.1-1
7c8cb81
- Update to new upstream release 6.5.1 (#2049172)
7c8cb81
be4c20c
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.0-2
be4c20c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
be4c20c
04aa2b4
* Tue Dec 14 2021 Scott Talbert <swt@techie.net> - 6.5.0-1
04aa2b4
- Update to new upstream release 6.5.0 (#2028405)
04aa2b4
ea13572
* Sat Oct 30 2021 Scott Talbert <swt@techie.net> - 6.4.0-1
ea13572
- Update to new upstream release 6.4.0 (#2018175)
ea13572
39ec404
* Wed Oct 13 2021 Scott Talbert <swt@techie.net> - 6.3.1-1
39ec404
- Update to new upstream release 6.3.1 (#2013781)
39ec404
a557e30
* Tue Oct 12 2021 Scott Talbert <swt@techie.net> - 6.3.0-1
a557e30
- Update to new upstream release 6.3.0 (#2013274)
a557e30
62c0d11
* Mon Oct 04 2021 Scott Talbert <swt@techie.net> - 6.2.0-1
62c0d11
- Update to new upstream release 6.2.0 (#2010059)
62c0d11
6dd7b27
* Wed Aug 04 2021 Scott Talbert <swt@techie.net> - 6.1.1-3
6dd7b27
- Fix handling of Unicode docstrings
6dd7b27
31a33af
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
31a33af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
31a33af
862e5bc
* Thu Jul 08 2021 Scott Talbert <swt@techie.net> - 6.1.1-1
862e5bc
- Initial package.