forked from pool/python-pyotherside
- Update to 1.5.9:
* New version to support python 3.8+ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
afba444637
commit
19a2f218bc
3
1.5.9.tar.gz
Normal file
3
1.5.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:189cb0b973e40fcb6b95fd51b0bcd6cc8494b514d49ffe966ec488cf05bbf51e
|
||||
size 185230
|
15
_service
15
_service
@@ -1,15 +0,0 @@
|
||||
<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.4.git</param>
|
||||
<param name="filename">pyotherside</param>
|
||||
<param name="revision">ebe2845</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>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ab1e683caf9e99be773b57f1b26b2dceca0c58f842eb1646c6a553aaebbd32e
|
||||
size 168544
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 09:15:05 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.5.9:
|
||||
* New version to support python 3.8+
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 11:47:54 UTC 2019 - t.gruner@katodev.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyotherside
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,37 +12,36 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without test
|
||||
%define skip_python2 1
|
||||
%define srcname pyotherside
|
||||
%bcond_without test
|
||||
Name: python-pyotherside
|
||||
Version: 1.5.4.git.1549621936.ebe2845
|
||||
Version: 1.5.9
|
||||
Release: 0
|
||||
Summary: Asynchronous Python 3 Bindings for Qt 5
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
Url: http://thp.io/2011/pyotherside/
|
||||
Source: %{srcname}-%{version}.tar.xz
|
||||
Provides: pyotherside = %{version}-%{release}
|
||||
URL: https://thp.io/2011/pyotherside/
|
||||
Source: https://github.com/thp/pyotherside/archive/%{version}.tar.gz
|
||||
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)
|
||||
BuildRequires: pkgconfig(Qt5Qml)
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
%python_subpackages
|
||||
Provides: pyotherside = %{version}-%{release}
|
||||
Provides: python3-pyotherside = %{version}-%{release}
|
||||
%if %{with test}
|
||||
BuildRequires: Mesa-dri
|
||||
BuildRequires: xvfb-run
|
||||
%endif
|
||||
|
||||
%description
|
||||
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
||||
@@ -53,8 +52,8 @@ 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%{python_version}-config QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true";
|
||||
make %{?_smp_mflags}
|
||||
%qmake5 PYTHON_CONFIG=python%{python_version}-config QMAKE_STRIP="/bin/true";
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make INSTALL_ROOT=%{buildroot} install
|
||||
@@ -64,7 +63,7 @@ make INSTALL_ROOT=%{buildroot} install
|
||||
xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%files
|
||||
%doc README
|
||||
%license LICENSE
|
||||
%dir %{_libqt5_archdatadir}/qml/io/
|
||||
|
Reference in New Issue
Block a user