void-packages/srcpkgs/beets/template
classabbyamp a4a619bc98 srcpkgs: reënable tests in CI where possible
mostly failures due to root-ness
2025-03-02 00:41:44 -05:00

34 lines
1.5 KiB
Bash

# Template file for 'beets'
pkgname=beets
version=2.2.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-munkres python3-musicbrainzngs python3-Unidecode python3-yaml
python3-jellyfish python3-mediafile python3-confuse python3-platformdirs"
checkdepends="$depends python3-BeautifulSoup4 python3-Flask python3-mock
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-typing_extensions
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
https://raw.githubusercontent.com/beetbox/beets/refs/tags/v${version}/extra/_beet"
checksum="cc0a277f530844575e3374021f316da16bf78ed514963c1ab1597168a8d4c715
74675a1171809b4190bc1d734931a1ba12cba13083521b50a008cdaaa738736e"
skip_extraction="_beet"
post_install() {
vman man/beet.1
vman man/beetsconfig.5
vlicense LICENSE
# https://github.com/beetbox/beets/issues/5531
vcompletion $XBPS_SRCDISTDIR/$pkgname-$version/_beet zsh beet
}