distributable:
  url: https://github.com/brona/iproute2mac/releases/download/{{version.tag}}/iproute2mac-{{version}}.tar.gz
  strip-components: 1

versions:
  github: brona/iproute2mac

platforms:
  - darwin

warnings:
  - vendored

dependencies:
  python.org: ~3.12

build:
  - install -D src/ip.py {{prefix}}/bin/ip

provides:
  - bin/ip

test:
  - ip route
  - ip address
  - ip -V | grep {{version}}
