pantry/projects/certbot.eff.org/package.yml
2023-09-25 09:00:15 -04:00

27 lines
625 B
YAML

distributable:
url: https://github.com/certbot/certbot/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: certbot/certbot
dependencies:
python.org: ^3.11
build:
dependencies:
tea.xyz/gx/cc: '*'
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"