mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
25 lines
498 B
YAML
25 lines
498 B
YAML
distributable:
|
|
url: https://github.com/mattrobenolt/jinja2-cli/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: mattrobenolt/jinja2-cli/tags
|
|
|
|
dependencies:
|
|
python.org: '>=3.7'
|
|
|
|
build: python-venv.sh {{prefix}}/bin/jinja2
|
|
|
|
provides:
|
|
- bin/jinja2
|
|
|
|
test:
|
|
script: |
|
|
echo "{{ title }}" > test.tmpl
|
|
OUT="$(jinja2 test.tmpl $FIXTURE --format=json)"
|
|
test "$OUT" = "tea.xyz"
|
|
fixture: |
|
|
{
|
|
"title": "tea.xyz",
|
|
"url": "https://tea.xyz"
|
|
} |