14
0

- 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:
Tomáš Chvátal
2020-03-09 09:19:59 +00:00
committed by Git OBS Bridge
parent afba444637
commit 19a2f218bc
5 changed files with 24 additions and 34 deletions

3
1.5.9.tar.gz Normal file
View File

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

View File

@@ -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>

View File

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

View File

@@ -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 Fri May 10 11:47:54 UTC 2019 - t.gruner@katodev.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyotherside # 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 # 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
@@ -12,37 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 skip_python2 1
%define srcname pyotherside %define srcname pyotherside
%bcond_without test
Name: python-pyotherside Name: python-pyotherside
Version: 1.5.4.git.1549621936.ebe2845 Version: 1.5.9
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 URL: https://thp.io/2011/pyotherside/
Url: http://thp.io/2011/pyotherside/ Source: https://github.com/thp/pyotherside/archive/%{version}.tar.gz
Source: %{srcname}-%{version}.tar.xz
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
%if %{with test}
BuildRequires: Mesa-dri
BuildRequires: xvfb-run
%endif
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(python3) 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 %description
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.
@@ -53,8 +52,8 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
sed -i 's| qtquicktests||' pyotherside.pro sed -i 's| qtquicktests||' pyotherside.pro
%build %build
qmake-qt5 PYTHON_CONFIG=python%{python_version}-config QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true"; %qmake5 PYTHON_CONFIG=python%{python_version}-config QMAKE_STRIP="/bin/true";
make %{?_smp_mflags} %make_build
%install %install
make INSTALL_ROOT=%{buildroot} install make INSTALL_ROOT=%{buildroot} install
@@ -64,7 +63,7 @@ make INSTALL_ROOT=%{buildroot} install
xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests
%endif %endif
%files %{python_files} %files
%doc README %doc README
%license LICENSE %license LICENSE
%dir %{_libqt5_archdatadir}/qml/io/ %dir %{_libqt5_archdatadir}/qml/io/