Accepting request 613347 from home:TheBlackCat:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/613347 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=7
This commit is contained in:
parent
04b8b2bae9
commit
8c586d9356
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea3935b7a4aa25dd2ef0e755687937526ec135d3208898e4afab84c33ed3cc9f
|
||||
size 27368
|
3
QtPy-1.4.2.tar.gz
Normal file
3
QtPy-1.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d1a4343540433a203280f162d43226e4c87489155fe4a9a6f1923ba11362bf9
|
||||
size 27471
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user