mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/certbot.eff.org/package.yml
This commit is contained in:
parent
b93b11f2ee
commit
4cc15c8002
1 changed files with 27 additions and 0 deletions
27
projects/certbot.eff.org/package.yml
Normal file
27
projects/certbot.eff.org/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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"
|
Loading…
Reference in a new issue