From 45100d3d44341f2025abe838059359d6bd42b49a Mon Sep 17 00:00:00 2001 From: Pavel Baksy Date: Tue, 12 May 2026 23:17:58 +0200 Subject: [PATCH] Merge import buttons into single popover menu, add PyYAML to Flatpak --- cz.bugsy.roster.json | 16 +++++++++++++++- src/main-window.ui | 29 ++++++++++++++++------------- src/window.py | 13 +++++++++---- 3 files changed, 40 insertions(+), 18 deletions(-) diff --git a/cz.bugsy.roster.json b/cz.bugsy.roster.json index ae766a5..86fbb29 100644 --- a/cz.bugsy.roster.json +++ b/cz.bugsy.roster.json @@ -1,7 +1,7 @@ { "id" : "cz.bugsy.roster", "runtime" : "org.gnome.Platform", - "runtime-version" : "49", + "runtime-version" : "50", "sdk" : "org.gnome.Sdk", "command" : "roster", "finish-args" : [ @@ -28,6 +28,20 @@ ] }, "modules" : [ + { + "name" : "python3-pyyaml", + "buildsystem" : "simple", + "build-commands" : [ + "pip3 install --no-deps --prefix=/app pyyaml-6.0.3.tar.gz" + ], + "sources" : [ + { + "type" : "file", + "url" : "https://files.pythonhosted.org/packages/source/P/PyYAML/pyyaml-6.0.3.tar.gz", + "sha256" : "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f" + } + ] + }, { "name" : "roster", "builddir" : true, diff --git a/src/main-window.ui b/src/main-window.ui index 1c36385..2266403 100644 --- a/src/main-window.ui +++ b/src/main-window.ui @@ -3,6 +3,19 @@ + +
+ + Import from OpenAPI / Swagger + win.import-openapi + + + Import from WSDL + win.import-wsdl + +
+
+