commit a03fde29791d3eef3463653b0c00b928b35f03d0fd68a7b0c3918e9d68197949 Author: Benjamin Greiner Date: Mon Jul 5 17:54:02 2021 +0000 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-DataVisualization?expand=0&rev=1 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_DataVisualization-6.1.1.tar.gz b/PyQt6_DataVisualization-6.1.1.tar.gz new file mode 100644 index 0000000..f494a8d --- /dev/null +++ b/PyQt6_DataVisualization-6.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d66f92b991468ac92d4a9391e41f6e544ec54fab3488db131287907397ac1baf +size 207158 diff --git a/python-PyQt6-DataVisualization.changes b/python-PyQt6-DataVisualization.changes new file mode 100644 index 0000000..7db54eb --- /dev/null +++ b/python-PyQt6-DataVisualization.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 15 13:13:48 UTC 2021 - Ben Greiner + +- Update to version 6.1.1 + * Bug fixes. + +------------------------------------------------------------------- +Thu May 13 18:34:21 UTC 2021 - Ben Greiner + +- initial specfile for version 6.1.0 diff --git a/python-PyQt6-DataVisualization.spec b/python-PyQt6-DataVisualization.spec new file mode 100644 index 0000000..f1764d8 --- /dev/null +++ b/python-PyQt6-DataVisualization.spec @@ -0,0 +1,88 @@ +# +# spec file for package python-PyQt6-DataVisualization +# +# 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 qtlib DataVisualization +%define mname PyQt6-%{qtlib} +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 +%define pyqt_build_for_qt6 1 +Name: python-%{mname} +Version: 6.1.1 +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} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyqt-builder >= 1.8} +BuildRequires: %{python_module sip-devel >= 6} +BuildRequires: fdupes +BuildRequires: python-pyqt-rpm-macros +BuildRequires: python-rpm-macros +BuildRequires: cmake(Qt6%{qtlib}) +%requires_ge python-PyQt6 +Provides: python-qtdatavisualization-qt6 = %{version}-%{release} +%python_subpackages + +%description +PyQt6-3D is a set of Python bindings for The Qt Company’s Qt Data Visualization library. +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 +Supplements: packageand(eric:python-%{mname}) + +%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 +%setup -q -n PyQt6_%{qtlib}-%{version} + +%build +%pyqt_build + +%install +%pyqt_install + +%check +%{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 +%dir %{python_sitearch}/PyQt6/ +%{python_sitearch}/PyQt6/Qt%{qtlib}.* +%{python_sitearch}/PyQt6_%{qtlib}-%{version}*-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