Compare commits

1 Commits
main ... 1.1

6 changed files with 56 additions and 77 deletions

BIN
PyQt-builder-1.15.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pyqt_builder-1.17.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,56 +1,3 @@
-------------------------------------------------------------------
Wed Jan 8 15:25:39 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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 <daniel.garcia@suse.com>
- 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 <code@bnavigator.de>
- 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 <code@bnavigator.de>
- 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 <code@bnavigator.de>

View File

@@ -1,4 +0,0 @@
# SIP is packaged as sip-devel
addFilter("python-missing-require sip")
addFilter("python-leftover-require python3.*-sip-devel")
addFilter("devel-dependency python3.*-sip-devel")

View File

@@ -16,20 +16,20 @@
#
%define mname pyqt-builder
%{?sle15_python_module_pythons}
Name: python-pyqt-builder
Version: 1.17.1
Name: python-%{mname}
Version: 1.15.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
Source99: python-pyqt-builder.rpmlintrc
BuildRequires: %{python_module base >= 3.8}
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
URL: https://www.riverbankcomputing.com/software/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}
# Technically >= 8, but we make it compatible in prep.
BuildRequires: %{python_module setuptools_scm >= 7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -55,11 +55,7 @@ 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}
# Make it work with setuptools_scm < 8
%if 0%{suse_version} < 1600
sed -i s/version_file/write_to/ pyproject.toml
%endif
%autosetup -p1 -n PyQt-builder-%{version}
%build
%pyproject_wheel
@@ -85,10 +81,11 @@ $python -c 'import pyqtbuild'
%python_uninstall_alternative pyqt-bundle
%files %{python_files}
%doc README.md LICENSE
%license LICENSE*
%doc README NEWS ChangeLog
%python_alternative %{_bindir}/pyqt-bundle
%python_alternative %{_bindir}/pyqt-qt-wheel
%{python_sitelib}/pyqtbuild
%{python_sitelib}/PyQt_builder-%{version}.dist-info
%{python_sitelib}/PyQt_builder-%{version}*-info
%changelog

39
support-python3.6.patch Normal file
View File

@@ -0,0 +1,39 @@
Index: PyQt-builder-1.15.4/PKG-INFO
===================================================================
--- PyQt-builder-1.15.4.orig/PKG-INFO
+++ PyQt-builder-1.15.4/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
Platform: Windows
-Requires-Python: >=3.7
+Requires-Python: >=3.6
License-File: LICENSE
License-File: LICENSE-GPL2
License-File: LICENSE-GPL3
Index: PyQt-builder-1.15.4/PyQt_builder.egg-info/PKG-INFO
===================================================================
--- PyQt-builder-1.15.4.orig/PyQt_builder.egg-info/PKG-INFO
+++ PyQt-builder-1.15.4/PyQt_builder.egg-info/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
Platform: Windows
-Requires-Python: >=3.7
+Requires-Python: >=3.6
License-File: LICENSE
License-File: LICENSE-GPL2
License-File: LICENSE-GPL3
Index: PyQt-builder-1.15.4/setup.py
===================================================================
--- PyQt-builder-1.15.4.orig/setup.py
+++ PyQt-builder-1.15.4/setup.py
@@ -48,7 +48,7 @@ setup(
name='PyQt-builder',
version=version,
license='SIP',
- python_requires='>=3.7',
+ python_requires='>=3.6',
install_requires=['packaging', 'sip >=6.7, <7'],
packages=find_packages(),
package_data={