void-packages/srcpkgs/yewtube/template

27 lines
992 B
Bash

# Template file for 'yewtube'
pkgname=yewtube
version=2.10.5
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests python3-pyperclip python3-youtubesearch python3-pylast yt-dlp
python3-mutagen python3-pycryptodomex python3-websockets python3-Brotli python3-certifi"
checkdepends="${depends} python3-pip python3-dbus python3-gobject python3-pytest-xdist"
short_desc="Terminal based YouTube player and downloader"
maintainer="icp <pangolin@vivaldi.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/mps-youtube/yewtube"
changelog="https://raw.githubusercontent.com/mps-youtube/yewtube/master/CHANGELOG.md"
distfiles="https://github.com/mps-youtube/yewtube/archive/refs/tags/v${version}.tar.gz"
checksum=8100466a5e89c84249d882e2e9ea9ff282a2d4f7f68135157cb942e6eb927b29
post_install() {
vbin yt
}
mps-youtube_package() {
depends="${sourcepkg}>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}