distributable:
  url: https://files.pythonhosted.org/packages/0e/fc/82796c10545f3df9882566c79debac28b664e3a3a08fdb493ac3cc418709/daff-{{version}}.tar.gz
  strip-components: 1

versions:
  github: paulfitz/daff/tags
  ignore:
    - /1.3.4[789]/
    - /1.3.[56789]/

provides:
  - bin/daff

dependencies:
  python.org: '>=3.7<3.12'

build:
  script: |
    python-venv.py {{prefix}}/bin/daff

test:
  script: |
    test "$(daff version)" = "{{ version }}"
