- Update to 6.9.1

* sip-sdist creates PEP 625 compatible file names. The sdists
    created by sip-sdist are now compatible with PEP 625 in that
    they have lower case names. This ensures that they will still
    be able to be uploaded to PyPI. Resolves #23
  * Update the minimum version of setuptools. The minimum version
    of setuptools used by SIP and by the generated sip module
    sdists has been set to v69.5. This is the oldest version that
    supports PEP 625. Resolves #55
  * sip module sdist Requires-Python is incorrect. The minimum
    Python version in the generated sip module metadata is now set
    to v3.9. Resolves #56
- Release v6.9.0
  * Removal of support for Python v3.8. Generated bindings now
    require Python v3.9 or later.
  * Type hints now conform to PEP 585.
  * The latest sip module ABI versions are v12.16 and v13.9.
    Resolves #37
  * Added support for the deprecated() decorator in .pyi files.
    .pyi files now use the deprecated() decorator when the
    /Deprecated/ annotation is specified. The /Deprecated/
    annotation may now specify an optional string which will be
    appended to the default deprecation warning. Resolves #8
  * PyQt-specific support for registering QFlags types. Calls to
    qMetaTypeId() for all QFlags mapped types are now automatically
    generated for PyQt using ABI v13. Resolves #43
  ## Bug fixes
  * The handling of the SIP versions timeline was fixed. (Resolves
    #47)
  * Annotations are now only validated if they are known to be

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=45
This commit is contained in:
Benjamin Greiner 2025-01-08 21:21:25 +00:00 committed by Git OBS Bridge
commit b7021b2f74
7 changed files with 1592 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

1437
python-sip6.changes Normal file

File diff suppressed because it is too large Load Diff

122
python-sip6.spec Normal file
View File

@ -0,0 +1,122 @@
#
# spec file for package python-sip6
#
# 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}
Name: python-sip6
Version: 6.9.1
Release: 0
Summary: A Python bindings generator for C/C++ libraries
License: BSD-2-Clause AND BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/Python-SIP/sip
Source0: https://github.com/Python-SIP/sip/archive/refs/tags/%{version}.tar.gz#/sip-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 69.5}
# 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
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module devel}
BuildRequires: c++_compiler
# /SECTION
BuildArch: noarch
%python_subpackages
%description
SIP is a collection of tools that makes it very easy to create Python
bindings for C and C++ libraries. It was originally developed in 1998
to create PyQt, the Python bindings for the Qt toolkit, but can be used
to create bindings for any C or C++ library. For example it is also used
to generate wxPython, the Python bindings for wxWidgets.
%package devel
Summary: A Python bindings generator for C/C++ libraries
Group: Development/Libraries/Python
Requires: c++_compiler
Requires: python-base >= 3.9
Requires: python-packaging
Requires: python-setuptools >= 69.5
Requires: (python-tomli if python-base < 3.11)
Requires(post): update-alternatives
Requires(postun): update-alternatives
Conflicts: python-sip-impl
# boo#1190441: remove erroneously created non-devel python3X-sip metapackages.
# In order not to remove SIPv4 and possible future packages, we have to explicitly
# name the only version which made it into Factory.
Obsoletes: python-sip = 6.1.1
Provides: python-sip-devel = %{version}-%{release}
Provides: python-sip-impl = %{version}-%{release}
%description devel
SIP is a collection of tools that makes it very easy to create Python
bindings for C and C++ libraries. It was originally developed in 1998
to create PyQt, the Python bindings for the Qt toolkit, but can be used
to create bindings for any C or C++ library. For example it is also used
to generate wxPython, the Python bindings for wxWidgets.
This package contains all the developer tools you need to create your
own sip bindings.
%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
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sip-build
%python_clone -a %{buildroot}%{_bindir}/sip-distinfo
%python_clone -a %{buildroot}%{_bindir}/sip-install
%python_clone -a %{buildroot}%{_bindir}/sip-module
%python_clone -a %{buildroot}%{_bindir}/sip-sdist
%python_clone -a %{buildroot}%{_bindir}/sip-wheel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v test
%post devel
%python_install_alternative sip-build sip-distinfo sip-install sip-module sip-sdist sip-wheel
%postun devel
%python_uninstall_alternative sip-build
%files %{python_files devel}
%license LICENSE*
%python_alternative %{_bindir}/sip-build
%python_alternative %{_bindir}/sip-distinfo
%python_alternative %{_bindir}/sip-install
%python_alternative %{_bindir}/sip-module
%python_alternative %{_bindir}/sip-sdist
%python_alternative %{_bindir}/sip-wheel
%{python_sitelib}/sipbuild
%{python_sitelib}/sip-%{version}.dist-info
%changelog

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

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

BIN
sip-6.9.1-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.