pantry/projects/yt-dlp.org/package.yml
Jacob Heider ff1f4739fd
fix yt-dlp (#106)
* fix semver breaking calvers like `2023.01.06`

* wip
2023-01-06 17:55:31 -05:00

22 lines
467 B
YAML

distributable:
url: https://github.com/yt-dlp/yt-dlp/releases/download/{{version.raw}}/yt-dlp.tar.gz
strip-components: 1
versions:
github: yt-dlp/yt-dlp
strip: /^yt-dlp /
dependencies:
tea.xyz/gx/cc: c99 # to build brotli pymod
python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build:
python-venv.sh {{prefix}}/bin/yt-dlp
test: |
yt-dlp --simulate https://youtu.be/pOtd1cbOP7k
provides:
- bin/yt-dlp