# Template file for 'yt-dlp' pkgname=yt-dlp version=2022.02.04 revision=1 wrksrc="$pkgname" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" checkdepends="python3-pytest flake8 python3-nose" short_desc="CLI program to download videos from YouTube and other sites" maintainer="Michal Vasilek " license="Unlicense" homepage="https://github.com/yt-dlp/yt-dlp" changelog="https://raw.githubusercontent.com/yt-dlp/yt-dlp/master/Changelog.md" distfiles="https://github.com/yt-dlp/yt-dlp/releases/download/$version/yt-dlp.tar.gz" checksum=c8dd119c28a5d256322ddb3a2fff72bc02ace43fc5880c0065d97f7a48d7a8e3 do_check() { PYTHON=/usr/bin/python3 make offlinetest }