diff --git a/QtPy-1.5.2.tar.gz b/QtPy-1.5.2.tar.gz deleted file mode 100644 index e6d4b37..0000000 --- a/QtPy-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c690f90586c82c1210bb6fdf5e9ee4d1228809421dc6a349c5afacc27caabcd -size 30387 diff --git a/QtPy-1.6.0.tar.gz b/QtPy-1.6.0.tar.gz new file mode 100644 index 0000000..65a1c17 --- /dev/null +++ b/QtPy-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd5c09655e58bf3a013d2940e71f069732ed67f056d4dcb2b0609a3ecd9b320f +size 30738 diff --git a/python-QtPy.changes b/python-QtPy.changes index 1594b8e..f10e3db 100644 --- a/python-QtPy.changes +++ b/python-QtPy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 6 10:25:51 UTC 2019 - Tomáš Chvátal + +- Update to 1.6.0: + * Add support for QtQuickWidgets + * Issue 178 - Error when import QtCore.version in PySide2 + ------------------------------------------------------------------- Tue Dec 4 12:53:28 UTC 2018 - Matej Cepl diff --git a/python-QtPy.spec b/python-QtPy.spec index 97710a0..285ee48 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -1,7 +1,7 @@ # # spec file for package python-QtPy # -# 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 @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-QtPy -Version: 1.5.2 +Version: 1.6.0 Release: 0 Summary: Abstraction layer on top of Qt bindings License: MIT Group: Development/Languages/Python -Url: https://github.com/spyder-ide/qtpy +URL: https://github.com/spyder-ide/qtpy Source: https://files.pythonhosted.org/packages/source/Q/QtPy/QtPy-%{version}.tar.gz BuildRequires: %{python_module qt5} BuildRequires: %{python_module setuptools} @@ -31,14 +31,13 @@ BuildRequires: %{python_module sip} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: xvfb-run +Requires: python-qt5 +Requires: python-sip +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} # /SECTION -Requires: python-qt5 -Requires: python-sip -BuildArch: noarch - %python_subpackages %description @@ -61,7 +60,7 @@ sed -i 's/\r$//' LICENSE.txt %install %python_install %{python_expand chmod a+x %{buildroot}%{$python_sitelib}/qtpy/tests/runtests.py -sed -i "s|^#!/usr/bin/env python$|#!%__$python|" %{buildroot}%{$python_sitelib}/qtpy/tests/runtests.py +sed -i "s|^#!%{_bindir}/env python$|#!%__$python|" %{buildroot}%{$python_sitelib}/qtpy/tests/runtests.py $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/qtpy/tests/ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/qtpy/tests/ %fdupes %{buildroot}%{$python_sitelib}