mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
777e8a26df
convert to `bkpyvenv` closes #4724
25 lines
453 B
YAML
25 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}}
|