14
0
Files
python-QtAwesome/python-QtAwesome.spec
Tomáš Chvátal f6490368f8 Accepting request 719534 from home:pgajdos
- version update to 0.6.0
  * Add rotated, hflip, and vflip options
  * Update FontAwesome and Material design icons
  * Rotate icons by static angle i.e. 90, 180 etc
  * PR: Update FontAwesome and Material design icons
  * PR: Add rotated, hflip, and vflip options

OBS-URL: https://build.opensuse.org/request/show/719534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtAwesome?expand=0&rev=12
2019-07-29 09:19:47 +00:00

67 lines
2.1 KiB
RPMSpec

#
# spec file for package python-QtAwesome
#
# 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
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-QtAwesome
Version: 0.6.0
Release: 0
Summary: FontAwesome icons in PyQt and PySide applications
License: MIT
Group: Development/Languages/Python
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}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: xvfb-run
Requires: python-QtPy
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
QtAwesome enables iconic fonts such as Font Awesome and
Elusive Icons in PyQt and PySide applications.
It is a port to Python - PyQt / PySide of the QtAwesome C++
library by Rick Blommers.
%prep
%setup -q -n QtAwesome-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run py.test-%{$python_bin_suffix} -v qtawesome/tests
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.md
%{python_sitelib}/*
%changelog