beets: update to 2.2.0.

This commit is contained in:
Joel Beckmeyer 2024-11-22 09:18:28 -05:00 committed by Duncaen
parent ac16013eb7
commit 13f9ad0588
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 17 additions and 9 deletions

View File

@ -1,27 +1,35 @@
# Template file for 'beets'
pkgname=beets
version=2.0.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
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-typing_extensions"
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-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"
checksum=3b1172b5bc3729e33a6ea4689f7d0236682bf828c67196b6a260f0389cb1f8cf
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"
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
# https://github.com/beetbox/beets/issues/5531
vcompletion $XBPS_SRCDISTDIR/$pkgname-$version/_beet zsh beet
}