pantry/projects/mitmproxy.org/package.yml

25 lines
453 B
YAML
Raw Normal View History

2023-09-24 12:44:09 +03:00
distributable:
url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz
strip-components: 1
2023-09-24 12:44:09 +03:00
versions:
github: mitmproxy/mitmproxy
2023-09-24 12:44:09 +03:00
dependencies:
pkgx.sh: ^1
2023-09-24 12:44:09 +03:00
build:
dependencies:
python.org: ~3.11
2023-09-24 12:44:09 +03:00
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} mitmproxy
2023-09-24 12:44:09 +03:00
provides:
- bin/mitmproxy
2023-09-24 12:44:09 +03:00
test:
script:
- mitmproxy --version | grep {{version}}