From 8ccc96bbddf1c0d3077f2f1e9c15d5e79a11d614 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 27 Apr 2020 14:13:59 -0700 Subject: [PATCH] update certbot-dns-dnsimple snapcraft.yml. update dnsimple snapcraft.yml --- certbot-dns-dnsimple/snap/snapcraft.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/certbot-dns-dnsimple/snap/snapcraft.yaml b/certbot-dns-dnsimple/snap/snapcraft.yaml index ade7d7e86..8a685b25e 100644 --- a/certbot-dns-dnsimple/snap/snapcraft.yaml +++ b/certbot-dns-dnsimple/snap/snapcraft.yaml @@ -1,22 +1,24 @@ name: certbot-dns-dnsimple -version: script -version-script: cd parts/certbot-dns-dnsimple/src && git describe|sed s/^v// summary: DNSimple DNS Authenticator plugin for Certbot description: TBC confinement: strict grade: devel +base: core18 +adopt-info: certbot-dns-dnsimple parts: certbot-dns-dnsimple: plugin: python - source: git://github.com/certbot/certbot - source-branch: master - source-subdir: certbot-dns-dnsimple + source: . + constraints: [$SNAPCRAFT_PART_SRC/constraints.txt] python-version: python3 + override-pull: | + snapcraftctl pull + snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"` slots: certbot: interface: content content: certbot-1 read: - - $SNAP/lib/python3.5/site-packages + - $SNAP/lib/python3.6/site-packages