Sync from SUSE:ALP:Source:Standard:1.0 python-pyqt-builder revision b56535f6b86d6fff895f5d4e75a90f82
This commit is contained in:
commit
cacd4c5acf
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
BIN
PyQt-builder-1.15.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
PyQt-builder-1.15.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
179
python-pyqt-builder.changes
Normal file
179
python-pyqt-builder.changes
Normal file
@ -0,0 +1,179 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 15 13:48:37 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 20:13:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.15.1:
|
||||
* Added support for bundling the QtLabs QML packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 20:12:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- Add pyqt-builder-add-timeline5.15.patch for Qt3D 5.15.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 11:22:21 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Add patch to support python 3.6 needed by SLE:
|
||||
* support-python3.6.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 3 17:16:00 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- Don't write mtime-based init pyc file during import test
|
||||
(boo#1047218)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 4 13:42:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 1.10.3
|
||||
* minor bug fixes for Qt v6.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 15 13:03:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- Initial specfile version 1.4.0
|
91
python-pyqt-builder.spec
Normal file
91
python-pyqt-builder.spec
Normal file
@ -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.15.3
|
||||
Release: 0
|
||||
Summary: The PEP 517 compliant PyQt build system
|
||||
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
|
||||
Patch0: support-python3.6.patch
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
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}
|
||||
%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}*-info
|
||||
|
||||
%changelog
|
39
support-python3.6.patch
Normal file
39
support-python3.6.patch
Normal file
@ -0,0 +1,39 @@
|
||||
Index: PyQt-builder-1.15.3/PKG-INFO
|
||||
===================================================================
|
||||
--- PyQt-builder-1.15.3.orig/PKG-INFO
|
||||
+++ PyQt-builder-1.15.3/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.3/PyQt_builder.egg-info/PKG-INFO
|
||||
===================================================================
|
||||
--- PyQt-builder-1.15.3.orig/PyQt_builder.egg-info/PKG-INFO
|
||||
+++ PyQt-builder-1.15.3/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.3/setup.py
|
||||
===================================================================
|
||||
--- PyQt-builder-1.15.3.orig/setup.py
|
||||
+++ PyQt-builder-1.15.3/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={
|
Loading…
Reference in New Issue
Block a user