ytcc: update to 2.6.0.

This commit is contained in:
icp 2022-09-06 21:18:24 +05:30 committed by classabbyamp
parent 7813c32d1d
commit c07ca81eba

View file

@ -1,19 +1,26 @@
# Template file for 'ytcc' # Template file for 'ytcc'
pkgname=ytcc pkgname=ytcc
version=1.8.2 version=2.6.0
revision=5 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="gettext python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-SQLAlchemy python3-feedparser python3-lxml python3-youtube-dl depends="mpv yt-dlp python3-click python3-wcwidth"
mpv" checkdepends="${depends} python3-pytest"
short_desc="Cmdline tool to track your youtube channels" short_desc="Cmdline tool to track your youtube channels"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/woefe/ytcc" homepage="https://github.com/woefe/ytcc"
distfiles="https://github.com/woefe/ytcc/archive/v${version}.tar.gz" distfiles="https://github.com/woefe/ytcc/archive/v${version}.tar.gz"
checksum=360db561bb0278b7f326fe3da9b012e738e1eceec9031c66b3749207f8091283 checksum=3d69104a20b9a6861a2663a0ffcbd6054fe05a62caccf2126c0b0cf3a446dbec
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -m "not flaky" test
}
post_install() { post_install() {
vinstall completions/fish/ytcc.fish 0644 usr/share/fish/vendor_completions.d vcompletion scripts/completions/bash/ytcc.completion.sh bash
vinstall completions/zsh/_ytcc 0644 usr/share/zsh/site-functions vcompletion scripts/completions/fish/ytcc.fish fish
vcompletion scripts/completions/zsh/_ytcc zsh
mv ${DESTDIR}/usr/bin/ytccf{.sh,}
vman doc/ytcc.1
} }