Update Snapcraft

This commit is contained in:
nicolargo 2024-02-03 09:59:31 +01:00
parent 6bc087485c
commit a5249a1893
2 changed files with 12 additions and 6 deletions

View File

@ -174,6 +174,12 @@ flatpak: venv-dev-upgrade ## Generate FlatPack JSON file
rm -rf ./flatpak-builder-tools
@echo "Now follow: https://github.com/flathub/flathub/wiki/App-Submission"
# Snap package is automaticaly build on the Snapcraft.io platform
# https://snapcraft.io/glances
# But you can try an offline build with the following command
snapcraft:
snapcraft
# ===================================================================
# Docker
# ===================================================================

View File

@ -7,7 +7,7 @@ description: |
Web based interface. It can adapt dynamically the displayed information
depending on the user interface size.
base: core20
base: core22
grade: stable
confinement: strict
@ -57,7 +57,7 @@ parts:
fastapi:
plugin: python
source: https://github.com/tiangolo/fastapi.git
source-tag: '0.104.1'
source-tag: '0.109.0'
source-depth: 1
override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist
@ -68,7 +68,7 @@ parts:
uvicorn:
plugin: python
source: https://github.com/encode/uvicorn.git
source-tag: '0.24.0.post1'
source-tag: '0.27.0.post1'
source-depth: 1
override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist
@ -79,7 +79,7 @@ parts:
orjson:
plugin: python
source: https://github.com/ijl/orjson.git
source-tag: '3.9.10'
source-tag: '3.9.12'
source-depth: 1
override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist
@ -90,7 +90,7 @@ parts:
jinja2:
plugin: python
source: https://github.com/pallets/jinja.git
source-tag: '3.1.2'
source-tag: '3.1.3'
source-depth: 1
override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist
@ -101,7 +101,7 @@ parts:
docker:
plugin: python
source: https://github.com/docker/docker-py.git
source-tag: '3.7.3'
source-tag: '7.0.0'
source-depth: 1
override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist