From fbeb192def17c87c48d96571765333e0287f96e2631cd714448a7d62c6c19066 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 5 Nov 2024 09:20:53 +0000 Subject: [PATCH] - Avoid using requires_eq, which after the last modifications conflicts with python singlespec (order of expansion). OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qtcharts-qt5?expand=0&rev=4 --- .gitattributes | 23 +++++++ .gitignore | 1 + PyQtChart-5.15.6.tar.gz | 3 + python-qtcharts-qt5.changes | 132 ++++++++++++++++++++++++++++++++++++ python-qtcharts-qt5.spec | 108 +++++++++++++++++++++++++++++ 5 files changed, 267 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 PyQtChart-5.15.6.tar.gz create mode 100644 python-qtcharts-qt5.changes create mode 100644 python-qtcharts-qt5.spec 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/PyQtChart-5.15.6.tar.gz b/PyQtChart-5.15.6.tar.gz new file mode 100644 index 0000000..254e638 --- /dev/null +++ b/PyQtChart-5.15.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2691796fe92a294a617592a5c5c35e785dc91f7759def9eb22da79df63762339 +size 68297 diff --git a/python-qtcharts-qt5.changes b/python-qtcharts-qt5.changes new file mode 100644 index 0000000..b51bac1 --- /dev/null +++ b/python-qtcharts-qt5.changes @@ -0,0 +1,132 @@ +------------------------------------------------------------------- +Tue Nov 5 08:33:24 UTC 2024 - Dominique Leuenberger + +- Avoid using requires_eq, which after the last modifications + conflicts with python singlespec (order of expansion). + +------------------------------------------------------------------- +Thu Jan 25 20:48:17 UTC 2024 - Ben Greiner + +- Enable SLE15 python module for more modern python in 15.x + +------------------------------------------------------------------- +Tue Jun 21 11:33:52 UTC 2022 - Ben Greiner + +- Update to version 5.15.6 + * Added the missing QXYSeries.points(). +- Release 5.15.5 + * Added support for Python v3.10. + +------------------------------------------------------------------- +Fri Jun 18 21:46:42 UTC 2021 - Ben Greiner + +- Provide the PyPI name, without the s at the end + +------------------------------------------------------------------- +Thu Mar 11 19:36:17 UTC 2021 - Ben Greiner + +- Update to version 5.15.4 + * Packaging bug fixes. +- Fixes problems with packages checking the package metadata like + boo#1183144 + +------------------------------------------------------------------- +Fri Feb 26 09:50:43 UTC 2021 - Ben Greiner + +- Update to 5.15.3 + * Sync release with PyQt5 +- Switch all distros to SIP v5+ +- Disable Python 2 build + +------------------------------------------------------------------- +Tue Nov 24 19:31:29 UTC 2020 - Benjamin Greiner + +- Update to 5.15.2 + * Build system changes + +------------------------------------------------------------------- +Thu Sep 14 17:22:06 UTC 2020 - Benjamin Greiner + +- Use sip5 where possible + +------------------------------------------------------------------- +Mon Sep 14 17:21:15 UTC 2020 - Benjamin Greiner + +- Update to Version 5.15.1 + * A bug-fix release. +- remove the superfluous Tumbleweed python2 skip hack + +------------------------------------------------------------------- +Thu Aug 27 20:17:34 UTC 2020 - Benjamin Greiner + +- Update to 5.15.0 + * Added support for Qt Charts v5.15.0. +- v5.14.0 added support for Qt Charts v5.14.0 in December 2019 +- The source location has changed to PyPI + +------------------------------------------------------------------- +Fri Mar 13 12:45:30 UTC 2020 - Christophe Giboudeaux + +- Stop building the python2 package for openSUSE Tumbleweed. + +------------------------------------------------------------------- +Wed Nov 13 15:20:05 UTC 2019 - Todd R + +- Update to 5.13.1 + * Added support for SIP v5. + +------------------------------------------------------------------- +Fri Jul 12 10:22:09 UTC 2019 - Christophe Giboudeaux + +- Update to 5.13.0 + Update bindings for QtCharts 5.13.0 + +------------------------------------------------------------------- +Wed Feb 27 20:00:44 UTC 2019 - Todd R + +- Make eric api files supplement eric. +- Make sip api files supplement sip. +- Fix sip api dependency. + +------------------------------------------------------------------- +Thu Feb 21 18:05:43 UTC 2019 - Todd R + +- Update to 5.12 + * Fixed the QValueAxis.tickTypeChanged() signal. + * Updated for Qt v5.12. +- Build both python2 and python3 flavors in a single spec file. + +------------------------------------------------------------------- +Mon Oct 22 12:42:47 UTC 2018 - Christophe Giboudeaux + +- Update to 5.11.3. Changes since 5.10.1: + * Update the PyQt5 wheel to use. + * Fixed all signal signatures. +- Run spec-cleaner + +------------------------------------------------------------------- +Tue Apr 17 01:58:49 UTC 2018 - termim@gmail.com + +- Update to 5.10.1 + * Added support for Qt Charts v5.10.1. + +------------------------------------------------------------------- +Fri Jan 26 11:39:48 UTC 2018 - aloisio@gmx.com + +- Update to 5.10 + +------------------------------------------------------------------- +Wed Feb 15 19:51:54 UTC 2017 - termim@gmail.com + +- Update to 5.8 + +------------------------------------------------------------------- +Tue Jan 3 22:09:03 UTC 2017 - termim@gmail.com + +- Update to 5.7.1 + +------------------------------------------------------------------- +Fri Jul 29 05:02:14 UTC 2016 - termim@gmail.com + +- initial checkin rev. 2.0.1 + diff --git a/python-qtcharts-qt5.spec b/python-qtcharts-qt5.spec new file mode 100644 index 0000000..2d4a77b --- /dev/null +++ b/python-qtcharts-qt5.spec @@ -0,0 +1,108 @@ +# +# spec file for package python-qtcharts-qt5 +# +# Copyright (c) 2021 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 oldpython python +%define mname qtcharts-qt5 +%{?sle15_python_module_pythons} +Name: python-%{mname} +Version: 5.15.6 +Release: 0 +Summary: Python bindings for the Qt5 Charts library +License: GPL-3.0-only +Group: Development/Libraries/Python +URL: https://www.riverbankcomputing.com/software/pyqtchart/intro +Source: https://files.pythonhosted.org/packages/source/P/PyQtChart/PyQtChart-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyqt-builder >= 1.9} +BuildRequires: %{python_module qt5-devel >= 5.15.4} +BuildRequires: %{python_module sip-devel >= 5.3} +BuildRequires: fdupes +BuildRequires: python-pyqt-rpm-macros +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(Qt5Charts) +Requires: python-qt5 >= %(rpm -q --whatprovides python3-qt5 --qf "%%{version}") +Requires: python-qt5-sip +# PyPI name is without the s at the end +Provides: python-PyQtChart = %{version}-%{release} +%python_subpackages + +%description +PyQtChart is a set of Python bindings for the Qt5 Charts library. + +%package api +Summary: Eric API files for %{name} +Group: Development/Tools/IDE +Supplements: packageand(eric:python-%{mname}) + +%description api +This package provides Qt5 Charts library API files for the Eric IDE. + +%package sip +Summary: Sip files for %{name} +Group: Development/Libraries/Python +Supplements: packageand(python-sip:python-%{mname}) +Provides: %{oldpython}-%{mname}-sip = %{version}-%{release} +Obsoletes: %{oldpython}-%{mname}-sip < %{version}-%{release} +Requires: python-qt5-devel + +%description sip +This package provides the SIP files used to generate the Python bindings for +%{name} + +%package doc +Summary: Examples for %{name} +Group: Documentation/Other +Provides: %{python_module %{mname}-examples = %{version}-%{release}} +BuildArch: noarch + +%description doc +This package provides %{name} examples. + +%prep +%setup -q -n PyQtChart-%{version} + +%build +%pyqt_build + +%install +%pyqt_install +%pyqt_install_examples %mname + +%files %{python_files} +%license LICENSE +%doc NEWS README +%dir %{python_sitearch}/PyQt5/ +%{python_sitearch}/PyQt5/QtChart.* +%{python_sitearch}/PyQtChart-%{version}.dist-info + +%files %{python_files api} +%license LICENSE +%dir %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/ +%{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/PyQtChart.api + +%files %{python_files sip} +%license LICENSE +%{pyqt5_sipdir}/QtChart/ + +%files %{python_files doc} +%license LICENSE +%{_docdir}/%{python_prefix}-%{mname} +%exclude %{_docdir}/%{python_prefix}-%{mname}/NEWS +%exclude %{_docdir}/%{python_prefix}-%{mname}/README + +%changelog