fix(mitmproxy)

convert to `bkpyvenv`

closes #4724
This commit is contained in:
Jacob Heider 2024-01-04 13:07:43 -05:00 committed by Jacob Heider
parent f35308a401
commit 777e8a26df

View file

@ -1,15 +1,24 @@
distributable:
url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: mitmproxy/mitmproxy
dependencies:
python.org: ~3.11
pkgx.sh: ^1
build:
dependencies:
python.org: ~3.11
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}}