# Template file for 'toot' pkgname=toot version=0.43.0 revision=1 build_style=python3-pep517 _depends="python3-click python3-requests python3-BeautifulSoup4 python3-wcwidth python3-urwid python3-urwidgets python3-tomlkit python3-Pillow python3-term-image" hostmakedepends="python3-setuptools python3-wheel python3-setuptools_scm ${_depends}" depends="${_depends}" checkdepends="${depends} python3-pytest-xdist" short_desc="Mastodon CLI client" maintainer="Jon Levin " license="GPL-3.0-or-later" homepage="https://toot.bezdomni.net" changelog="https://raw.githubusercontent.com/ihabunek/toot/master/CHANGELOG.md" distfiles="${PYPI_SITE}/t/toot/toot-${version}.tar.gz" checksum=6aa84c4b8df6e2214a3e735142bf5bd57b3b10aa08e35579425c5dbe3bc25ae7 post_install() { for shell in bash zsh fish; do _TOOT_COMPLETE=${shell}_source PYTHONPATH="${DESTDIR}/${py3_sitelib}" \ $DESTDIR/usr/bin/toot > completion.$shell vcompletion completion.$shell $shell done }