diff --git a/srcpkgs/ytcc/template b/srcpkgs/ytcc/template index fa12b04bac4..d9a26a354b8 100644 --- a/srcpkgs/ytcc/template +++ b/srcpkgs/ytcc/template @@ -1,21 +1,18 @@ # Template file for 'ytcc' pkgname=ytcc -version=2.6.1 -revision=3 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="mpv yt-dlp python3-click python3-wcwidth" +version=2.7.2 +revision=1 +build_style=python3-pep517 +make_check_args="-m not(flaky)" +hostmakedepends="python3-build hatchling python3-installer python3-wheel" +depends="mpv yt-dlp python3-click python3-wcwidth python3-defusedxml" checkdepends="${depends} python3-pytest" short_desc="Cmdline tool to track your youtube channels" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://github.com/woefe/ytcc" distfiles="https://github.com/woefe/ytcc/archive/refs/tags/v${version}.tar.gz" -checksum=abd6d26d8c1a0ad5787cf890b08ddf1cb685c2e26f353abb168da49a40974e3c - -do_check() { - PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -m "not flaky" test -} +checksum=06827c92906326498034c3be2fb89b873f58298b78914036538e676a19d6d7a4 post_install() { vcompletion scripts/completions/bash/ytcc.completion.sh bash