mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
Make DNS plugin snaps use core20 (#8106)
Fixes #8103. * Update the DNS plugin generator script to core20 syntax * Generate new snapcraft.yamls for the DNS plugins * Update certbot.wrapper to search for python3.8 paths
This commit is contained in:
@@ -15,7 +15,7 @@ summary: ${DESCRIPTION}
|
||||
description: ${DESCRIPTION}
|
||||
confinement: strict
|
||||
grade: devel
|
||||
base: core18
|
||||
base: core20
|
||||
adopt-info: ${PLUGIN}
|
||||
|
||||
parts:
|
||||
@@ -23,7 +23,6 @@ parts:
|
||||
plugin: python
|
||||
source: .
|
||||
constraints: [\$SNAPCRAFT_PART_SRC/snap-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:]"\`
|
||||
@@ -35,6 +34,6 @@ slots:
|
||||
interface: content
|
||||
content: certbot-1
|
||||
read:
|
||||
- \$SNAP/lib/python3.6/site-packages
|
||||
- \$SNAP/lib/python3.8/site-packages
|
||||
EOF
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user