From 3afc27efc98b3628c2a328942865322419406d0f Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 30 Nov 2021 16:28:29 +0200 Subject: [PATCH] A snapcraft recipe. Forced to add version and description because parse-info didn't work. --- packages/snap/snapcraft.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 packages/snap/snapcraft.yaml diff --git a/packages/snap/snapcraft.yaml b/packages/snap/snapcraft.yaml new file mode 100644 index 00000000..667d6dc6 --- /dev/null +++ b/packages/snap/snapcraft.yaml @@ -0,0 +1,36 @@ +name: pybitmessage +version: '0.6.3' +base: core18 +grade: devel +confinement: strict +summary: Reference client for Bitmessage, a P2P communications protocol +description: The PyBitmessage +adopt-info: pybitmessage + +apps: + pybitmessage: + command: pybitmessage + plugs: [network, network-bind, home, desktop, desktop-legacy, wayland, unity7] + desktop: share/applications/pybitmessage.desktop + environment: + LANG: C.UTF-8 + +parts: + pybitmessage: + source: https://github.com/g1itch/PyBitmessage.git + source-branch: snap + plugin: python + python-version: python2 + build-packages: + - libssl-dev + - python-all-dev + python-packages: + - defusedxml + - jsonrpclib + - qrcode + - stem + stage-packages: + - python-qt4 + - python-sip + - sni-qt + parse-info: [setup.py]