void-packages/srcpkgs/yt-dlp/template
2021-10-11 23:38:16 +02:00

19 lines
689 B
Bash

# Template file for 'yt-dlp'
pkgname=yt-dlp
version=2021.10.10
revision=1
wrksrc="$pkgname"
build_style=python3-module
hostmakedepends="python3-setuptools"
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=6d8faf0b6fced99213eeaa5450c2c9e4acbee78081a9f5c04933ea0d316994fb
do_check() {
PYTHON=/usr/bin/python3 make offlinetest
}