void-packages/srcpkgs/yt-dlp/template
2021-12-28 13:17:19 +01:00

20 lines
707 B
Bash

# Template file for 'yt-dlp'
pkgname=yt-dlp
version=2021.12.27
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 <michal@vasilek.cz>"
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=3492c344b1b71ac13c73a53dbb3bc504f7ebaa325c10807ad905428e74a6d630
do_check() {
PYTHON=/usr/bin/python3 make offlinetest
}