1
0
Benjamin Greiner 2021-07-05 17:54:01 +00:00 committed by Git OBS Bridge
commit 3fbef35771
5 changed files with 161 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

3
PyQt6_3D-6.1.1.tar.gz Normal file
View File

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

29
python-PyQt6-3D.changes Normal file
View File

@ -0,0 +1,29 @@
-------------------------------------------------------------------
Tue Jun 15 13:09:32 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 6.1.1
* Bug fixes.
-------------------------------------------------------------------
Thu May 13 18:28:48 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 6.1.0
* Added support for Qt v6.1.
* Added the examples.
-------------------------------------------------------------------
Thu Mar 11 19:52:17 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 6.0.3
* Bug fixes.
-------------------------------------------------------------------
Thu Feb 25 11:22:33 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to v6.0.2
* Bug fixes.
-------------------------------------------------------------------
Sat Feb 20 16:50:48 UTC 2021 - Ben Greiner <code@bnavigator.de>
- initial specfile for v6.0.1 based on python-qt3d-qt5

105
python-PyQt6-3D.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package python-PyQt6-3D
#
# 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 mname PyQt6-3D
%{?!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 3D framework
License: GPL-3.0-only
Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/pyqt3d
Source: https://files.pythonhosted.org/packages/source/P/PyQt6-3D/PyQt6_3D-%{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: qt6-3d-private-devel
BuildRequires: qt6-gui-private-devel
BuildRequires: cmake(Qt63DAnimation)
BuildRequires: cmake(Qt63DCore)
BuildRequires: cmake(Qt63DExtras)
BuildRequires: cmake(Qt63DInput)
BuildRequires: cmake(Qt63DLogic)
BuildRequires: cmake(Qt63DRender)
%requires_ge python-PyQt6
Provides: python-qt3d-qt6 = %{version}-%{release}
%python_subpackages
%description
PyQt6-3D is a set of Python bindings for The Qt Companys Qt 3D framework. The
bindings sit on top of PyQt6 and are implemented as six separate modules
corresponding to the different libraries that make up the framework.
%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_3D-%{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 Qt3DAnimation, Qt3DCore, Qt3DExtras, Qt3DInput, Qt3DLogic, Qt3DRender'
}
%files %{python_files}
%license LICENSE
%doc NEWS README
%dir %{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6/Qt3DAnimation.*
%{python_sitearch}/PyQt6/Qt3DCore.*
%{python_sitearch}/PyQt6/Qt3DExtras.*
%{python_sitearch}/PyQt6/Qt3DInput.*
%{python_sitearch}/PyQt6/Qt3DLogic.*
%{python_sitearch}/PyQt6/Qt3DRender.*
%{python_sitearch}/PyQt6_3D-%{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-3D.api
%dir %{pyqt6_sipdir}
%{pyqt6_sipdir}/Qt3DAnimation/
%{pyqt6_sipdir}/Qt3DCore/
%{pyqt6_sipdir}/Qt3DExtras/
%{pyqt6_sipdir}/Qt3DInput/
%{pyqt6_sipdir}/Qt3DLogic/
%{pyqt6_sipdir}/Qt3DRender/
%changelog