Accepting request 1208406 from KDE:Qt:PyQt

PyQt6 for 6.8. Tested on 15.6 by using retext + webengine. Works! (forwarded request 1208396 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1208406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=20
This commit is contained in:
Ana Guerrero 2024-10-17 16:38:25 +00:00 committed by Git OBS Bridge
commit dea8c721c1
4 changed files with 34 additions and 28 deletions

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Oct 15 12:43:28 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Update to 6.8.6
* Handle single number macOS deployment targets
* Support for architectures where `char` is unsigned
* Support for building from git archives
* Run the tests using the current Python version
* Missing dependency in `pyproject.toml`
* Added support for Python v3.13
* Make all tools accessable using `python -m`
* Assume C99 support
* Object map incorrect size assumptions for Windows 64
* Snapshot regression
* `%MappedType` documentation error
* Missing import affecting XML generation
* Fixed the generation of module-level attributes
* Documentation updates
* Imported from Mercurial
- Project is now BSD-2-Clause licensed
- The tarball on PyPi does not include docs or examples anymore
-------------------------------------------------------------------
Tue Apr 9 08:20:00 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -18,17 +18,19 @@
%{?sle15_python_module_pythons}
Name: python-sip6
Version: 6.8.3
Version: 6.8.6
Release: 0
Summary: A Python bindings generator for C/C++ libraries
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
License: BSD-2-Clause AND BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/Python-SIP/sip
Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 64}
# Technically >= 8, but we make it compatible in prep.
BuildRequires: %{python_module setuptools_scm >= 7}
BuildRequires: %{python_module tomli if %python-base < 3.11}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@ -72,23 +74,12 @@ to generate wxPython, the Python bindings for wxWidgets.
This package contains all the developer tools you need to create your
own sip bindings.
%if 0%{?suse_version} > 1500
%package -n python-sip6-doc
Summary: A Python bindings generator for C/C++ libraries -- common documentation
Group: Development/Libraries/Python
Provides: %{python_module sip6-doc = %{version}-%{release}}
%description -n python-sip6-doc
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.
This package contains the documentation and example files.
%endif
%prep
%autosetup -p1 -n sip-%{version}
# Make it work with setuptools_scm < 8
%if 0%{suse_version} < 1600
sed -i s/version_file/write_to/ pyproject.toml
%endif
%build
%pyproject_wheel
@ -102,7 +93,6 @@ This package contains the documentation and example files.
%python_clone -a %{buildroot}%{_bindir}/sip-sdist
%python_clone -a %{buildroot}%{_bindir}/sip-wheel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes -s doc
%check
# No upstream tests available. Appease rpmlint no-%%check-section
@ -124,10 +114,4 @@ This package contains the documentation and example files.
%{python_sitelib}/sipbuild
%{python_sitelib}/sip-%{version}.dist-info
%if 0%{?suse_version} > 1500
%files -n python-sip6-doc
%license LICENSE*
%doc doc/
%endif
%changelog

BIN
sip-6.8.3.tar.gz (Stored with Git LFS)

Binary file not shown.

3
sip-6.8.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fc959e48e6ec5d5af8bd026f69f5e24d08b3cb8abb342176f5ab8030cc07d7a
size 420778