mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
777e8a26df
convert to `bkpyvenv` closes #4724
24 lines
453 B
YAML
24 lines
453 B
YAML
distributable:
|
|
url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: mitmproxy/mitmproxy
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: ~3.11
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} mitmproxy
|
|
|
|
provides:
|
|
- bin/mitmproxy
|
|
|
|
test:
|
|
script:
|
|
- mitmproxy --version | grep {{version}}
|