From ec1aaacb41c157e05df29a47112f6864889db389 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Mon, 24 Oct 2022 14:23:34 -0500 Subject: [PATCH] Updated snapcraft yaml (#720) * Update snapcraft.yaml * Update snapcraft.yaml * Oops...forgot home and network interfaces * for cryin' out loud. * cleaning things up --- snapcraft.yaml | 49 +++++++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 3824356..2316c59 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,30 +1,43 @@ name: maigret2 -version: git +adopt-info: maigret2 summary: SOCMINT / Instagram description: | Test Test Test -base: core18 + +license: MIT + +base: core20 +grade: stable confinement: strict +compression: lzo - -parts: - maigret2: - plugin: python - python-version: python3 - source: . - stage-packages: - - python-six - +architectures: + - build-on: amd64 apps: maigret2: command: bin/maigret + environment: + LC_ALL: C.UTF-8 + plugs: + - home + - network + +parts: + maigret2: + plugin: python + source: https://github.com/soxoj/maigret + source-type: git - -architectures: - - build-on: amd64 - - build-on: i386 - - - + build-packages: + - python3-pip + - python3-six + - python3 + + stage-packages: + - python3 + - python3-six + override-pull: | + snapcraftctl pull + snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"