commit 8858c5dddf8dfd4ef3dba1b6aba5478c3f2b7d06e794ded0b1c94c43fbe2834b Author: Benjamin Greiner Date: Mon Nov 4 16:51:56 2024 +0000 - Use pypi url for source - Update to 1.16.4 * Support for Windows on Arm for Qt6 * Support for Linux on Arm for Qt6 1.16.3: * Link to the stable SIP documentation * missing multimedia libraries in Qt v6.7 * Added support for sub-wheels to pyqt-qt-wheel 1.16.2: * The links to the SIP documentation have been fixed. * The ICU libraries were missing from the Linux Qt v6.7 wheels. OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=25 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pyqt_builder-1.16.1.tar.gz b/pyqt_builder-1.16.1.tar.gz new file mode 100644 index 0000000..2dfade5 --- /dev/null +++ b/pyqt_builder-1.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0112763f2f49415ddb0e46ed561f47e5e207c857e871a1dec3847fdf0942987a +size 3670824 diff --git a/pyqt_builder-1.16.4.tar.gz b/pyqt_builder-1.16.4.tar.gz new file mode 100644 index 0000000..5537523 --- /dev/null +++ b/pyqt_builder-1.16.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4515e41ae379be2e54f88a89ecf47cd6e4cac43e862c4abfde18389c2666afdf +size 3672095 diff --git a/python-pyqt-builder.changes b/python-pyqt-builder.changes new file mode 100644 index 0000000..acfc778 --- /dev/null +++ b/python-pyqt-builder.changes @@ -0,0 +1,229 @@ +------------------------------------------------------------------- +Mon Nov 4 13:05:02 UTC 2024 - Daniel Garcia + +- Use pypi url for source +- Update to 1.16.4 + * Support for Windows on Arm for Qt6 + * Support for Linux on Arm for Qt6 +1.16.3: + * Link to the stable SIP documentation + * missing multimedia libraries in Qt v6.7 + * Added support for sub-wheels to pyqt-qt-wheel +1.16.2: + * The links to the SIP documentation have been fixed. + * The ICU libraries were missing from the Linux Qt v6.7 wheels. + +------------------------------------------------------------------- +Sun Apr 21 14:08:07 UTC 2024 - Ben Greiner + +- Update to 1.16.1 + * The QtQuick3DHelpersImpl, QtQuickControls2MacOSStyleImpl and + QtQuickTimelineBlendTrees libraries added to Qt v6.7.0 are now + bundled. + * The missing `LICENSE` file was added. + +------------------------------------------------------------------- +Tue Apr 9 07:36:05 UTC 2024 - Ben Greiner + +- Update to 1.16.0 + * The project repository has been migrated to GitHub. + * PyQt-builder is now licensed under the BSD-2-Clause license. + * The project has now been migrated from setup.py to + setuptools_scm and pyproject.toml. + * The documentation is now hosted at Read the Docs. + * The QtQuickPhysics libraries added to Qt v6.6.0 are now + bundled. + * The QtQuickControls2 style libraries added to Qt v6.6.3 are + now bundled. + * The example in the documentation no longer uses deprecated + features that will be removed in SIP v7. + * The example is now PyQt6-based rather than PyQt5. + * The default ABI versions are now v12.13 and v13.6. + +------------------------------------------------------------------- +Thu Jan 25 20:05:00 UTC 2024 - Ben Greiner + +- Update to 1.15.4 + * Added QtMultimediaQuick to the Qt5 bundle. + * Removed some plugins from the PyQt5 bundle. + * Bundle the QtWebChannelQuick library. + +------------------------------------------------------------------- +Sun Oct 15 13:48:37 UTC 2023 - Ben Greiner + +- Update to 1.15.3 + * Added the '--apple-universal2' command line option to the build + tools to specify a universal build on macOS. + +------------------------------------------------------------------- +Wed Sep 27 08:56:45 UTC 2023 - Ben Greiner + +- Update to 1.15.2 + * Bundle the QML libraries for QtCharts and QtDataVisualization + * Bundle qtscript translations with Qt5 as they are a hidden + requirement. + * Bundle the Qt6 qtconnectivity translations. + +------------------------------------------------------------------- +Sat Jun 10 10:08:56 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu Jun 1 20:13:54 UTC 2023 - Dirk Müller + +- update to 1.15.1: + * Added support for bundling the QtLabs QML packages. + +------------------------------------------------------------------- +Mon Apr 24 20:12:25 UTC 2023 - Ben Greiner + +- Update to 1.15.0 + * Added support for QtSpatialAudio for PyQt6. + * A bug fix release. + +------------------------------------------------------------------- +Tue Jan 24 18:51:01 UTC 2023 - Ben Greiner + +- Update to 1.14.1 + * Support different patch versions for Qt v5.15. +- Drop pyqt-builder-add-timeline5.15.patch + +------------------------------------------------------------------- +Thu Jan 12 21:14:30 UTC 2023 - Ben Greiner + +- Add pyqt-builder-add-timeline5.15.patch for Qt3D 5.15.8 + +------------------------------------------------------------------- +Thu Jan 12 11:22:21 UTC 2023 - Antonio Larrosa + +- Add patch to support python 3.6 needed by SLE: + * support-python3.6.patch + +------------------------------------------------------------------- +Mon Oct 3 17:16:00 UTC 2022 - Ben Greiner + +- Update to version 1.14.0 + * Added support for QtPdf, QtPdfWidgets and QtTextToSpeech for + PyQt6. + * SIP v6.7 is now required. + +------------------------------------------------------------------- +Mon Jun 20 21:19:02 UTC 2022 - Ben Greiner + +- Update to version 1.13.0 + * The default ABI versions are now v12.11 and v13.4 so that + wrapped classes can be used by sip.array. + * Removed support for bundling version of Qt older than v5.15. + * Removed support for Python v3.6. + +------------------------------------------------------------------- +Fri Oct 29 15:02:35 UTC 2021 - Ben Greiner + +- Update to version 1.12.2 + * Bug fix release related to Apple Silicon and Arm64 Qt wheels + +------------------------------------------------------------------- +Sat Oct 16 16:00:52 UTC 2021 - Ben Greiner + +- Update to version 1.12.1 + * Build universal2 wheels for Qt v6.2 and later when using + Python v3.10 and later. + * Added the '--arch' command line option to pyqt-bundle to + specify a particular architecture (x86_64 or arm64) to + bundle on macOS. + +------------------------------------------------------------------- +Sun Oct 3 12:33:30 UTC 2021 - Ben Greiner + +- Update to version 1.11.0 + * Added support for bundling Qt v6.2. + * Added support for PyQt6-WebEngine to pyqt-bundle. + +------------------------------------------------------------------- +Thu Aug 19 09:32:37 UTC 2021 - Ben Greiner + +- Don't write mtime-based init pyc file during import test + (boo#1047218) + +------------------------------------------------------------------- +Sun Jul 4 13:42:44 UTC 2021 - Ben Greiner + +- Update to version 1.10.3 + * minor bug fixes for Qt v6.1.2 + +------------------------------------------------------------------- +Tue Jun 15 13:03:25 UTC 2021 - Ben Greiner + +- Update to version 1.10.1 + * The default sip module ABI version is now the minimum required + by current PyQt versions rather than the latest available from + SIP. + +------------------------------------------------------------------- +Thu May 13 18:20:52 UTC 2021 - Ben Greiner + +- Update to version 1.10.0 + * Added support for bundling Qt v6.1. + * Added support for PyQt6-Charts to pyqt-bundle. + * Added support for PyQt6-DataVisualization to pyqt-bundle. + +------------------------------------------------------------------- +Thu Mar 11 19:48:31 UTC 2021 - Ben Greiner + +- Update to version 1.9.1 + * Handle the changed Qt installation directory used by PyQt5 + v5.15.4 and later, and PyQt6 v6.0.3 and later. + +------------------------------------------------------------------- +Thu Feb 25 11:07:12 UTC 2021 - Ben Greiner + +- Update to version 1.9.0 + * Added support for PyQtNetworkAuth. + * Added support for creating Qt5 wheels. + * The default minimum glibc version for Qt6 is now v2.28. + +------------------------------------------------------------------- +Fri Feb 19 19:56:34 UTC 2021 - Ben Greiner + +- Update to version 1.8.0 + * Added the (as yet undocumented) pyqt-qt-wheel utility. + * chrpath and install_name_tool are no longer required when + bundling Qt v5.15 or later. +- Changes in v1.7.0 + * Added support for PyQt6, PyQt6-3D and PyQt6-NetworkAuth to + pyqt-bundle. + +------------------------------------------------------------------- +Tue Nov 24 14:54:26 UTC 2020 - Benjamin Greiner + +- Update to version 1.6.0 + * Appropriate defaults are now provided for the 'abi-version' and + 'sip-module' options. + * Added the 'jobs' builder option and corresponding '--jobs' + command line option to sip-build, sip-install and sip-wheel. +- Update License tag + +------------------------------------------------------------------- +Sun Aug 30 17:28:02 UTC 2020 - Benjamin Greiner + +- Update to version 1.5.0 + * Added the 'android-abis' project option and corresponding + '--android-abi' command line option to sip-build, sip-install + and sip-wheel. + * Added 'PYQTBUILD_VERSION' and 'PYQTBUILD_VERSION_STR' to the + 'pyqtbuild' module API. + * Added support for bundling QtTextToSpeech. + +------------------------------------------------------------------- +Sat Aug 29 19:35:57 UTC 2020 - Benjamin Greiner + +- Specify noarch +- Provide python-PyQt-builder in case packagers search for the + official Qt/PyPI name +- It actually needs the python-sip-devel package + +------------------------------------------------------------------- +Sat Aug 29 09:07:38 UTC 2020 - Benjamin Greiner + +- Initial specfile version 1.4.0 diff --git a/python-pyqt-builder.spec b/python-pyqt-builder.spec new file mode 100644 index 0000000..0854d72 --- /dev/null +++ b/python-pyqt-builder.spec @@ -0,0 +1,91 @@ +# +# spec file for package python-pyqt-builder +# +# Copyright (c) 2023 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/ +# + + +%define mname pyqt-builder +%{?sle15_python_module_pythons} +Name: python-%{mname} +Version: 1.16.4 +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} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 64} +BuildRequires: %{python_module setuptools_scm >= 8} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-packaging +Requires: python-sip-devel >= 6.7 +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: python-PyQt-builder = %{version}-%{release} +BuildArch: noarch +# SECTION Test Requirements +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module sip-devel >= 6.7} +# /SECTION +%python_subpackages + +%description +PyQt-builder is the PEP 517 compliant build system for PyQt and projects that +extend PyQt. It extends the sip build system and uses Qt’s qmake to perform the +actual compilation and installation of extension modules. + +Projects that use PyQt-builder provide an appropriate pyproject.toml file and an +optional project.py script. Any PEP 517 compliant frontend, for example +sip-install or pip can then be used to build and install the project. + +%prep +%autosetup -p1 -n pyqt_builder-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/pyqt-bundle +%python_clone -a %{buildroot}%{_bindir}/pyqt-qt-wheel +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export PYTHONDONTWRITEBYTECODE=1 # boo#1047218 +%{python_expand # no real unit tests; check import and bundle entry point +export PYTHONPATH=%{buildroot}%{$python_sitelib} +$python -c 'import pyqtbuild' +%{buildroot}%{_bindir}/pyqt-bundle-%{$python_bin_suffix} -V +} + +%post +%python_install_alternative pyqt-bundle pyqt-qt-wheel + +%postun +%python_uninstall_alternative pyqt-bundle + +%files %{python_files} +%doc README.md LICENSE +%python_alternative %{_bindir}/pyqt-bundle +%python_alternative %{_bindir}/pyqt-qt-wheel +%{python_sitelib}/pyqtbuild +%{python_sitelib}/PyQt_builder-%{version}*-info + +%changelog diff --git a/support-python3.6.patch b/support-python3.6.patch new file mode 100644 index 0000000..dd80cca --- /dev/null +++ b/support-python3.6.patch @@ -0,0 +1,26 @@ +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"]