app-id: com.refi64.Azul.nightly runtime: org.gnome.Platform runtime-version: 3.28 sdk: org.gnome.Sdk command: /app/bin/azul.sh tags: [nightly] desktop-file-name-prefix: '(Nightly) ' rename-appdata-file: com.refi64.Azul.appdata.xml rename-desktop-file: com.refi64.Azul.desktop rename-icon: com.refi64.Azul finish-args: - --socket=x11 - --socket=wayland - --filesystem=home - --filesystem=host - --filesystem=xdg-run/dconf - --filesystem=~/.config/dconf:ro - --share=network - --own-name=com.refi64.Azul - --talk-name=org.freedesktop.secrets - --talk-name=ca.desrt.dconf - --env=DCONF_USER_CONFIG_DIR=.config/dconf modules: - name: python sources: - type: archive url: https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz sha256: 53a3e17d77cd15c5230192b6a8c1e031c07cd9f34a2f089a731c6f6bd343d5c6 config-opts: - --enable-shared - --enable-optimizations - --enable-ipv6 - --with-threads - --with-lto - --without-ensurepip - --with-system-ffi - --with-system-libmpdec - --with-system-expat build-options: prefix: /app no-debuginfo: true post-install: - chmod 755 /app/lib/libpython*.so* cleanup: - /bin/2to3* - /bin/easy_install* - /bin/idle - /bin/python*-config - /bin/pyvenv* - /bin/pydoc* - /include - /share - /lib/pkgconfig - /lib/python*/config-* # Test scripts - /lib/python*/test - /lib/python*/distutils/tests - /lib/python*/ctypes/tests - /lib/python*/sqlite3/tests - /lib/python*/lib2to3/tests - /lib/python*/tkinter/tests - /lib/python*/unittest/tests - /lib/python*/lib-dynload/_*_test.*.so - /lib/python*/lib-dynload/_test*.*.so # Unused modules - /lib/python*/idlelib - /lib/python*/tkinter - /lib/python*/turtle* - '*.pyc' - __pycache__ - '*.exe' - name: setuptools buildsystem: simple build-commands: - | for dir in setuptools-* pip-* setuptools_scm-* pbr-*; do pushd $dir python3 setup.py install popd done sources: - type: archive url: https://files.pythonhosted.org/packages/1a/04/d6f1159feaccdfc508517dba1929eb93a2854de729fa68da9d5c6b48fa00/setuptools-39.2.0.zip sha256: f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2 strip-components: 0 - type: archive url: https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz sha256: f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68 strip-components: 0 - type: archive url: https://files.pythonhosted.org/packages/e5/62/f9e1ac314464eb5945c97542acb6bf6f3381dfa5d7a658de7730c36f31a1/setuptools_scm-2.1.0.tar.gz sha256: a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379 strip-components: 0 - type: archive url: https://files.pythonhosted.org/packages/a7/d7/eeb3cc66469e21843748e9b8f196eefd42fc81ea43191715e8ec54fee4df/pbr-4.0.3.tar.gz sha256: 6874feb22334a1e9a515193cba797664e940b763440c88115009ec323a7f2df5 strip-components: 0 - requirements.json - azul.yaml - name: script sources: - type: script commands: - /app/bin/python3 /app/bin/azul dest-filename: azul.sh buildsystem: simple build-commands: - install -Dm 755 azul.sh /app/bin