- Update to 6.8.0

* Added support for Qt v6.8.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-DataVisualization?expand=0&rev=27
This commit is contained in:
Benjamin Greiner 2025-01-08 21:19:07 +00:00 committed by Git OBS Bridge
commit d79f2f4ece
6 changed files with 219 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cbdd50326a2cda533bc5744c85a331c84047af121bdbd64f9c00dbc06588884
size 210038

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:822a94163b8177b9dd507988aff4da7c79ce26bc47fc5f9780dea6989c531171
size 210142

View File

@ -0,0 +1,98 @@
-------------------------------------------------------------------
Wed Jan 8 16:15:07 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 6.8.0
* Added support for Qt v6.8.
-------------------------------------------------------------------
Fri Nov 8 08:52:09 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Back to PyPI source
- Fix requires_eq replacement gh#openSUSE/python-rpm-macros#185
-------------------------------------------------------------------
Tue Nov 5 08:16:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Avoid using requires_eq, which after the last modifications
conflicts with python singlespec (order of expansion).
-------------------------------------------------------------------
Sun Apr 21 13:48:29 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.7.0
* Add support for Qt 6.7
-------------------------------------------------------------------
Thu Jan 25 20:33:30 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Enable SLE15 python module for more modern python in 15.x
- Drop support-python3.6.patch
* python-foo prefixed packages for SLE15 with python3.6 should be
handled by an SLE internal maintenance request to python3-foo
-------------------------------------------------------------------
Mon Oct 30 14:37:19 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Update to 6.6.0
* This adds support for Qt v6.6.
-------------------------------------------------------------------
Mon Apr 24 20:15:00 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 6.5.0
* Added support for Qt v6.5.
-------------------------------------------------------------------
Wed Mar 15 14:04:04 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Add patch to support python 3.6 in order to build for SLE/Leap:
* support-python3.6.patch
-------------------------------------------------------------------
Mon Oct 3 17:46:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 6.4.0
* Added support for Qt v6.4.
-------------------------------------------------------------------
Tue Jun 21 16:58:12 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update devel runtime requirements and supplements
-------------------------------------------------------------------
Tue Jun 21 10:13:32 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 6.3.1
* Bug fixes.
- Drop PyQt6-DataVisualization-6.3-fix-timeline.patch
-------------------------------------------------------------------
Wed Apr 13 08:23:12 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 6.3.0
* Added support for Qt v6.3.
- Add PyQt6-DataVisualization-6.3-fix-timeline.patch
https://www.riverbankcomputing.com/pipermail/pyqt/2022-April/044562.html
-------------------------------------------------------------------
Sun Oct 3 13:40:50 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 6.2.0
* Added support for Qt v6.2.
-------------------------------------------------------------------
Mon Aug 23 19:48:02 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't write mtime-based init pyc file during import test
(boo#1047218)
-------------------------------------------------------------------
Tue Jun 15 13:13:48 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 6.1.1
* Bug fixes.
-------------------------------------------------------------------
Thu May 13 18:34:21 UTC 2021 - Ben Greiner <code@bnavigator.de>
- initial specfile for version 6.1.0

View File

@ -0,0 +1,91 @@
#
# spec file for package python-PyQt6-DataVisualization
#
# Copyright (c) 2025 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 qtlib DataVisualization
%define pyqt_build_for_qt6 1
%define plainpython python
%{?sle15_python_module_pythons}
Name: python-PyQt6-%{qtlib}
Version: 6.8.0
Release: 0
Summary: Python bindings for the Qt Data Visualization library
License: GPL-3.0-only
Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/pyqtdatavisualization
Source: https://files.pythonhosted.org/packages/source/P/PyQt6-%{qtlib}/PyQt6_%{qtlib}-%{version}.tar.gz
BuildRequires: %{python_module PyQt6-devel >= 6.2}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pyqt-builder >= 1.17 with %python-pyqt-builder < 2}
BuildRequires: %{python_module sip-devel >= 6.9 with %python-sip-devel < 7}
BuildRequires: fdupes
BuildRequires: python-pyqt-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: cmake(Qt6%{qtlib})
Requires: python-PyQt6 >= %(rpm -q --whatprovides python-PyQt6 --qf "%%{version}")
Requires: python-PyQt6-sip >= %(rpm -q --whatprovides python-PyQt6-sip --qf "%%{version}")
Provides: python-qtdatavisualization-qt6 = %{version}-%{release}
%python_subpackages
%description
PyQt6-%{qtlib} is a set of Python bindings for The Qt Companys Qt %{qtlib} framework.
The bindings sit on top of PyQt6 and are implemented as a single module.
%package devel
Summary: Devel files for %{name}
Group: Development/Tools/IDE
Requires: python-PyQt6-devel
Requires: %plainpython(abi) = %{python_version}
Supplements: (eric and python-PyQt6-%{qtlib})
Supplements: (python-PyQt6-devel and python-PyQt6-%{qtlib})
%description devel
This package provides Qt6 API files for the Eric IDE and the SIP files
used to generate the Python bindings for %{name}
%prep
%autosetup -p1 -n PyQt6_%{qtlib}-%{version}
%build
%pyqt_build
%install
%pyqt_install
%check
export PYTHONDONTWRITEBYTECODE=1 # boo#1047218
%{python_expand # there is no test suite. If it compiles and imports, it should be okay.
export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -c 'from PyQt6 import Qt%{qtlib}; assert Qt%{qtlib}.PYQT_DATAVISUALIZATION_VERSION_STR == "%{version}"'
}
%files %{python_files}
%license LICENSE
%doc NEWS README.md
%dir %{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6/Qt%{qtlib}.*
%{python_sitearch}/PyQt6_%{qtlib}-%{version}.dist-info/
%exclude %{pyqt6_sipdir}
%files %{python_files devel}
%license LICENSE
%dir %{_qt6_datadir}/qsci/api/python_%{python_bin_suffix}/
%{_qt6_datadir}/qsci/api/python_%{python_bin_suffix}/PyQt6-%{qtlib}.api
%dir %{pyqt6_sipdir}
%{pyqt6_sipdir}/Qt%{qtlib}/
%changelog