-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsnapcraft.yaml
52 lines (49 loc) · 1.14 KB
/
snapcraft.yaml
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
51
52
name: certbot-dns-duckdns
summary: DuckDNS Authenticator plugin for Certbot
description: DuckDNS Authenticator plugin for Certbot
confinement: strict
grade: stable
base: core24
adopt-info: certbot-dns-duckdns
platforms:
amd64:
arm64:
armhf:
parts:
certbot-dns-duckdns:
plugin: python
source: .
override-pull: |
craftctl default
craftctl set version=$(grep '^__version__' "$SNAPCRAFT_PART_SRC/certbot_dns_duckdns/__init__.py" | cut -f2 -d= | tr -d '"[:space:]"')
build-environment:
- SNAP_BUILD: "True"
python-requirements:
- requirements.txt
build-packages:
- gcc
- git
- build-essential
- libssl-dev
- libffi-dev
- python3-dev
- cargo
- pkg-config
certbot-metadata:
plugin: dump
source: .
stage: [ setup.py, certbot-shared ]
override-pull: |
craftctl default
mkdir -p $SNAPCRAFT_PART_SRC/certbot-shared
slots:
certbot:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.12/site-packages
plugs:
certbot-metadata:
interface: content
content: metadata-1
target: $SNAP/certbot-shared