Welcome to mirror list, hosted at ThFree Co, Russian Federation.

snapcraft.yaml « snap « certbot-dns-dnsimple - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5daef6e160d3143696fca7eca7b57969c776c23b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: certbot-dns-dnsimple
summary: DNSimple DNS Authenticator plugin for Certbot
description: DNSimple DNS Authenticator plugin for Certbot
confinement: strict
grade: devel
base: core20
adopt-info: certbot-dns-dnsimple

parts:
  certbot-dns-dnsimple:
    plugin: python
    source: .
    constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt]
    override-pull: |
        snapcraftctl pull
        snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"`
    build-environment:
      - EXCLUDE_CERTBOT_DEPS: "True"
  certbot-version:
    plugin: dump
    source: .
    stage: [setup.py]
  shared:
    plugin: dump
    source: .
    stage: [certbot-exec]
    override-pull: |
        snapcraftctl pull
        mkdir $SNAPCRAFT_PART_SRC/certbot-exec

slots:
  certbot:
    interface: content
    content: certbot-1
    read:
      - $SNAP/lib/python3.8/site-packages

plugs:
  certbot-version:
    interface: content
    content: version-1
    target: $SNAP/certbot-exec

hooks:
  post-refresh:
    plugs:
      - certbot-version
  pre-refresh:
    plugs:
      - certbot-version