diff --git a/pyqt_builder-1.16.4.tar.gz b/pyqt_builder-1.16.4.tar.gz deleted file mode 100644 index 5537523..0000000 --- a/pyqt_builder-1.16.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4515e41ae379be2e54f88a89ecf47cd6e4cac43e862c4abfde18389c2666afdf -size 3672095 diff --git a/pyqt_builder-1.17.1.tar.gz b/pyqt_builder-1.17.1.tar.gz new file mode 100644 index 0000000..be0d8da --- /dev/null +++ b/pyqt_builder-1.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:457dcd6a1408ea4bf1264e3511c734d53451ae8a3905e98982d50f7b3fdab724 +size 3671718 diff --git a/python-pyqt-builder.changes b/python-pyqt-builder.changes index acfc778..6ce02a0 100644 --- a/python-pyqt-builder.changes +++ b/python-pyqt-builder.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jan 8 15:25:39 UTC 2025 - Ben Greiner + +- Update to 1.17.1 + * Added support for Qt v6.8 + * Added support for the QtGraphs module. + * Linux wheels now require GLIBC v2.35 (eg. Ubuntu 22.04) on + Intel and v2.39 (eg. Ubuntu 24.04) on Arm. +- Drop support-python3.6.patch + * Python 3.6 is no longer maintained for PyQt + ------------------------------------------------------------------- Mon Nov 4 13:05:02 UTC 2024 - Daniel Garcia diff --git a/python-pyqt-builder.rpmlintrc b/python-pyqt-builder.rpmlintrc new file mode 100644 index 0000000..f2b72ad --- /dev/null +++ b/python-pyqt-builder.rpmlintrc @@ -0,0 +1,4 @@ +# SIP is packaged as sip-devel +addFilter("python-missing-require sip") +addFilter("python-leftover-require python3.*-sip-devel") +addFilter("devel-dependency python3.*-sip-devel") diff --git a/python-pyqt-builder.spec b/python-pyqt-builder.spec index 0854d72..c10bf7c 100644 --- a/python-pyqt-builder.spec +++ b/python-pyqt-builder.spec @@ -16,21 +16,20 @@ # -%define mname pyqt-builder %{?sle15_python_module_pythons} -Name: python-%{mname} -Version: 1.16.4 +Name: python-pyqt-builder +Version: 1.17.1 Release: 0 Summary: The PEP 517 compliant PyQt build system License: BSD-2-Clause URL: https://github.com/Python-PyQt/PyQt-builder Source0: https://files.pythonhosted.org/packages/source/P/PyQt-builder/pyqt_builder-%{version}.tar.gz -# PATCH-FEATURE-SUSE support-python3.6.patch alarrosa@suse.com -- The PyQt5 packages have the SLE15 python module macro, but it is disable in some maintance projects -Patch0: support-python3.6.patch -BuildRequires: %{python_module base >= 3.6} +Source99: python-pyqt-builder.rpmlintrc +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 64} -BuildRequires: %{python_module setuptools_scm >= 8} +# Technically >= 8, but we make it compatible in prep. +BuildRequires: %{python_module setuptools_scm >= 7} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -57,6 +56,10 @@ sip-install or pip can then be used to build and install the project. %prep %autosetup -p1 -n pyqt_builder-%{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 @@ -86,6 +89,6 @@ $python -c 'import pyqtbuild' %python_alternative %{_bindir}/pyqt-bundle %python_alternative %{_bindir}/pyqt-qt-wheel %{python_sitelib}/pyqtbuild -%{python_sitelib}/PyQt_builder-%{version}*-info +%{python_sitelib}/PyQt_builder-%{version}.dist-info %changelog diff --git a/support-python3.6.patch b/support-python3.6.patch deleted file mode 100644 index dd80cca..0000000 --- a/support-python3.6.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: pyqt_builder-1.16.1/PKG-INFO -=================================================================== ---- pyqt_builder-1.16.1.orig/PKG-INFO -+++ pyqt_builder-1.16.1/PKG-INFO -@@ -28,7 +28,7 @@ License: Copyright 2024 Phil Thompson

=3.8 -+Requires-Python: >=3.6 - Description-Content-Type: text/markdown - License-File: LICENSE - Requires-Dist: packaging -Index: pyqt_builder-1.16.1/pyproject.toml -=================================================================== ---- pyqt_builder-1.16.1.orig/pyproject.toml -+++ pyqt_builder-1.16.1/pyproject.toml -@@ -13,7 +13,7 @@ description = "The PyQt build system" - readme = "README.md" - urls.homepage = "https://github.com/Python-PyQt/PyQt-builder" - dependencies = ["packaging", "sip >=6.7, <7"] --requires-python = ">=3.8" -+requires-python = ">=3.6" - license = {file = "LICENSE"} - classifiers = ["License :: OSI Approved :: BSD License"] - dynamic = ["version"]