diff --git a/QtPy-1.4.1.tar.gz b/QtPy-1.4.1.tar.gz deleted file mode 100644 index 1711f0e..0000000 --- a/QtPy-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea3935b7a4aa25dd2ef0e755687937526ec135d3208898e4afab84c33ed3cc9f -size 27368 diff --git a/QtPy-1.4.2.tar.gz b/QtPy-1.4.2.tar.gz new file mode 100644 index 0000000..0f9683e --- /dev/null +++ b/QtPy-1.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d1a4343540433a203280f162d43226e4c87489155fe4a9a6f1923ba11362bf9 +size 27471 diff --git a/python-QtPy.changes b/python-QtPy.changes index 9b3b792..28e5283 100644 --- a/python-QtPy.changes +++ b/python-QtPy.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu May 31 15:38:45 UTC 2018 - toddrme2178@gmail.com + +- Update to version 1.4.2 + + Issues Closed + * Issue 150 - PySide2-5.11 alpha2 compatibility (PR 151) + * Issue 144 - ValueError: API 'QString' has already been set to version 1 at line 141 in init.py file. (PR 152) + + Pull Requests Merged + * PR 152 - PR: Catch ValueError when trying to set sip API (144) + * PR 151 - PR: Add a preventive change for PySide-5.11a2 (150) + * PR 149 - PR: Use Qt official wheels to run tests for PySide2 + * PR 148 - PR: Remove internal conda recipe + ------------------------------------------------------------------- Sat Apr 28 19:47:37 UTC 2018 - toddrme2178@gmail.com diff --git a/python-QtPy.spec b/python-QtPy.spec index e733a11..42fc8b9 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -15,26 +15,25 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ -%bcond_without test - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-QtPy -Version: 1.4.1 +Version: 1.4.2 Release: 0 License: MIT Summary: Abstraction layer on top of Qt bindings Url: https://github.com/spyder-ide/qtpy Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/Q/QtPy/QtPy-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module qt5} BuildRequires: %{python_module sip} -%if %{with test} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: xvfb-run +# SECTION test requirements BuildRequires: %{python_module pytest} -%endif +# /SECTION Requires: python-qt5 Requires: python-sip BuildArch: noarch @@ -67,14 +66,20 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/qt %fdupes %{buildroot}%{$python_sitelib} } -%if %{with test} %check -%python_exec setup.py test -%endif +export QT_HASH_SEED=0 +export PYTHONDONTWRITEBYTECODE=1 +mkdir empty +pushd empty +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +xvfb-run --server-args="-screen 0 1920x1080x24" py.test-%{$python_bin_suffix} ../qtpy/tests/ +} +popd %files %{python_files} %defattr(-,root,root,-) -%doc LICENSE.txt +%doc AUTHORS.md CHANGELOG.md README.md +%license LICENSE.txt %{python_sitelib}/* %changelog