mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
migrate variable names
This commit is contained in:
parent
bbc6379548
commit
233e5ac36d
1 changed files with 6 additions and 6 deletions
|
|
@ -90,15 +90,15 @@ parts:
|
|||
# used. This is done to let these constraints be applied not only on the certbot package
|
||||
# build, but also on any isolated build that pip could trigger when building wheels for
|
||||
# dependencies. See https://github.com/certbot/certbot/pull/8443 for more info.
|
||||
- PIP_CONSTRAINT: $SNAPCRAFT_PART_SRC/snap-constraints.txt
|
||||
- PIP_CONSTRAINT: $CRAFT_PART_SRC/snap-constraints.txt
|
||||
override-build: |
|
||||
python3 -m venv "${SNAPCRAFT_PART_INSTALL}"
|
||||
"${SNAPCRAFT_PART_INSTALL}/bin/python3" "${SNAPCRAFT_PART_SRC}/tools/pipstrap.py"
|
||||
python3 -m venv "${CRAFT_PART_INSTALL}"
|
||||
"${CRAFT_PART_INSTALL}/bin/python3" "${CRAFT_PART_SRC}/tools/pipstrap.py"
|
||||
craftctl default
|
||||
override-pull: |
|
||||
craftctl default
|
||||
grep -v python-augeas "${SNAPCRAFT_PART_SRC}/tools/requirements.txt" >> "${SNAPCRAFT_PART_SRC}/snap-constraints.txt"
|
||||
craftctl set version=$(grep -oP "__version__ = '\K.*(?=')" "${SNAPCRAFT_PART_SRC}/certbot/certbot/__init__.py")
|
||||
grep -v python-augeas "${CRAFT_PART_SRC}/tools/requirements.txt" >> "${CRAFT_PART_SRC}/snap-constraints.txt"
|
||||
craftctl set version=$(grep -oP "__version__ = '\K.*(?=')" "${CRAFT_PART_SRC}/certbot/certbot/__init__.py")
|
||||
build-attributes:
|
||||
- enable-patchelf
|
||||
shared-metadata:
|
||||
|
|
@ -107,7 +107,7 @@ parts:
|
|||
override-pull: |
|
||||
craftctl default
|
||||
mkdir -p certbot-metadata
|
||||
grep -oP "__version__ = '\K.*(?=')" $SNAPCRAFT_PART_SRC/certbot/certbot/__init__.py > certbot-metadata/certbot-version.txt
|
||||
grep -oP "__version__ = '\K.*(?=')" $CRAFT_PART_SRC/certbot/certbot/__init__.py > certbot-metadata/certbot-version.txt
|
||||
stage: [certbot-metadata/certbot-version.txt]
|
||||
|
||||
plugs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue