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: distributable:
url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: mitmproxy/mitmproxy github: mitmproxy/mitmproxy
dependencies: dependencies:
python.org: ~3.11 pkgx.sh: ^1
build: build:
dependencies:
python.org: ~3.11
script: script:
- python-venv.sh {{prefix}}/bin/mitmproxy - bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} mitmproxy
provides: provides:
- bin/mitmproxy - bin/mitmproxy
test: test:
script: script:
- mitmproxy --version | grep {{version}} - mitmproxy --version | grep {{version}}