1
0

16 Commits

Author SHA256 Message Date
ecd7131d2c Accepting request 1311794 from KDE:Qt:PyQt
update

OBS-URL: https://build.opensuse.org/request/show/1311794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=27
2025-10-18 12:36:02 +00:00
b200960bf4 - Update to 1.19.0
* Support for Qt v6.10 when building wheels manually. The Qt
    v6.10.0 installation for Linux on Intel created by the online
    installer was built using Red Hat Linux v9.4. This means that
    glibc v2.34 is now required. Earlier versions of Qt required
    glibc v2.28. The manylinux wheel tags that are generated now
    reflect the revised dependency.
  * pyqt-bundle support for lower case wheel names. pyqt-bundle now
    properly handles lower case wheel names as well as the legacy
    mixed case names. Resolves #33

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=34
2025-10-11 17:21:19 +00:00
6915f74656 Accepting request 1309632 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1309632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=26
2025-10-08 16:13:35 +00:00
d5748d0e42 - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=33
2025-10-07 13:09:49 +00:00
c20a4e1ecf Accepting request 1284256 from KDE:Qt:PyQt
- Update to 1.18.2
  * The licensing information in `pyproject.toml` now conforms to
    PEP 639. This means that the minimum setuptools version is v77.
    That in itself means that the wheel name conforms to the
    current PyPI requirements.
  * The wheels created by `pyqt-qt-wheel` now have lower case
    names.

OBS-URL: https://build.opensuse.org/request/show/1284256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=25
2025-06-11 14:20:08 +00:00
687b4f985d .
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=32
2025-06-09 17:05:32 +00:00
5708eb978a .
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=31
2025-06-09 17:04:24 +00:00
556992624f .
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=30
2025-06-09 16:47:43 +00:00
61f92289f3 - Update to 1.18.2
* The licensing information in `pyproject.toml` now conforms to
    PEP 639. This means that the minimum setuptools version is v77.
    That in itself means that the wheel name conforms to the
    current PyPI requirements.
  * The wheels created by `pyqt-qt-wheel` now have lower case
    names.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=29
2025-06-09 16:47:19 +00:00
3890e49dbc Accepting request 1267009 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1267009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=24
2025-04-07 15:35:54 +00:00
8f3c88dc1b - Support older and current versions of setuptools WRT to the case of
the metadata directory.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=28
2025-04-04 05:56:17 +00:00
764376905f - Update to 1.18.1
* The QtEglFSDeviceIntegration library is now bundled for Qt5 and
    Qt6.
  * Added support for the QtStateMachine module.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=27
2025-04-03 18:19:01 +00:00
dae818dfe0 Accepting request 1236041 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1236041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=23
2025-01-12 10:10:00 +00:00
0e62b390b4 - 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

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=26
2025-01-08 21:17:55 +00:00
e1c3343d6c Accepting request 1221009 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1221009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=22
2024-11-05 14:39:43 +00:00
8858c5dddf - 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
2024-11-04 16:51:56 +00:00
6 changed files with 115 additions and 43 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0112763f2f49415ddb0e46ed561f47e5e207c857e871a1dec3847fdf0942987a
size 3670824

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79540e001c476bc050180db00fffcb1e9fa74544d95c148e48ad6117e49d6ea2
size 3672333

View File

@@ -1,3 +1,73 @@
-------------------------------------------------------------------
Sat Oct 11 17:19:36 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.19.0
* Support for Qt v6.10 when building wheels manually. The Qt
v6.10.0 installation for Linux on Intel created by the online
installer was built using Red Hat Linux v9.4. This means that
glibc v2.34 is now required. Earlier versions of Qt required
glibc v2.28. The manylinux wheel tags that are generated now
reflect the revised dependency.
* pyqt-bundle support for lower case wheel names. pyqt-bundle now
properly handles lower case wheel names as well as the legacy
mixed case names. Resolves #33
-------------------------------------------------------------------
Tue Oct 7 10:07:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Mon Jun 9 16:44:10 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.18.2
* The licensing information in `pyproject.toml` now conforms to
PEP 639. This means that the minimum setuptools version is v77.
That in itself means that the wheel name conforms to the
current PyPI requirements.
* The wheels created by `pyqt-qt-wheel` now have lower case
names.
-------------------------------------------------------------------
Fri Apr 4 01:13:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Support older and current versions of setuptools WRT to the case of
the metadata directory.
-------------------------------------------------------------------
Thu Apr 3 16:50:22 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.18.1
* The QtEglFSDeviceIntegration library is now bundled for Qt5 and
Qt6.
* Added support for the QtStateMachine module.
-------------------------------------------------------------------
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>

View File

@@ -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")

View File

@@ -16,31 +16,43 @@
#
%define mname pyqt-builder
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-%{mname}
Version: 1.16.1
Name: python-pyqt-builder
Version: 1.19.0
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
Source0: https://www.riverbankcomputing.com/pypi/packages/snapshots/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}
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}
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
%if 0%{?suse_version} < 1600
BuildRequires: %{python_module setuptools >= 64}
BuildRequires: %{python_module setuptools_scm >= 7}
%else
BuildRequires: %{python_module setuptools >= 77}
BuildRequires: %{python_module setuptools_scm >= 8}
%endif
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
# SECTION Test Requirements
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module sip-devel >= 6.7}
@@ -58,6 +70,13 @@ 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 < 77 and setuptools_scm < 8
%if 0%{?suse_version} < 1600
sed -i pyproject.toml \
-e 's/version_file/write_to/' \
-e 's/license = .*/license = { file = "LICENSE" }/' \
-e '/license-files/d'
%endif
%build
%pyproject_wheel
@@ -66,6 +85,7 @@ sip-install or pip can then be used to build and install the project.
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyqt-bundle
%python_clone -a %{buildroot}%{_bindir}/pyqt-qt-wheel
%python_group_libalternatives pyqt-bundle pyqt-qt-wheel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -82,11 +102,15 @@ $python -c 'import pyqtbuild'
%postun
%python_uninstall_alternative pyqt-bundle
%pre
%python_libalternatives_reset_alternative pyqt-bundle
%files %{python_files}
%doc README.md LICENSE
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/pyqt-bundle
%python_alternative %{_bindir}/pyqt-qt-wheel
%{python_sitelib}/pyqtbuild
%{python_sitelib}/PyQt_builder-%{version}*-info
%{python_sitelib}/[Pp]y[Qq]t_builder-%{version}.dist-info
%changelog

View File

@@ -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 <p
Project-URL: homepage, https://github.com/Python-PyQt/PyQt-builder
Classifier: License :: OSI Approved :: BSD License
-Requires-Python: >=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"]