commit 8f3fddaa8e6e33dbeade3c773d79ed8555ea24c5cca6ee86342e6449baa542d4 Author: Benjamin Greiner Date: Wed Oct 29 09:39:06 2025 +0000 - Update to 6.10.0 * Added support for Qt v6.10. OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-Graphs?expand=0&rev=6 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/pyqt6_graphs-6.10.0.tar.gz b/pyqt6_graphs-6.10.0.tar.gz new file mode 100644 index 0000000..8ef1bd9 --- /dev/null +++ b/pyqt6_graphs-6.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f84734703baf8ef6f2e17052bc2622d041d569ec138b6b87d29f57edcf2fcba +size 36658 diff --git a/pyqt6_graphs-6.9.0.tar.gz b/pyqt6_graphs-6.9.0.tar.gz new file mode 100644 index 0000000..3da0b88 --- /dev/null +++ b/pyqt6_graphs-6.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f96eca719ce8c8c1647695136e69837d05fe56c31ca66533db568e108c8cc919 +size 35234 diff --git a/python-PyQt6-Graphs.changes b/python-PyQt6-Graphs.changes new file mode 100644 index 0000000..5297b2e --- /dev/null +++ b/python-PyQt6-Graphs.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Wed Oct 29 09:38:50 UTC 2025 - Ben Greiner + +- Update to 6.10.0 + * Added support for Qt v6.10. + +------------------------------------------------------------------- +Mon Jun 9 17:48:44 UTC 2025 - Ben Greiner + +- Update to 6.9.0 + - Added support for Qt v6.9. + +------------------------------------------------------------------- +Wed Jan 8 16:29:04 UTC 2025 - Ben Greiner + +- Initial package for v6.8.0 diff --git a/python-PyQt6-Graphs.spec b/python-PyQt6-Graphs.spec new file mode 100644 index 0000000..de25e8c --- /dev/null +++ b/python-PyQt6-Graphs.spec @@ -0,0 +1,91 @@ +# +# spec file for package python-PyQt6-Graphs +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# 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 Graphs +%define pyqt_build_for_qt6 1 +%define plainpython python +%{?sle15_python_module_pythons} +Name: python-PyQt6-%{qtlib} +Version: 6.10.0 +Release: 0 +Summary: Python bindings for the Qt Graphs library +License: GPL-3.0-only +Group: Development/Libraries/Python +URL: https://www.riverbankcomputing.com/software/pyqtgraphs +Source: https://files.pythonhosted.org/packages/source/P/PyQt6-%{qtlib}/pyqt6_graphs-%{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-qtgraphs-qt6 = %{version}-%{release} +%python_subpackages + +%description +PyQt6-%{qtlib} is a set of Python bindings for The Qt Company's 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_graphs-%{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_GRAPHS_VERSION_STR == "%{version}"' +} + +%files %{python_files} +%license LICENSE +%doc NEWS README.md +%dir %{python_sitearch}/PyQt6/ +%{python_sitearch}/PyQt6/Qt%{qtlib}*.so +%{python_sitearch}/[Pp]y[Qq]t6_[Gg]raphs-%{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