Dominique Leuenberger 2021-03-06 20:18:36 +00:00 committed by Git OBS Bridge
commit 9a21523a7b
4 changed files with 28 additions and 19 deletions

View File

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

3
PyQt3D-5.15.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Feb 26 09:50:43 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 5.15.3
* Sync release with PyQt5
- Switch all distros to SIP v5+
- Disable Python 2 build
-------------------------------------------------------------------
Tue Nov 24 17:26:02 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.15.2
* Build system changes
-------------------------------------------------------------------
Sat Sep 26 18:09:37 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-qt3d-qt5
#
# Copyright (c) 2020 SUSE LLC
# 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
@ -24,15 +24,12 @@
%define have_qt3danimation 1
%endif
%if 0%{suse_version} < 1550
%define use_sip4 1
%endif
%define oldpython python
%define mname qt3d-qt5
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-%{mname}
Version: 5.15.1
Version: 5.15.3
Release: 0
Summary: Python bindings for the Qt5 3D framework
License: GPL-3.0-only
@ -40,7 +37,10 @@ Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/pyqtchart/intro
Source: https://files.pythonhosted.org/packages/source/P/PyQt3D/PyQt3D-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pyqt-builder >= 1.9}
BuildRequires: %{python_module qt5-devel}
BuildRequires: %{python_module sip-devel >= 5.3}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-pyqt-rpm-macros
BuildRequires: python-rpm-macros
@ -50,15 +50,8 @@ BuildRequires: pkgconfig(Qt53DExtras)
BuildRequires: pkgconfig(Qt53DInput)
BuildRequires: pkgconfig(Qt53DLogic)
BuildRequires: pkgconfig(Qt53DRender)
%if 0%{?use_sip4}
BuildRequires: %{python_module sip4-devel >= 4.19.4}
Requires: python-sip(api) = %{python_sip_api_ver}
%else
BuildRequires: %{python_module pyqt-builder}
BuildRequires: %{python_module sip-devel >= 5.3}
%requires_eq python-qt5-sip
%endif
%requires_ge python-qt5
Requires: python-qt5 >= %{version}
Requires: python-qt5-sip
%python_subpackages
@ -102,6 +95,8 @@ This package provides %{name} examples.
%install
%pyqt_install
# replace CRLF line endings in example resources in order to make rpmlint happy.
find examples/assets -type f -print0 | xargs -0 dos2unix
%pyqt_install_examples %mname
%files %{python_files}