{
 "app_id": "org.spyder_ide.spyder",
 "source_url": "https://raw.githubusercontent.com/flathub/org.spyder_ide.spyder/master/org.spyder_ide.spyder.yaml",
 "runtime": "org.kde.Sdk",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 25,
 "fetched_at": "2026-09-17T16:16:37.312937+00:00",
 "manifest": {
  "app-id": "org.spyder_ide.spyder",
  "runtime": "org.kde.Sdk",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "spyder-wrapper",
  "rename-desktop-file": "spyder.desktop",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=home",
   "--share=network",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=FLATPAK_ISOLATE_PIP=1",
   "--env=FLATPAK_IDE_LOGLEVEL=1",
   "--env=FLATPAK_PREFER_USER_PACKAGES=1",
   "--env=PYTHONPATH=/app/org.spyder_ide.spyder/data/python/lib/python3.13/",
   "--env=PYTHONSTARTUP=/app/etc/pythonstart"
  ],
  "modules": [
   {
    "name": "openblas",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING:BOOL=OFF",
     "-DDYNAMIC_ARCH=1",
     "-DDYNAMIC_OLDER=1",
     "-DTARGET=GENERIC"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.34.tar.gz",
      "sha256": "cd7e129868320cc2d033afa920e31202dfe0b8066a5b66661900ccc0f197dfed",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2540,
       "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libspatialindex",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libspatialindex/libspatialindex/releases/download/2.1.0/spatialindex-src-2.1.0.tar.bz2",
      "sha256": "c59932395e98896038d59199f2e2453595df6d730ffbe09d69df2a661bcb619b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4864,
       "stable-only": true,
       "url-template": "https://github.com/libspatialindex/libspatialindex/releases/download/$version/spatialindex-src-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "libzmq",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz",
      "sha256": "6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 16245,
       "stable-only": true,
       "url-template": "https://github.com/zeromq/libzmq/releases/download/v$version/zeromq-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "PyYAML",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --ignore-installed --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz",
      "sha256": "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f",
      "x-checker-data": {
       "type": "pypi",
       "name": "pyyaml"
      }
     }
    ]
   },
   {
    "name": "Cython",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --ignore-installed --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/f6/de/db48b8870e766cfea809986cc50c1e986c663a9ab7bafd0ac1a2512c4a26/cython-3.2.9.tar.gz",
      "sha256": "d249c9022ab13286b17bd66f30609e800c5f95efeecb06168990c7a66cecde6c",
      "x-checker-data": {
       "type": "pypi",
       "name": "Cython"
      }
     }
    ]
   },
   "ruff.json",
   "spyder_deps_additional.json",
   "spyder_deps_1.json",
   "spyder_deps_2.json",
   "spyder_deps_3.json",
   "spyder_deps_rust.json",
   "spyder_deps_terminal.json",
   {
    "name": "python-numpy",
    "buildsystem": "simple",
    "build-options": {
     "ldflags": "-lgfortran"
    },
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz",
      "sha256": "a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3",
      "x-checker-data": {
       "type": "pypi",
       "name": "numpy"
      }
     }
    ]
   },
   "spyder_deps_numerical.json",
   {
    "name": "python-scipy",
    "buildsystem": "simple",
    "build-options": {
     "ldflags": "-lgfortran"
    },
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/a7/25/c2700dfaf6442b4effaa91af24ebce5dc9d31bb4a69706313aae70d72cd0/scipy-1.18.0.tar.gz",
      "sha256": "67b2ad2ad54c72ca6d04975a9b2df8c3638c34ddd5b28738e94fc2b57929d378",
      "x-checker-data": {
       "type": "pypi",
       "name": "scipy"
      }
     }
    ]
   },
   {
    "name": "python-statsmodels",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/0d/81/e8d74b34f85285f7335d30c5e3c2d7c0346997af9f3debf9a0a9a63de184/statsmodels-0.14.6.tar.gz",
      "sha256": "4d17873d3e607d398b85126cd4ed7aad89e4e9d89fc744cdab1af3189a996c2a",
      "x-checker-data": {
       "type": "pypi",
       "name": "statsmodels"
      }
     }
    ]
   },
   {
    "name": "python3-matplotlib",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p subprojects/packagecache/",
     "cp qhull-8.0.2.tgz freetype-2.14.3.tar.xz harfbuzz-14.1.0.tar.xz sheenbidi-3.0.0.tar.gz libraqm-0.10.5.tar.gz subprojects/packagecache/",
     "python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.14.3.tar.xz",
      "sha256": "36bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f",
      "dest-filename": "freetype-2.14.3.tar.xz"
     },
     {
      "type": "file",
      "dest-filename": "qhull-8.0.2.tgz",
      "url": "https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz",
      "sha256": "8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b"
     },
     {
      "type": "file",
      "url": "https://github.com/harfbuzz/harfbuzz/releases/download/14.1.0/harfbuzz-14.1.0.tar.xz",
      "sha256": "ee0eb3a1da2c5a28147f12dff55f6c7d60aeeeb29ac7ef334eabe84c8476c105",
      "dest-filename": "harfbuzz-14.1.0.tar.xz"
     },
     {
      "type": "file",
      "url": "https://github.com/Tehreer/SheenBidi/archive/refs/tags/v3.0.0/sheenbidi-3.0.0.tar.gz",
      "sha256": "86c56014034739ba39a24c23eb00323b0bf6f737354f665786015fca842af786",
      "dest-filename": "sheenbidi-3.0.0.tar.gz"
     },
     {
      "type": "file",
      "url": "https://github.com/HOST-Oman/libraqm/archive/v0.10.5/libraqm-0.10.5.tar.gz",
      "sha256": "7f3dd21b4b3bd28a36f2c911d31d91a9d69341697713923ef1aac65d56ebcafd",
      "dest-filename": "libraqm-0.10.5.tar.gz"
     },
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/49/64/f9a391af28f518b11ad45a8a712353c94a0aefce09d3703200e5c54b610a/matplotlib-3.11.1.tar.gz",
      "sha256": "69647db5746941c793d6e445a4cd349323ffb87d9cc958c2ad84a659b4832d30",
      "x-checker-data": {
       "type": "pypi",
       "name": "matplotlib"
      }
     }
    ]
   },
   {
    "name": "spyder-kernels",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/35/0e/d1e878958fe8e022b625e8e3d8e7e2c96ff0ba872f10421540d7a58e2a02/spyder_kernels-3.1.5.tar.gz",
      "sha256": "5996ed30474e7f71815e87d398dbd44abeaa7456ea6756f8191124c10453738e",
      "x-checker-data": {
       "type": "pypi",
       "name": "spyder-kernels"
      }
     }
    ]
   },
   {
    "name": "python-lsp-server",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/e6/63/7d6af072a5b77a0d1f61306b7a72a7a2bc3f29ec0f8a8c85eb23f5ba7716/python_lsp_server-1.15.0.tar.gz",
      "sha256": "85fa090262c3d1aef09b759d98811d6cb9ad5bbc58af15d588608ae8c1925801",
      "x-checker-data": {
       "type": "pypi",
       "name": "python-lsp-server"
      }
     }
    ]
   },
   {
    "name": "Spyder",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "post-install": [
     "install -Dm0644 /app/share/icons/spyder.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "desktop-file-edit --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/spyder.desktop",
     "desktop-file-edit --set-key=Exec --set-value=spyder-wrapper ${FLATPAK_DEST}/share/applications/spyder.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/spyder-ide/spyder.git",
      "tag": "v6.1.6",
      "commit": "08452c427b705fc00fc901456cc3f76c26a2f0ee",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "tkinter",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/iwalton3/tkinter-standalone",
      "commit": "8e78e38ef0cceb44a3a0062e1c314a4ff3f981db"
     }
    ],
    "modules": [
     {
      "name": "tcl",
      "buildsystem": "autotools",
      "subdir": "unix",
      "config-opts": [
       "--enable-threads",
       "--enable-shared"
      ],
      "post-install": [
       "chmod 755 /app/lib/libtcl*.so"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://prdownloads.sourceforge.net/tcl/tcl9.0.0-src.tar.gz",
        "sha256": "3bfda6dbaee8e9b1eeacc1511b4e18a07a91dff82d9954cdb9c729d8bca4bbb7"
       }
      ]
     },
     {
      "name": "tk",
      "buildsystem": "autotools",
      "subdir": "unix",
      "post-install": [
       "chmod +w ${FLATPAK_DEST}/lib/libtcl9tk*.so",
       "ln -sf /app/bin/wish9.0 /app/bin/wish"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://prdownloads.sourceforge.net/tcl/tk9.0.0-src.tar.gz",
        "sha256": "f166e3c20773c82243f753cef4b091d05267cb7f87da64be88cb2ca5a2ba027e"
       }
      ]
     }
    ]
   },
   {
    "name": "Spyder-flatpak-wrapper",
    "buildsystem": "meson",
    "config-opts": [
     "-Deditor_binary=/app/bin/spyder",
     "-Deditor_args=--new-instance",
     "-Dprogram_name=spyder-wrapper",
     "-Deditor_title=Spyder IDE",
     "-Dsdk_version=25.08"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flathub/ide-flatpak-wrapper.git",
      "commit": "a9d22d1b36fc8bb814c77d70957715bbc5840f83"
     },
     {
      "type": "patch",
      "path": "ide_first_run.patch"
     }
    ]
   },
   {
    "name": "pythonstart",
    "buildsystem": "simple",
    "build-commands": [
     "cp pythonstart /app/etc/"
    ],
    "sources": [
     {
      "type": "file",
      "path": "pythonstart"
     }
    ]
   }
  ]
 }
}