ytcc: update to 2.6.0.
This commit is contained in:
parent
7813c32d1d
commit
c07ca81eba
1 changed files with 15 additions and 8 deletions
|
@ -1,19 +1,26 @@
|
|||
# Template file for 'ytcc'
|
||||
pkgname=ytcc
|
||||
version=1.8.2
|
||||
revision=5
|
||||
version=2.6.0
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="gettext python3-setuptools"
|
||||
depends="python3-SQLAlchemy python3-feedparser python3-lxml python3-youtube-dl
|
||||
mpv"
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="mpv yt-dlp python3-click python3-wcwidth"
|
||||
checkdepends="${depends} python3-pytest"
|
||||
short_desc="Cmdline tool to track your youtube channels"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/woefe/ytcc"
|
||||
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() {
|
||||
vinstall completions/fish/ytcc.fish 0644 usr/share/fish/vendor_completions.d
|
||||
vinstall completions/zsh/_ytcc 0644 usr/share/zsh/site-functions
|
||||
vcompletion scripts/completions/bash/ytcc.completion.sh bash
|
||||
vcompletion scripts/completions/fish/ytcc.fish fish
|
||||
vcompletion scripts/completions/zsh/_ytcc zsh
|
||||
mv ${DESTDIR}/usr/bin/ytccf{.sh,}
|
||||
vman doc/ytcc.1
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue