commit 8dfbdbd39e180c1748e45a43e7db9a69474beacafac57eed05daf3899518a9c2 Author: Luca Beltrame Date: Fri Jul 29 19:31:43 2016 +0000 Accepting request 415767 from home:termim:branches:KDE:Qt5 This package provides python bindings to Qt5 3D Data Visualization module. OBS-URL: https://build.opensuse.org/request/show/415767 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-qtdatavis3d-qt5?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/PyQtDataVisualization_gpl-5.7.tar.gz b/PyQtDataVisualization_gpl-5.7.tar.gz new file mode 100644 index 0000000..1bcbcc4 --- /dev/null +++ b/PyQtDataVisualization_gpl-5.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48d71da45f99f29b4d0088d275221ef4713d69a94349eb8fb0e7bb272987a412 +size 245366 diff --git a/python-qtdatavis3d-qt5.changes b/python-qtdatavis3d-qt5.changes new file mode 100644 index 0000000..3c550cc --- /dev/null +++ b/python-qtdatavis3d-qt5.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jul 29 05:20:23 UTC 2016 - termim@gmail.com + +- Initial checkin v.2.0.1 diff --git a/python-qtdatavis3d-qt5.spec b/python-qtdatavis3d-qt5.spec new file mode 100644 index 0000000..0412b7c --- /dev/null +++ b/python-qtdatavis3d-qt5.spec @@ -0,0 +1,101 @@ +# +# spec file for package python-qtdatavis3d-qt5 +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +Name: python-qtdatavis3d-qt5 +Version: 5.7 +Release: 0 +Summary: PyQtDataVisualization - python bindings for Qt5 3D Data Visualization +License: GPL-3.0 +Group: Development/Libraries/Python +Url: https://www.riverbankcomputing.com/software/pyqtdatavisualization/intro +Source: PyQtDataVisualization_gpl-%{version}.tar.gz +BuildRequires: libQt5DataVisualization5 +BuildRequires: libQt5DataVisualization5-devel +BuildRequires: pkg-config +BuildRequires: python-devel +BuildRequires: python-sip >= 4.18.1 +BuildRequires: python-sip-devel >= 4.18.1 +BuildRequires: python-qt5 +BuildRequires: python-qt5-devel +Requires: python-qt5 +%py_requires +%requires_python_sip_api + +%description +This package provides python bindings to Qt5 3D Data Visualization module. + +%package sip +Summary: Sip files for PyQtDataVisualization +Group: Development/Libraries/Python +Recommends: %{name} = %{version} +BuildArch: noarch + +%description sip +This package contains sip files used to generate +bindings to QtCharts + +%package api +Summary: PyQtDataVisualization API files for eric6 +Group: Development/Tools/IDE +Recommends: %{name} = %{version} +BuildArch: noarch + +%description api +This package provides PyQtDataVisualization API files for eric6. + +%package examples +Summary: PyQtDataVisualization examles +Group: Development/Libraries/Python +Recommends: %{name} = %{version} +BuildArch: noarch + +%description examples +This package provides PyQtDataVisualization examples. + +%prep +%setup -q -n PyQtDataVisualization_gpl-%{version} + +%build +python configure.py --qtdatavisualization-version=2.0.1 --qmake=/usr/bin/qmake-qt5 + +make %{?_smp_mflags} + +%install +%make_install INSTALL_ROOT=%{buildroot} +mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} +find examples -type f -executable -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)3\?=#!/usr/bin/env python=' {} + +cp -r examples $RPM_BUILD_ROOT%{_docdir}/%{name} + +%files +%defattr(-,root,root) +%doc LICENSE NEWS README +%{python_sitearch}/PyQt5/ +%exclude %{_docdir}/%{name}/examples + +%files api +%defattr(-,root,root) +%{_datadir}/qt5/qsci/api/python + +%files sip +%defattr(-,root,root) +%{_datadir}/sip/PyQt5/QtDataVisualization + +%files examples +%defattr(-,root,root) +%{_docdir}/%{name}/examples + +%changelog diff --git a/python3-qtdatavis3d-qt5.changes b/python3-qtdatavis3d-qt5.changes new file mode 100644 index 0000000..3c550cc --- /dev/null +++ b/python3-qtdatavis3d-qt5.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jul 29 05:20:23 UTC 2016 - termim@gmail.com + +- Initial checkin v.2.0.1 diff --git a/python3-qtdatavis3d-qt5.spec b/python3-qtdatavis3d-qt5.spec new file mode 100644 index 0000000..62e90a1 --- /dev/null +++ b/python3-qtdatavis3d-qt5.spec @@ -0,0 +1,100 @@ +# +# spec file for package python-qtdatavis3d-qt5 +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +Name: python3-qtdatavis3d-qt5 +Version: 5.7 +Release: 0 +Summary: PyQt - python3 bindings for Qt5 3D Data Visualization +License: GPL-3.0 +Group: Development/Libraries/Python +Url: https://www.riverbankcomputing.com/software/pyqtdatavisualization/intro +Source: PyQtDataVisualization_gpl-%{version}.tar.gz +BuildRequires: libQt5DataVisualization5 +BuildRequires: libQt5DataVisualization5-devel +BuildRequires: pkg-config +BuildRequires: python3-devel +BuildRequires: python3-sip >= 4.18.1 +BuildRequires: python3-sip-devel >= 4.18.1 +BuildRequires: python3-qt5 +BuildRequires: python3-qt5-devel +Requires: python3-qt5 + +%requires_python3_sip_api + +%description +This package provides python bindings to Qt5 3D Data Visualization module. + +%package sip +Summary: Sip files for PyQtDataVisualization +Group: Development/Libraries/Python +Recommends: %{name} = %{version} +BuildArch: noarch + +%description sip +This package contains sip files used to generate +bindings to QtCharts + +%package api +Summary: PyQtDataVisualization API files for eric6 +Group: Development/Tools/IDE +Recommends: %{name} = %{version} +BuildArch: noarch + +%description api +This package provides PyQtDataVisualization API files for eric6. + +%package examples +Summary: PyQtDataVisualization examles +Group: Development/Libraries/Python +Recommends: %{name} = %{version} +BuildArch: noarch + +%description examples +This package provides PyQtDataVisualization examples. + +%prep +%setup -q -n PyQtDataVisualization_gpl-%{version} + +%build +python3 configure.py --qtdatavisualization-version=2.0.1 --qmake=/usr/bin/qmake-qt5 + +make %{?_smp_mflags} + +%install +%make_install INSTALL_ROOT=%{buildroot} +mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} +cp -r examples $RPM_BUILD_ROOT%{_docdir}/%{name} + +%files +%defattr(-,root,root) +%doc LICENSE NEWS README +%{python3_sitearch}/PyQt5/ +%exclude %{_docdir}/%{name}/examples + +%files api +%defattr(-,root,root) +%{_datadir}/qt5/qsci/api/python + +%files sip +%defattr(-,root,root) +%{_datadir}/sip/PyQt5/QtDataVisualization + +%files examples +%defattr(-,root,root) +%{_docdir}/%{name}/examples + +%changelog