From 583e84d72c79321124d1542b7613a8dc90e6ce046efb3f72b7e9a9ebf4b88e21 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Fri, 30 May 2025 07:53:55 +0000 Subject: [PATCH] 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 --- QtAwesome-1.3.1.tar.gz | 3 --- python-QtAwesome.changes | 25 +++++++++++++++++++++++++ python-QtAwesome.spec | 14 ++++++++------ qtawesome-1.4.0.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 9 deletions(-) delete mode 100644 QtAwesome-1.3.1.tar.gz create mode 100644 qtawesome-1.4.0.tar.gz diff --git a/QtAwesome-1.3.1.tar.gz b/QtAwesome-1.3.1.tar.gz deleted file mode 100644 index 273bf73..0000000 --- a/QtAwesome-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:075b2c9ee01cbaf5e3a4bebed0e5529ee8605981355f21dea051b15c1b869e1b -size 2372190 diff --git a/python-QtAwesome.changes b/python-QtAwesome.changes index 90fe93d..9097f7b 100644 --- a/python-QtAwesome.changes +++ b/python-QtAwesome.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu May 29 18:33:51 UTC 2025 - Ben Greiner + +- 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 diff --git a/python-QtAwesome.spec b/python-QtAwesome.spec index 50cefdd..d173d9d 100644 --- a/python-QtAwesome.spec +++ b/python-QtAwesome.spec @@ -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 diff --git a/qtawesome-1.4.0.tar.gz b/qtawesome-1.4.0.tar.gz new file mode 100644 index 0000000..7a025fd --- /dev/null +++ b/qtawesome-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:783e414d1317f3e978bf67ea8e8a1b1498bad9dbd305dec814027e3b50521be6 +size 2614365