mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
27 lines
564 B
YAML
27 lines
564 B
YAML
distributable:
|
|
url: https://github.com/httpie/httpie/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: httpie/httpie/releases/tags
|
|
|
|
dependencies:
|
|
python.org: '>=3<3.12'
|
|
|
|
build: |
|
|
python-venv.sh {{prefix}}/bin/http
|
|
cp {{prefix}}/bin/http {{prefix}}/bin/https
|
|
cp {{prefix}}/bin/http {{prefix}}/bin/httpie
|
|
|
|
provides:
|
|
- bin/http
|
|
- bin/httpie
|
|
- bin/https
|
|
|
|
test:
|
|
script: |
|
|
test "$(http --version)" = {{version}}
|
|
test "$(https --version)" = {{version}}
|
|
test "$(httpie --version)" = {{version}}
|
|
http tea.xyz
|