forked from pool/python-pyotherside
Accepting request 662279 from home:Simmphonie:python
- fix build for Factory - update plugins.qmltypes (commit 067e3a6 on 27 Aug 2018) OBS-URL: https://build.opensuse.org/request/show/662279 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
31b1e23c14
commit
d95de202e7
3
067e3a618df7d9f51d446540324df4f647a0be18.zip
Normal file
3
067e3a618df7d9f51d446540324df4f647a0be18.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:23220a558217a6f3c6d9423a5ff48da739fbe84bb8919c11b6acdee0a1b3ee6f
|
||||||
|
size 247886
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805
|
|
||||||
size 181811
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 1 11:56:07 UTC 2019 - t.gruner@katodev.de
|
||||||
|
|
||||||
|
- fix build for Factory
|
||||||
|
- update plugins.qmltypes (commit 067e3a6 on 27 Aug 2018)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 10 08:10:33 UTC 2018 - t.gruner@katodev.de
|
Tue Apr 10 08:10:33 UTC 2018 - t.gruner@katodev.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyotherside
|
# spec file for package python-pyotherside
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,19 +20,21 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define srcname pyotherside
|
%define srcname pyotherside
|
||||||
Name: python-pyotherside
|
Name: python-pyotherside
|
||||||
Version: 1.5.3
|
Version: 1.5.3_git20180827
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Asynchronous Python 3 Bindings for Qt 5
|
Summary: Asynchronous Python 3 Bindings for Qt 5
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://thp.io/2011/pyotherside/
|
Url: http://thp.io/2011/pyotherside/
|
||||||
Source0: https://github.com/thp/pyotherside/archive/%{version}.tar.gz
|
Source: https://github.com/thp/pyotherside/archive/067e3a618df7d9f51d446540324df4f647a0be18.zip
|
||||||
Provides: pyotherside = %{version}-%{release}
|
Provides: pyotherside = %{version}-%{release}
|
||||||
BuildRequires: libqt5-qtbase-devel
|
BuildRequires: libqt5-qtbase-devel
|
||||||
BuildRequires: libqt5-qtdeclarative-devel
|
BuildRequires: libqt5-qtdeclarative-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: unzip
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: Mesa-dri
|
||||||
BuildRequires: xvfb-run
|
BuildRequires: xvfb-run
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
@@ -47,12 +49,12 @@ BuildRequires: pkgconfig(python3)
|
|||||||
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{version}
|
%setup -q -n %{srcname}-067e3a618df7d9f51d446540324df4f647a0be18
|
||||||
# disable qtquicktests
|
# disable qtquicktests
|
||||||
sed -i 's| qtquicktests||' pyotherside.pro
|
sed -i 's| qtquicktests||' pyotherside.pro
|
||||||
|
|
||||||
%build
|
%build
|
||||||
qmake-qt5 PYTHON_CONFIG=python%{py_ver}-config CONFIG+="nosilent c++11" QMAKE_CXXFLAGS="%{optflags} -fvisibility=hidden -fvisibility-inlines-hidden"
|
qmake-qt5 PYTHON_CONFIG=python%{python_version}-config QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true";
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -60,7 +62,7 @@ make INSTALL_ROOT=%{buildroot} install
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
xvfb-run -s '-screen 0 640x480x8 -extension RANDR' -a ./tests/tests
|
xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user