# Template file for 'beets'
pkgname=beets
version=2.11.0
revision=1
build_style=python3-pep517
# tests requires unpackaged librosa, pytest-flask
make_check_args="--ignore=test/plugins/test_autobpm.py
 --ignore=test/plugins/test_aura.py"
hostmakedepends="python3-poetry-core python3-Sphinx"
depends="python3-lap python3-Unidecode python3-yaml python3-jellyfish
 python3-mediafile python3-confuse python3-platformdirs python3-numpy
 python3-typing_extensions python3-packaging python3-requests-ratelimiter"
checkdepends="$depends python3-BeautifulSoup4 python3-Flask python3-pylast
 python3-pytest python3-pytest-cov python3-mpd2 python3-xdg python3-responses
 python3-requests-oauthlib python3-reflink python3-rarfile
 python3-discogs_client python3-py7zr python3-dateutil python3-gobject
 gstreamer1 ffmpeg"
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=f87fda8b3a723bee59c51a64ba30e94ab35d2658b3cb58c595afa29e75ed8d5f

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