# Template file for 'beets'
pkgname=beets
version=1.6.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-munkres python3-musicbrainzngs python3-Unidecode python3-yaml
 python3-jellyfish python3-mediafile python3-confuse"
checkdepends="$depends python3-BeautifulSoup4 python3-coverage python3-Flask
 python3-mock python3-pylast python3-pytest python3-mpd2 python3-xdg
 python3-responses python3-requests-oauthlib python3-reflink python3-rarfile
 python3-discogs_client python3-py7zr"
short_desc="Media library management system for obsessive-compulsive music geeks"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://beets.io"
changelog="https://raw.githubusercontent.com/beetbox/beets/master/docs/changelog.rst"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=aa6fb734e44afc9b039c0abd0edd4c7706df00d4eb4aae7afa9ff4b6bb15525d
make_check=ci-skip # tests don't work as root

post_install() {
	vman man/beet.1
	vman man/beetsconfig.5
	vlicense LICENSE
	vcompletion extra/_beet zsh beet
}