mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
git cli in dns snaps
This commit is contained in:
parent
cecd978824
commit
0039e9ba48
2 changed files with 7 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ parts:
|
|||
- python3-dev
|
||||
- cargo
|
||||
build-environment:
|
||||
# We set this environment variable while building to try and increase the
|
||||
# stability of fetching the rust crates needed to build the cryptography
|
||||
# library.
|
||||
- CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||
- SNAPCRAFT_PYTHON_VENV_ARGS: --upgrade
|
||||
# Constraints are passed through the environment variable PIP_CONSTRAINTS instead of using the
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@ parts:
|
|||
snapcraftctl pull
|
||||
snapcraftctl set-version \`grep ^version \$SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d "'[:space:]"\`
|
||||
build-environment:
|
||||
# We set this environment variable while building to try and increase the
|
||||
# stability of fetching the rust crates needed to build the cryptography
|
||||
# library.
|
||||
- CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||
# Constraints are passed through the environment variable PIP_CONSTRAINTS instead of using the
|
||||
# parts.[part_name].constraints option available in snapcraft.yaml when the Python plugin is
|
||||
# used. This is done to let these constraints be applied not only on the certbot package
|
||||
|
|
|
|||
Loading…
Reference in a new issue