public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/spyder] f43: Merge branch 'rawhide' into f43
@ 2026-11-07 16:06 Filipe Rosset
  0 siblings, 0 replies; 2+ messages in thread
From: Filipe Rosset @ 2026-11-07 16:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/spyder
Branch : f43
Commit : 1dabca7d236558367332b8ef347c55bad5ea557f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-07T13:06:11-03:00
Stats  : +35/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/spyder/c/1dabca7d236558367332b8ef347c55bad5ea557f?branch=f43

Log:
Merge branch 'rawhide' into f43

---
diff --git a/sources b/sources
index f8ff76f..1f5283d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (spyder-6.1.7.tar.gz) = 35953b23e7769b725337d928d139ac3d224e13b53fae2d2e2cc54ee6aa1bdebf614a6f99a6e775e2b59419713075cf17a585ce1a92a12b3838a0c87bca9a7010
+SHA512 (spyder-6.1.8.tar.gz) = 84fb0a4439b564148f2424efbcf74c9bd9ca240a67f726f81ef7afbaf4c719446b59ded7a234251bbf829aab47170206fcfa0158c08c6035e33bfda01a760554

diff --git a/spyder.spec b/spyder.spec
index 02f57e1..434c0e5 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -1,6 +1,6 @@
 %global forgeurl https://github.com/spyder-ide/spyder
 %global tag v%{version}
-Version:        6.1.7
+Version:        6.1.8
 %forgemeta
 
 Name:           spyder
@@ -64,6 +64,7 @@ components, such as the interactive console, in your own software.}
 %package -n python3-spyder
 Summary:    %{summary}
 
+Requires:       fontawesome-fonts-web
 Requires:       hicolor-icon-theme
 Requires:       mathjax
 Requires:       python3dist(python-lsp-black) >= 2
@@ -125,6 +126,30 @@ ln -s %{_datadir}/javascript/mathjax/ \
 # provide spyder3 as symlink to spyder binary for continuity
 ln -s spyder %{buildroot}%{_bindir}/spyder3
 
+# python3-QtAwesome symlinks its fontawesome5/6 webfonts to
+# /usr/share/fontawesome/webfonts/fa-*.ttf, but fontawesome-fonts-web 7.x
+# only ships woff2 files -> dangling symlinks -> qtawesome crashes spyder at
+# import time (FileNotFoundError on open() of the font data).
+# Those font files are owned by python3-QtAwesome, so they are not in our
+# buildroot; fix the symlinks in a scriptlet after install instead.
+# Repoint them at the woff2 files; Qt loads them fine as raw font data (the
+# .ttf extension is only used as a filename by qtawesome).
+%posttrans -n python3-spyder
+qta_fonts="$(python3 -c 'import os,qtawesome;print(os.path.dirname(qtawesome.__file__)+"/fonts")' 2>/dev/null)"
+if [ -d "$qta_fonts" ]; then
+    for ttf in "$qta_fonts"/fontawesome[56]-*-webfont-*.ttf; do
+        [ -L "$ttf" ] || continue
+        case "$(basename "$ttf")" in
+            *solid*)   target=fa-solid-900.woff2 ;;
+            *regular*) target=fa-regular-400.woff2 ;;
+            *brands*)  target=fa-brands-400.woff2 ;;
+            *) continue ;;
+        esac
+        ln -sf %{_datadir}/fontawesome/webfonts/$target "$ttf"
+    done
+fi
+exit 0
+
 
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/spyder.desktop

diff --git a/spyder.spec b/spyder.spec
index 219f674..434c0e5 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -39,6 +39,8 @@ BuildRequires:  python3-devel
 BuildRequires:  python3dist(python-lsp-black) >= 2
 BuildRequires:  python3dist(python-lsp-ruff) >= 2.3
 BuildRequires:  python3dist(python-lsp-server) >= 1.13
+BuildRequires:  python3dist(qtawesome) >= 1.4
+BuildRequires:  python3dist(qtconsole) >= 5.7
 BuildRequires:  python3dist(spyder-kernels) >= 3.1
 
 %global appname org.spyder_ide.spyder
@@ -68,6 +70,8 @@ Requires:       mathjax
 Requires:       python3dist(python-lsp-black) >= 2
 Requires:       python3dist(python-lsp-ruff) >= 2.3
 Requires:       python3dist(python-lsp-server) >= 1.13
+Requires:       python3dist(qtawesome) >= 1.4
+Requires:       python3dist(qtconsole) >= 5.7
 Requires:       python3dist(spyder-kernels) >= 3.1
 
 %description -n python3-spyder %_description
@@ -89,8 +93,12 @@ sed -i \
     -e '/python-lsp-black/d' \
     -e '/python-lsp-ruff/d' \
     -e '/python-lsp-server/d' \
+    -e '/qtawesome/d' \
+    -e '/qtconsole/d' \
     -e '/spyder-kernels/d' setup.py
 sed -i -e "s/PYLSP_REQVER = .*/PYLSP_REQVER = '>=1.13.0'/g" spyder/dependencies.py
+sed -i -e "s/QTAWESOME_REQVER = .*/QTAWESOME_REQVER = '>=1.4.0'/g" spyder/dependencies.py
+sed -i -e "s/QTCONSOLE_REQVER = .*/QTCONSOLE_REQVER = '>=5.7.0'/g" spyder/dependencies.py
 sed -i -e "s/SPYDER_KERNELS_REQVER = .*/SPYDER_KERNELS_REQVER = '>=3.1.0'/g" spyder/dependencies.py
 
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/spyder] f43: Merge branch 'rawhide' into f43
@ 2026-11-27 16:48 Filipe Rosset
  0 siblings, 0 replies; 2+ messages in thread
From: Filipe Rosset @ 2026-11-27 16:48 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/spyder
            Branch : f43
            Commit : b471ed714ebd155170c328385ca71620f21faa1d
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-11-27T13:47:50-03:00
            Stats  : +32/-2 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/spyder/c/b471ed714ebd155170c328385ca71620f21faa1d?branch=f43

            Log:
            Merge branch 'rawhide' into f43

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..4129c60
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,19 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+specfile_path: spyder.spec
+
+copy_upstream_release_description: false
+
+jobs:
+  - job: pull_from_upstream
+    trigger: release
+    dist_git_branches:
+      - fedora-rawhide
+
+  - job: koji_build
+    trigger: commit
+    allowed_committers: ['packit','all_admins']
+    dist_git_branches:
+      - fedora-rawhide
+

diff --git a/README.packit b/README.packit
new file mode 100644
index 0000000..41ba8b3
--- /dev/null
+++ b/README.packit
@@ -0,0 +1,3 @@
+This repository is maintained by packit.
+https://packit.dev/
+The file was generated using packit 1.16.3.

diff --git a/sources b/sources
index 1f5283d..ac4a51c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (spyder-6.1.8.tar.gz) = 84fb0a4439b564148f2424efbcf74c9bd9ca240a67f726f81ef7afbaf4c719446b59ded7a234251bbf829aab47170206fcfa0158c08c6035e33bfda01a760554
+SHA512 (spyder-6.1.9.tar.gz) = b5bfc2d5a89493f36961fa8f4e51406a9824c1506b09dffa1f2ed4dbc6517cd1ba28868d5e782259241f3d80e425b2a3385532b8f0394c9a72adefc1255d3dab

diff --git a/spyder.spec b/spyder.spec
index 434c0e5..db45657 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -1,6 +1,6 @@
 %global forgeurl https://github.com/spyder-ide/spyder
 %global tag v%{version}
-Version:        6.1.8
+Version:        6.1.9
 %forgemeta
 
 Name:           spyder

diff --git a/spyder.spec b/spyder.spec
index 7159598..db45657 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -39,6 +39,8 @@ BuildRequires:  python3-devel
 BuildRequires:  python3dist(python-lsp-black) >= 2
 BuildRequires:  python3dist(python-lsp-ruff) >= 2.3
 BuildRequires:  python3dist(python-lsp-server) >= 1.13
+BuildRequires:  python3dist(qtawesome) >= 1.4
+BuildRequires:  python3dist(qtconsole) >= 5.7
 BuildRequires:  python3dist(spyder-kernels) >= 3.1
 
 %global appname org.spyder_ide.spyder
@@ -68,6 +70,8 @@ Requires:       mathjax
 Requires:       python3dist(python-lsp-black) >= 2
 Requires:       python3dist(python-lsp-ruff) >= 2.3
 Requires:       python3dist(python-lsp-server) >= 1.13
+Requires:       python3dist(qtawesome) >= 1.4
+Requires:       python3dist(qtconsole) >= 5.7
 Requires:       python3dist(spyder-kernels) >= 3.1
 
 %description -n python3-spyder %_description
@@ -89,8 +93,12 @@ sed -i \
     -e '/python-lsp-black/d' \
     -e '/python-lsp-ruff/d' \
     -e '/python-lsp-server/d' \
+    -e '/qtawesome/d' \
+    -e '/qtconsole/d' \
     -e '/spyder-kernels/d' setup.py
 sed -i -e "s/PYLSP_REQVER = .*/PYLSP_REQVER = '>=1.13.0'/g" spyder/dependencies.py
+sed -i -e "s/QTAWESOME_REQVER = .*/QTAWESOME_REQVER = '>=1.4.0'/g" spyder/dependencies.py
+sed -i -e "s/QTCONSOLE_REQVER = .*/QTCONSOLE_REQVER = '>=5.7.0'/g" spyder/dependencies.py
 sed -i -e "s/SPYDER_KERNELS_REQVER = .*/SPYDER_KERNELS_REQVER = '>=3.1.0'/g" spyder/dependencies.py
 
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-27 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 16:06 [rpms/spyder] f43: Merge branch 'rawhide' into f43 Filipe Rosset
2026-11-27 16:48 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox