2023-04-22 21:54:15 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/httpie/httpie/archive/refs/tags/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: httpie/httpie/releases/tags
|
|
|
|
|
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: '>=3<3.12'
|
2023-04-22 21:54:15 +03:00
|
|
|
|
|
|
|
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
|