Sync from SUSE:SLFO:Main python-sip6 revision 2cfccdc740e7a93801462541e9eca2fd
This commit is contained in:
parent
f50244dd32
commit
0f6e3cbe3c
@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 15:41:11 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
needed.
|
||||
* The buffer protocol support for byte objects was fixed.
|
||||
(Resolves #36)
|
||||
* All outstanding compiler warnings were eliminated when building
|
||||
the sip module. (Resolves #32)
|
||||
* Redundant % in trace output of this pointer in were removed.
|
||||
(Pull request #33)
|
||||
- Use github tarball and enable test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sip6
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# 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
|
||||
@ -18,21 +18,28 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-sip6
|
||||
Version: 6.8.3
|
||||
Version: 6.9.1
|
||||
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}
|
||||
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}
|
||||
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
|
||||
@ -48,9 +55,9 @@ to generate wxPython, the Python bindings for wxWidgets.
|
||||
Summary: A Python bindings generator for C/C++ libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: c++_compiler
|
||||
Requires: python-base >= 3.8
|
||||
Requires: python-base >= 3.9
|
||||
Requires: python-packaging
|
||||
Requires: python-setuptools
|
||||
Requires: python-setuptools >= 69.5
|
||||
Requires: (python-tomli if python-base < 3.11)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
@ -72,23 +79,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,10 +98,9 @@ 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
|
||||
%pyunittest discover -v test
|
||||
|
||||
%post devel
|
||||
%python_install_alternative sip-build sip-distinfo sip-install sip-module sip-sdist sip-wheel
|
||||
@ -124,10 +119,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)
BIN
sip-6.8.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
sip-6.9.1-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
sip-6.9.1-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user