Update tools/snap/generate_dnsplugins_snapcraft.sh

This commit is contained in:
Brad Warren 2020-09-28 16:27:29 -07:00
parent e066766cc9
commit 56c8c42273

View file

@ -17,16 +17,13 @@ description: ${DESCRIPTION}
confinement: strict
grade: devel
base: core20
adopt-info: ${PLUGIN}
version: $(git describe|sed s/^v//)
parts:
${PLUGIN}:
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:
- SNAP_BUILD: "True"
# To build cryptography and cffi if needed