14
0

Accepting request 870784 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/870784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtAwesome?expand=0&rev=8
This commit is contained in:
Richard Brown
2021-03-30 19:02:49 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca9719c82d41707f62c340811b23bcab95336e73edd88b7eab7fd951d2e27fab
size 847272

3
QtAwesome-1.0.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:771dd95ac4f50d647d18b4e892fd310a580b56d258476554c7b3498593dfd887
size 878664

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Feb 9 16:02:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 1.0.2
* Perform a font id validation
* Add entries to the mdi charmap to be supported by Spyder
<= 4.1.5 (1.0.1)
* Update Material design icons to 5.4.55 (1.0.0)
* Drop Python 2 support (1.0.0)
* Fix deprecation warnings due to invalid escape sequences
(0.7.3)
- Use pytest-xvfb -- much more stable than the xvfb-run in sequence
for each python flavor
-------------------------------------------------------------------
Tue Jul 28 05:48:08 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-QtAwesome
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-QtAwesome
Version: 0.7.2
Version: 1.0.2
Release: 0
Summary: FontAwesome icons in PyQt and PySide applications
License: MIT
@@ -26,14 +27,14 @@ URL: https://github.com/spyder-ide/qtawesome
Source: https://files.pythonhosted.org/packages/source/Q/QtAwesome/QtAwesome-%{version}.tar.gz
BuildRequires: %{python_module QtPy}
BuildRequires: %{python_module pytest-qt}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: xvfb-run
Requires: python-QtPy
Requires: python-six
BuildArch: noarch
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -48,6 +49,7 @@ library by Rick Blommers.
%prep
%setup -q -n QtAwesome-%{version}
dos2unix CHANGELOG.md
%build
%python_build
@@ -58,7 +60,7 @@ library by Rick Blommers.
%python_clone -a %{buildroot}%{_bindir}/qta-browser
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run py.test-%{$python_bin_suffix} -v qtawesome/tests
%pytest -v qtawesome/tests
%post
%python_install_alternative qta-browser