{ "id": "org.freedesktop.tuhi", "command": "/app/bin/tuhi", "runtime": "org.freedesktop.Platform", "sdk": "org.freedesktop.Sdk", "runtime-version": "1.6", "cleanup": [ "/cache", "/include", "/lib/pkgconfig", "/man", "/share/aclocal", "/share/devhelp", "/share/gir-1.0", "/share/gtk-doc", "/share/man", "/share/pkgconfig", "/share/vala", "/lib/systemd", "*.la", "*.a" ], "build-options" : { "cflags": "-O2 -g", "cxxflags": "-O2 -g" }, "finish-args": [ "--system-talk-name=org.bluez", "--own-name=org.freedesktop.tuhi1" ], "modules": [ { "name": "cpython", "sources": [ { "type": "archive", "url": "https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz", "sha256": "159b932bf56aeaa76fd66e7420522d8c8853d486b8567c459b84fe2ed13bcaba" } ] }, { "name": "pycairo", "build-options" : { "env": { "PYTHON": "/app/bin/python3" } }, "buildsystem": "simple", "build-commands": [ "python3 ./setup.py sdist", "pip3 install dist/*.tar.gz" ], "sources": [ { "type": "archive", "url": "https://github.com/pygobject/pycairo/releases/download/v1.14.1/pycairo-1.14.1.tar.gz", "sha256": "0d13a0a6eeaf0c357db04392943eb9b25767445608d31dde1307f003f68c5754" } ] }, { "name": "pygobject", "config-opts": ["--enable-compile-warnings=minimum"], "build-options" : { "env": { "PYTHON": "/app/bin/python3" } }, "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/pygobject.git" } ] }, { "name": "pyxdg", "buildsystem": "simple", "sources": [ { "type": "git", "url": "git://anongit.freedesktop.org/xdg/pyxdg" } ], "build-commands": [ "python3 ./setup.py sdist", "pip3 install dist/*.tar.gz" ] }, { "name": "python-pyparsing", "buildsystem": "simple", "sources": [ { "type": "archive", "url": "http://downloads.sourceforge.net/pyparsing/pyparsing-2.1.10.tar.gz", "sha512": "21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e" } ], "build-commands": [ "python3 ./setup.py sdist", "pip3 install dist/*.tar.gz" ] }, { "name": "python-svgwrite", "buildsystem": "simple", "sources": [ { "type": "git", "url": "https://github.com/mozman/svgwrite.git" } ], "build-commands": [ "python3 ./setup.py sdist", "pip3 install dist/*.tar.gz" ] }, { "name": "tuhi", "buildsystem": "simple", "sources": [ { "type": "git", "path": "." } ], "build-commands": [ "python3 setup.py install --verbose" ], "post-install": [ "cp tools/kete.py /app/lib/python3.6/site-packages/kete.py", "cp tools/tuhi-kete-sandboxed.py /app/bin/tuhi-kete", "chmod +x /app/bin/tuhi-kete" ] } ] }