|
|
@@ -1,10 +1,11 @@ |
|
|
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details |
|
|
|
version: 1 |
|
|
|
|
|
|
|
script: | |
|
|
|
mkdir -p build/AppDir build/AppDir/usr/share/icons/hicolor/scalable/apps |
|
|
|
cp kosmorro/assets/svg/kosmorro-icon.svg build/AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg |
|
|
|
pip3 install --isolated --root="./build/AppDir" ./dist/kosmorro-*.whl |
|
|
|
script: |
|
|
|
- rm -rf build/AppDir | true |
|
|
|
- mkdir -p build/AppDir AppDir/usr/share/icons/hicolor/scalable/apps/ |
|
|
|
- cp -r kosmorro/assets/svg/kosmorro-icon.svg AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg |
|
|
|
- python3 -m pip install --ignore-installed --prefix=/usr --root=build/AppDir dist/kosmorro-*.whl |
|
|
|
|
|
|
|
AppDir: |
|
|
|
path: build/AppDir |
|
|
@@ -14,30 +15,24 @@ AppDir: |
|
|
|
icon: kosmorro |
|
|
|
version: latest |
|
|
|
exec: usr/bin/python3 |
|
|
|
exec_args: $APPDIR/usr/local/bin/kosmorro $@ |
|
|
|
exec_args: -m kosmorro $@ |
|
|
|
|
|
|
|
runtime: |
|
|
|
env: |
|
|
|
PYTHONPATH: '$APPDIR/usr/local/lib/python3.10/site-packages' |
|
|
|
|
|
|
|
apt: |
|
|
|
arch: amd64 |
|
|
|
allow_unauthenticated: true |
|
|
|
sources: |
|
|
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted |
|
|
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe restricted |
|
|
|
- sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted' |
|
|
|
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf6ecb3762474eda9d21b7022871920d1991bc93c' |
|
|
|
include: |
|
|
|
- python3 |
|
|
|
- python3-certifi |
|
|
|
- python3-dateutil |
|
|
|
exclude: [] |
|
|
|
|
|
|
|
files: |
|
|
|
include: |
|
|
|
- /usr/bin/sh |
|
|
|
- /usr/bin/bash |
|
|
|
- /usr/bin/env |
|
|
|
exclude: |
|
|
|
- usr/share/man |
|
|
|
- usr/share/doc/*/README.* |
|
|
|
- usr/share/doc/*/changelog.* |
|
|
|
- usr/share/doc/*/NEWS.* |
|
|
|
- usr/share/doc/*/TODO.* |
|
|
|
- '/usr/bin/env' |
|
|
|
|
|
|
|
test: |
|
|
|
fedora-30: |
|
|
|