forked from pool/python-pyotherside
Accepting request 662830 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/662830 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyotherside?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805
|
||||
size 181811
|
15
_service
Normal file
15
_service
Normal file
@@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service mode="localonly" name="obs_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">git://github.com/thp/pyotherside.git</param>
|
||||
<param name="versionprefix">1.5.3.git</param>
|
||||
<param name="filename">pyotherside</param>
|
||||
<param name="revision">067e3a6</param>
|
||||
</service>
|
||||
<service mode="localonly" name="tar" />
|
||||
<service mode="localonly" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="localonly" name="set_version"/>
|
||||
</services>
|
3
pyotherside-1.5.3.git.1535366950.067e3a6.tar.xz
Normal file
3
pyotherside-1.5.3.git.1535366950.067e3a6.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09eb4f05247ba6f82edefe941d1108e0b11f03e710a7043913bb87a19ebd7403
|
||||
size 168024
|
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,19 +20,20 @@
|
||||
%define skip_python2 1
|
||||
%define srcname pyotherside
|
||||
Name: python-pyotherside
|
||||
Version: 1.5.3
|
||||
Version: 1.5.3.git.1535366950.067e3a6
|
||||
Release: 0
|
||||
Summary: Asynchronous Python 3 Bindings for Qt 5
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
Url: http://thp.io/2011/pyotherside/
|
||||
Source0: https://github.com/thp/pyotherside/archive/%{version}.tar.gz
|
||||
Source: %{srcname}-%{version}.tar.xz
|
||||
Provides: pyotherside = %{version}-%{release}
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: libqt5-qtdeclarative-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: Mesa-dri
|
||||
BuildRequires: xvfb-run
|
||||
%endif
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
@@ -52,7 +53,7 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
|
||||
sed -i 's| qtquicktests||' pyotherside.pro
|
||||
|
||||
%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}
|
||||
|
||||
%install
|
||||
@@ -60,11 +61,12 @@ make INSTALL_ROOT=%{buildroot} install
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
xvfb-run -s '-screen 0 640x480x8 -extension RANDR' -a ./tests/tests
|
||||
xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README LICENSE
|
||||
%doc README
|
||||
%license LICENSE
|
||||
%dir %{_libqt5_archdatadir}/qml/io/
|
||||
%dir %{_libqt5_archdatadir}/qml/io/thp/
|
||||
%{_libqt5_archdatadir}/qml/io/thp/pyotherside
|
||||
|
Reference in New Issue
Block a user