distributable:
  url: https://github.com/mitmproxy/mitmproxy/archive/{{version}}.tar.gz
  strip-components: 1
versions:
  github: mitmproxy/mitmproxy
dependencies:
  python.org: ~3.11
build:
  script:
    - python-venv.sh {{prefix}}/bin/mitmproxy
provides:
  - bin/mitmproxy
test:
  script:
    - mitmproxy --version | grep {{version}}
