mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +03:00
Get back to Core20 because Snap is PISA
This commit is contained in:
parent
2da2cb714e
commit
ed46b6a3e2
@ -7,7 +7,7 @@ description: |
|
|||||||
Web based interface. It can adapt dynamically the displayed information
|
Web based interface. It can adapt dynamically the displayed information
|
||||||
depending on the user interface size.
|
depending on the user interface size.
|
||||||
|
|
||||||
base: core22
|
base: core20
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
@ -40,7 +40,6 @@ plugs:
|
|||||||
- /etc/glances/glances.conf
|
- /etc/glances/glances.conf
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
|
|
||||||
glances:
|
glances:
|
||||||
after:
|
after:
|
||||||
- selective-checkout
|
- selective-checkout
|
||||||
@ -52,17 +51,16 @@ parts:
|
|||||||
# https://bugs.launchpad.net/snapcraft/+bug/1813364
|
# https://bugs.launchpad.net/snapcraft/+bug/1813364
|
||||||
parse-info: [setup.py]
|
parse-info: [setup.py]
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
snapcraftctl pull
|
||||||
"$CRAFT_STAGE"/scriptlets/selective-checkout
|
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout
|
||||||
|
|
||||||
bottle:
|
bottle:
|
||||||
plugin: python
|
plugin: python
|
||||||
source: https://github.com/bottlepy/bottle.git
|
source: https://github.com/bottlepy/bottle.git
|
||||||
source-branch: release-0.12
|
source-branch: release-0.12
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/bottle-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/bottle-dist
|
||||||
organize:
|
organize:
|
||||||
bottle-dist: bottle/dist
|
bottle-dist: bottle/dist
|
||||||
|
|
||||||
@ -72,8 +70,8 @@ parts:
|
|||||||
source-tag: '6.1.2'
|
source-tag: '6.1.2'
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/docker-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/docker-dist
|
||||||
organize:
|
organize:
|
||||||
docker-dist: docker/dist
|
docker-dist: docker/dist
|
||||||
|
|
||||||
@ -83,8 +81,8 @@ parts:
|
|||||||
source-tag: '2.8.2'
|
source-tag: '2.8.2'
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/python-dateutil-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/python-dateutil-dist
|
||||||
organize:
|
organize:
|
||||||
python-dateutil-dist: python-dateutil/dist
|
python-dateutil-dist: python-dateutil/dist
|
||||||
|
|
||||||
@ -94,8 +92,8 @@ parts:
|
|||||||
source-tag: '1.16.0'
|
source-tag: '1.16.0'
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/six-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/six-dist
|
||||||
organize:
|
organize:
|
||||||
six-dist: six/dist
|
six-dist: six/dist
|
||||||
|
|
||||||
@ -105,8 +103,8 @@ parts:
|
|||||||
source-tag: '4.5.0'
|
source-tag: '4.5.0'
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/podman-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/podman-dist
|
||||||
organize:
|
organize:
|
||||||
podman-dist: podman/dist
|
podman-dist: podman/dist
|
||||||
|
|
||||||
@ -116,8 +114,8 @@ parts:
|
|||||||
source-tag: '23.1'
|
source-tag: '23.1'
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p $CRAFT_PART_BUILD/dist
|
mkdir -p $SNAPCRAFT_PART_BUILD/dist
|
||||||
cp -r $CRAFT_PART_BUILD/dist $CRAFT_PART_INSTALL/packaging-dist
|
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/packaging-dist
|
||||||
organize:
|
organize:
|
||||||
packaging-dist: packaging/dist
|
packaging-dist: packaging/dist
|
||||||
|
|
||||||
@ -128,15 +126,10 @@ parts:
|
|||||||
'*': bin/
|
'*': bin/
|
||||||
|
|
||||||
selective-checkout:
|
selective-checkout:
|
||||||
source: https://github.com/brlin-tw/selective-checkout.git
|
plugin: nil
|
||||||
source-tag: v3.0.1
|
|
||||||
plugin: dump
|
|
||||||
build-packages:
|
build-packages:
|
||||||
- curl
|
- git
|
||||||
- jq
|
stage-snaps:
|
||||||
- sed
|
- selective-checkout
|
||||||
- git
|
|
||||||
stage:
|
|
||||||
- scriptlets/selective-checkout
|
|
||||||
prime:
|
prime:
|
||||||
- -*
|
- -*
|
||||||
|
Loading…
Reference in New Issue
Block a user