mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Build constraints.txt in snapcraft.
This commit is contained in:
parent
9cbb13ef04
commit
6343505069
1 changed files with 7 additions and 4 deletions
|
|
@ -47,13 +47,16 @@ parts:
|
|||
plugin: python
|
||||
source: .
|
||||
source-subdir: acme
|
||||
constraints: [$SNAPCRAFT_PART_SRC/constraints.txt]
|
||||
constraints: [$SNAPCRAFT_STAGE/constraints.txt]
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
$SNAPCRAFT_PART_SRC/tools/strip_hashes.py $SNAPCRAFT_PART_SRC/letsencrypt-auto-source/pieces/dependency-requirements.txt > $SNAPCRAFT_STAGE/constraints.txt
|
||||
python-version: python3
|
||||
certbot:
|
||||
plugin: python
|
||||
source: .
|
||||
source-subdir: certbot
|
||||
constraints: [$SNAPCRAFT_PART_SRC/constraints.txt]
|
||||
constraints: [$SNAPCRAFT_STAGE/constraints.txt]
|
||||
python-version: python3
|
||||
after: [acme]
|
||||
override-pull: |
|
||||
|
|
@ -66,7 +69,7 @@ parts:
|
|||
plugin: python
|
||||
source: .
|
||||
source-subdir: certbot-apache
|
||||
constraints: [$SNAPCRAFT_PART_SRC/constraints.txt]
|
||||
constraints: [$SNAPCRAFT_STAGE/constraints.txt]
|
||||
python-version: python3
|
||||
after: [python-augeas, certbot]
|
||||
stage-packages: [libaugeas0]
|
||||
|
|
@ -77,7 +80,7 @@ parts:
|
|||
plugin: python
|
||||
source: .
|
||||
source-subdir: certbot-nginx
|
||||
constraints: [$SNAPCRAFT_PART_SRC/constraints.txt]
|
||||
constraints: [$SNAPCRAFT_STAGE/constraints.txt]
|
||||
python-version: python3
|
||||
# This is the last step, compile pycache now as there should be no conflicts.
|
||||
override-prime: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue