forked from pool/python-pyotherside
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
pyotherside-1.5.3.tar.gz
Normal file
3
pyotherside-1.5.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:00049d5f42cac448368bc2a521edb8de36bb6d2a624e195b7f1004236758b805
|
||||
size 181811
|
16
python-pyotherside.changes
Normal file
16
python-pyotherside.changes
Normal file
@@ -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
|
||||
|
71
python-pyotherside.spec
Normal file
71
python-pyotherside.spec
Normal file
@@ -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
|
Reference in New Issue
Block a user