2023-09-24 12:33:54 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/certbot/certbot/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: certbot/certbot
|
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-09-24 12:33:54 +03:00
|
|
|
build:
|
|
|
|
script:
|
|
|
|
- python-venv.sh {{prefix}}/bin/certbot
|
|
|
|
env:
|
|
|
|
SRCROOT: $SRCROOT/certbot
|
|
|
|
provides:
|
|
|
|
- bin/certbot
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- certbot --version | grep {{version}}
|
|
|
|
- mkdir certbot
|
|
|
|
- chmod 777 certbot
|
|
|
|
- certbot certificates $ARGS | grep "No certificates found."
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --config-dir="certbot/config"
|
|
|
|
- --work-dir="certbot"
|
|
|
|
- --logs-dir="certbot/log"
|