From 6cb235c0eccb28ae6dff4bbcd710db94e692eb24 Mon Sep 17 00:00:00 2001 From: Nick Gheorghita Date: Mon, 4 Nov 2019 14:56:50 -0500 Subject: [PATCH] Add snap config --- snapcraft.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..1427a6c --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,31 @@ +name: ethpm +version: git +summary: ethPM CLI +description: | + ethPM CLI is a command-line tool to manage interacting with the ethPM ecosystem. +base: core18 + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: devmode # use 'strict' once you have the right plugs and slots + +parts: + ethpm: + source: . + plugin: python + python-version: python3 + after: [python] + stage: + - -usr/bin/python3 + python: + source: https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz + plugin: autotools + configflags: + - --prefix=/usr + stage-packages: + - libgdbm5 + stage: + - -usr/lib/python3.7/test + +apps: + ethpm: + command: bin/ethpm