From: Andrea Righi Date: Fri, 16 Jun 2023 07:32:32 +0000 (+0200) Subject: snap: add snapcraft.yaml X-Git-Tag: v0.1~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=470507c02968fa156401b87fef9c3bf711c1c53d;p=annotations.git snap: add snapcraft.yaml Signed-off-by: Andrea Righi --- diff --git a/.gitignore b/.gitignore index 664afd3..d30d00a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ debian/annotations.* debian/annotations/ debian/debhelper-build-stamp debian/files +*.snap diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..c7d3a4b --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,41 @@ +name: annotations +summary: Tool to manage Ubuntu kernel .config +description: | + This tool allows to store all the kernel .config information into a file called + annotations that contains all the Kconfig options for each supported + architecture and flavour and (optionally) a short description associated to + them. This works only with Ubuntu kernels at the moment. +license: GPL-3.0 +website: https://github.com/arighi/annotations +source-code: https://github.com/arighi/annotations + +base: core22 +type: app +adopt-info: annotations +confinement: strict + +apps: + annotations: + command: bin/annotations + plugs: + - home + aliases: + - annotations + +parts: + annotations: + build-packages: + - python3 + - python3-setuptools + stage-packages: + - python3 + - python3-argcomplete + - python3-pip + - python3-wheel + plugin: python + source: . + source-type: git + override-pull: | + craftctl default + craftctl set grade=stable + craftctl set version=$(python3 -m kconfig.version)