Accepting request 492686 from home:TheBlackCat:branches:devel:languages:python
Implement single-spec version. Fix building. OBS-URL: https://build.opensuse.org/request/show/492686 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=1
This commit is contained in:
commit
83e20e2e57
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
QtPy-1.2.1.tar.gz
Normal file
3
QtPy-1.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5803ce31f50b24295e8e600b76cc91d7f2a3140a5a0d526d40226f9ec5e9097d
|
||||||
|
size 29210
|
50
python-QtPy.changes
Normal file
50
python-QtPy.changes
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 28 01:58:21 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 09:13:41 UTC 2017 - joerg.lorenzen@ki.tng.de
|
||||||
|
|
||||||
|
- Update to version 1.2.1
|
||||||
|
- Bugs fixed:
|
||||||
|
Pull requests
|
||||||
|
+ PR 98 - PR: Don't use Travis to test macOS because it slows
|
||||||
|
down the entire spyder-ide organization
|
||||||
|
+ PR 97 - PR: Update Appveyor badge in Readme because of moving
|
||||||
|
to an org account
|
||||||
|
+ PR 94 - PR: Include test suite in sdist
|
||||||
|
|
||||||
|
- Version 1.2
|
||||||
|
- New features:
|
||||||
|
+ Add support for QtMultimedia
|
||||||
|
+ Use relative imports so its vendored more easily
|
||||||
|
- Bugs fixed:
|
||||||
|
Issues
|
||||||
|
+ Issue 83 - Include core doc files in PyPi releases
|
||||||
|
+ Issue 78 - Request for a new bugfix release
|
||||||
|
+ Issue 75 - Missing copyright headers
|
||||||
|
+ Issue 67 - uic.loadUiType is missing
|
||||||
|
+ Issue 64 - QHeaderView.setSectionResizeMode
|
||||||
|
+ Issue 49 - QtMultimedia support
|
||||||
|
Pull requests
|
||||||
|
+ PR 93 - Restore uic full namespace for PyQt5 and PyQt4
|
||||||
|
+ PR 92 - Add missing copyright header in _patch/qheaderview.py
|
||||||
|
+ PR 91 - Use star imports in QtSvg again instead of direct
|
||||||
|
ones (reverts PR #55)
|
||||||
|
+ PR 88 - PR: Add manifest
|
||||||
|
+ PR 74 - Move QStringListModel to QtCore
|
||||||
|
+ PR 71 - PR: Use relative imports so its vendored more easily
|
||||||
|
+ PR 65 - Introduce renamed methods of QHeaderView in PyQt4 and
|
||||||
|
PySide
|
||||||
|
+ PR 59 - Don't install qtpy as a conda package in CircleCI
|
||||||
|
+ PR 58 - Remove reference to how qtpy is pronounced in README
|
||||||
|
+ PR 55 - PR: Add explicit imports to QtSvg module
|
||||||
|
+ PR 50 - Add support for QtMultimedia
|
||||||
|
- Removed source file LICENSE.txt, fixed upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 13 18:58:01 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
71
python-QtPy.spec
Normal file
71
python-QtPy.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-QtPy
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 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 tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-QtPy
|
||||||
|
Version: 1.2.1
|
||||||
|
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}
|
||||||
|
Requires: python-qt5
|
||||||
|
Requires: python-sip
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
QtPy (pronounced 'cutie pie') is a small abstraction layer that lets you
|
||||||
|
write applications using a single api call to either PyQt or PySide.
|
||||||
|
|
||||||
|
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where
|
||||||
|
the QtGui module has been split into QtGui and QtWidgets).
|
||||||
|
|
||||||
|
Basically, you write your code as if you were using PyQt5 but import qt from
|
||||||
|
`qtpy` instead of `PyQt5`.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n QtPy-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE.txt
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user