17
0

4 Commits

Author SHA256 Message Date
b40019e2c5 Accepting request 1281288 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1281288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtAwesome?expand=0&rev=17
2025-05-30 12:39:13 +00:00
583e84d72c Accepting request 1281197 from home:bnavigator:spyder
- Update to 1.4.0
  ## Issues Closed
  * Issue 275 - Update Codicon to 0.0.36 and fix update script (PR
    276 by @dalthviz)
  * Issue 264 - FileNotFoundError on fonts due to Windows Font
    Blocking policy (PR 273 by @dalthviz)
  * Issue 230 - Add Font Awesome 6 and remove deprecated Font
    Awesome 4 (PR 274 by @dalthviz)
  ## Pull Requests Merged
  * PR 277 - PR: Revert Qt binging conditional to run example.py
    and fix animations start/stop logic (CI), by @dalthviz (254)
  * PR 276 - PR: Update Codicon to 0.0.36, by @dalthviz (275)
  * PR 274 - PR: Add FontAwesome 6 icons (6.7.2) and change font
    update command, by @dalthviz (230)
  * PR 273 - PR: Return original font directory when font user
    installation load fails, by @dalthviz (264)
  * PR 272 - PR: Remove FontAwesome 4 font support, by @dalthviz
  * PR 270 - PR: Add fallback to try to load fonts from the system
    ones and add method to check info about bundled fonts, by
    @dalthviz
- Remove windows script entrypoint to install fonts systemwide

OBS-URL: https://build.opensuse.org/request/show/1281197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtAwesome?expand=0&rev=35
2025-05-30 07:53:55 +00:00
4aaa702e52 Accepting request 1264840 from devel:languages:python
- Normalize metadata directory name.

Requires python-setuptools 78 to build successfully.

OBS-URL: https://build.opensuse.org/request/show/1264840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtAwesome?expand=0&rev=16
2025-04-16 18:38:28 +00:00
999f63dcfd - Normalize metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtAwesome?expand=0&rev=33
2025-03-27 02:00:46 +00:00
4 changed files with 43 additions and 11 deletions

View File

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

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu May 29 18:33:51 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.4.0
## Issues Closed
* Issue 275 - Update Codicon to 0.0.36 and fix update script (PR
276 by @dalthviz)
* Issue 264 - FileNotFoundError on fonts due to Windows Font
Blocking policy (PR 273 by @dalthviz)
* Issue 230 - Add Font Awesome 6 and remove deprecated Font
Awesome 4 (PR 274 by @dalthviz)
## Pull Requests Merged
* PR 277 - PR: Revert Qt binging conditional to run example.py
and fix animations start/stop logic (CI), by @dalthviz (254)
* PR 276 - PR: Update Codicon to 0.0.36, by @dalthviz (275)
* PR 274 - PR: Add FontAwesome 6 icons (6.7.2) and change font
update command, by @dalthviz (230)
* PR 273 - PR: Return original font directory when font user
installation load fails, by @dalthviz (264)
* PR 272 - PR: Remove FontAwesome 4 font support, by @dalthviz
* PR 270 - PR: Add fallback to try to load fonts from the system
ones and add method to check info about bundled fonts, by
@dalthviz
- Remove windows script entrypoint to install fonts systemwide
-------------------------------------------------------------------
Thu Mar 27 02:00:24 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
-------------------------------------------------------------------
Fri Mar 29 10:41:57 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-QtAwesome
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-QtAwesome
Version: 1.3.1
Version: 1.4.0
Release: 0
Summary: FontAwesome icons in PyQt and PySide applications
License: MIT
URL: https://github.com/spyder-ide/qtawesome
Source: https://files.pythonhosted.org/packages/source/Q/QtAwesome/QtAwesome-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/q/qtawesome/qtawesome-%{version}.tar.gz
BuildRequires: %{python_module QtPy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -33,8 +33,7 @@ BuildRequires: %{python_module pytest-qt}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
# Choose one of the many backend options for pytest-qt,
# only PyQt5 available for all flavors and supported by QtPy
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module PyQt6}
# /SECTION
BuildRequires: dos2unix
BuildRequires: fdupes
@@ -54,8 +53,10 @@ It is a port to Python - PyQt / PySide of the QtAwesome C++
library by Rick Blommers.
%prep
%setup -q -n QtAwesome-%{version}
%setup -q -n qtawesome-%{version}
dos2unix CHANGELOG.md README.md
# remove entrypoint only for windows
sed -i '/qta-install-fonts-all-users/d' setup.py
%build
%pyproject_wheel
@@ -66,7 +67,8 @@ dos2unix CHANGELOG.md README.md
%python_clone -a %{buildroot}%{_bindir}/qta-browser
%check
%pytest -v qtawesome/tests
export PYTHONPATH="."
%pytest -v
%post
%python_install_alternative qta-browser
@@ -78,7 +80,7 @@ dos2unix CHANGELOG.md README.md
%license LICENSE.txt
%doc CHANGELOG.md README.md
%{python_sitelib}/qtawesome
%{python_sitelib}/QtAwesome-%{version}.dist-info
%{python_sitelib}/qtawesome-%{version}.dist-info
%python_alternative %{_bindir}/qta-browser
%changelog

3
qtawesome-1.4.0.tar.gz Normal file
View File

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