distributable:
  url: https://github.com/ytdl-org/youtube-dl/archive/86e3cf5e58.tar.gz
  strip-components: 1

versions:
  # this repo is no longer active, there is an important fix on master that
  # we want so we are releasing our own
  - 2023.08.04
  #github: ytdl-org/youtube-dl
  #strip: /^youtube-dl /

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

build:
  python-venv.sh {{prefix}}/bin/youtube-dl

test:
  youtube-dl --simulate https://youtu.be/pOtd1cbOP7k

provides:
  - bin/youtube-dl
