21 lines
707 B
Bash
21 lines
707 B
Bash
# Template file for 'yt-dlp'
|
|
pkgname=yt-dlp
|
|
version=2021.12.01
|
|
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=bf0cc22d17ffbe59c0d0378026ff135a996b86c546ec9713d838f952dea61e0f
|
|
|
|
do_check() {
|
|
PYTHON=/usr/bin/python3 make offlinetest
|
|
}
|