mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f35308a401
commit
777e8a26df
1 changed files with 11 additions and 2 deletions
|
@ -1,15 +1,24 @@
|
|||
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
|
||||
build:
|
||||
script:
|
||||
- python-venv.sh {{prefix}}/bin/mitmproxy
|
||||
- bkpyvenv stage {{prefix}} {{version}}
|
||||
- ${{prefix}}/venv/bin/pip install .
|
||||
- bkpyvenv seal {{prefix}} mitmproxy
|
||||
|
||||
provides:
|
||||
- bin/mitmproxy
|
||||
|
||||
test:
|
||||
script:
|
||||
- mitmproxy --version | grep {{version}}
|
||||
|
|
Loading…
Reference in a new issue