mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
26 lines
586 B
YAML
26 lines
586 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:
|
||
|
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"
|