From 4cc15c80026f12cc45382c88a72d74f13be0ea45 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 24 Sep 2023 12:33:54 +0300 Subject: [PATCH] new file: projects/certbot.eff.org/package.yml --- projects/certbot.eff.org/package.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 projects/certbot.eff.org/package.yml diff --git a/projects/certbot.eff.org/package.yml b/projects/certbot.eff.org/package.yml new file mode 100644 index 00000000..13bb88d7 --- /dev/null +++ b/projects/certbot.eff.org/package.yml @@ -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"