void-packages/srcpkgs/yt-dlp/template

20 lines
689 B
Bash

# Template file for 'yt-dlp'
pkgname=yt-dlp
version=2022.10.04
revision=2
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=bd3cf6413cd92a400ff015633372a1454906414226f924b57c1f5826b9abc1a8
do_check() {
PYTHON=/usr/bin/python3 make offlinetest
}