commit a30a2b168d9b87ad0a051f2856b8d52aaf32a85674fed1677cc53b10e020da0d Author: Tomáš Chvátal Date: Mon Jan 15 18:18:30 2018 +0000 Accepting request 565819 from home:Simmphonie:python - cleanup spec file - update to 1.5.3 - disable python2 - Initial release 1.5.1 OBS-URL: https://build.opensuse.org/request/show/565819 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pyotherside-1.5.3.tar.gz b/pyotherside-1.5.3.tar.gz new file mode 100644 index 0000000..e192298 --- /dev/null +++ b/pyotherside-1.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805 +size 181811 diff --git a/python-pyotherside.changes b/python-pyotherside.changes new file mode 100644 index 0000000..cc1846b --- /dev/null +++ b/python-pyotherside.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 4 08:39:45 UTC 2018 - t.gruner@katodev.de + +- cleanup spec file + +------------------------------------------------------------------- +Fri Oct 27 23:43:12 UTC 2017 - dmacvicar@suse.de + +- update to 1.5.3 +- disable python2 + +------------------------------------------------------------------- +Thu Jun 1 14:55:04 UTC 2017 - t.gruner@katodev.de + +- Initial release 1.5.1 + diff --git a/python-pyotherside.spec b/python-pyotherside.spec new file mode 100644 index 0000000..db28b8d --- /dev/null +++ b/python-pyotherside.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-pyotherside +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + +%bcond_without test +%define skip_python2 1 +%define srcname pyotherside +Name: python-pyotherside +Version: 1.5.3 +Release: 0 +Summary: Asynchronous Python 3 Bindings for Qt 5 +License: ISC +Group: Development/Languages/Python +URL: http://thp.io/2011/pyotherside/ +Source0: http://thp.io/2011/pyotherside/%{srcname}-%{version}.tar.gz +Provides: pyotherside = %{version}-%{release} +BuildRequires: libqt5-qtbase-devel +BuildRequires: libqt5-qtdeclarative-devel +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: xvfb-run +%endif +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Test) +BuildRequires: pkgconfig(python3) +%python_subpackages + +%description +A QML Plugin that provides access to a Python 3 interpreter from QML. + +%prep +%setup -q -n %{srcname}-%{version} + +%build +qmake-qt5 PYTHON_CONFIG=python%{py_ver}-config CONFIG+="nosilent c++11" QMAKE_CXXFLAGS="%{optflags} -fvisibility=hidden -fvisibility-inlines-hidden" +make %{?_smp_mflags} + +%install +make INSTALL_ROOT=%{buildroot} install + +%if %{with test} +%check +xvfb-run -s '-screen 0 640x480x8 -extension RANDR' -a ./tests/tests +%endif + +%files %{python_files} +%doc README LICENSE +%dir %{_libqt5_archdatadir}/qml/io/ +%dir %{_libqt5_archdatadir}/qml/io/thp/ +%{_libqt5_archdatadir}/qml/io/thp/pyotherside +%exclude %{_libqt5_archdatadir}/tests/qtquicktests/qtquicktests +%exclude %{_prefix}/tests/qtquicktests/qtquicktests + +%changelog