17
0
Files
python-PyQt6-sip/python-PyQt6-sip.spec
Benjamin Greiner a75cba0b7e - Update to 13.10.0
* New ABI version 13.10
  * Match python3-sip6-devel 6.10
* Drop fix-license-in-setup_py.patch
- Change license to just BSD-2-Clause. Since all files are using
  this license and it's the only LICENSE file included I contacted
  upstream (Phil Thompson) and he confirmed that it's licensed
  just as BSD-2-Clause and setup.py needs fixing, so I added the
  following patch to change it:
  * fix-license-in-setup_py.patch
- Update to 13.9.1
  * New ABI version 13.9
  * Match python3-sip6-devel 6.9.1+
- Update to ABI version 13.8.0
  * Match python3-sip6-devel 6.8.6+
  * Is now BSD-2-Clause licensed
- Drop support-python3.6.patch
  * python-foo prefixed packages for SLE15 with python3.6 should be
    handled by an SLE internal maintenance request to python3-foo
- Update to ABI version 13.6.0
  * Properly fix the Python v3.12 support by deprecating
    sipPyTypeDict() and adding sipPyTypeDictRef().
- Update to ABI version 13.5.2
  * Match python-sip6-devel 6.7.10+
- Add %{?sle15_python_module_pythons}
- Update to 13.5.1
  * Fixed the new handling of ctors with /Transfer/ annotated
    arguments.
- Add patch to support Python 3.6 in order to build for
  SLE/Leap 15:
  * support-python3.6.patch
- Upate to ABI version 13.4.1
  *  am_send, wt_reserve
- Update to ABI version 13.4.0
  * The array type is now accessible from the sip module.
- Update to ABI version 13.3.1
- Support for Python 3.6 has been dropped
- Update to ABI version 13.2.1
  * fix in objmap
- Update to ABI version 13.2.0
  * no release notes other than those from SIP 6.5.0
- Update to version 13.1.0
- Initial specfile for version 13.0.1

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-sip?expand=0&rev=31
2025-04-04 05:58:57 +00:00

64 lines
2.1 KiB
RPMSpec

#
# spec file for package python-PyQt6-sip
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
# Check PyPI for version: https://pypi.org/project/PyQt6-sip/
Name: python-PyQt6-sip
Version: 13.10.0
Release: 0
Summary: The sip module support for PyQt6
License: BSD-2-Clause
URL: https://github.com/Python-SIP/sip
Source0: https://files.pythonhosted.org/packages/source/P/PyQt6-sip/pyqt6_sip-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
%description
The sip extension module provides support for the PyQt6 package.
SIP is a tool for automatically generating Python bindings for
C and C++ libraries. SIP was originally developed in 1998 for
PyQt - the Python bindings for the Qt GUI toolkit - but is
suitable for generating bindings for any C or C++ library. SIP
can also be used write self contained extension modules, i.e.
without a library to be wrapped.
%prep
%autosetup -p1 -n pyqt6_sip-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%license LICENSE
%dir %{python_sitearch}/PyQt6
%{python_sitearch}/PyQt6/sip*
%{python_sitearch}/[Pp]y[Qq]t6_sip-%{version}.dist-info
%changelog