From 0655b2024719a4400bc6dacc46d8cbf4156647b9 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 8 May 2025 09:13:35 -0400 Subject: [PATCH] beets: update to 2.3.0. Closes: #55278 [via git-merge-pr] --- srcpkgs/beets/template | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/srcpkgs/beets/template b/srcpkgs/beets/template index 2010f75f1f7..00372278f49 100644 --- a/srcpkgs/beets/template +++ b/srcpkgs/beets/template @@ -1,14 +1,15 @@ # Template file for 'beets' pkgname=beets -version=2.2.0 +version=2.3.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" +depends="python3-lap python3-musicbrainzngs python3-Unidecode python3-yaml + python3-jellyfish python3-mediafile python3-confuse python3-platformdirs + python3-numpy" 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 @@ -19,16 +20,17 @@ maintainer="Joel Beckmeyer " 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" +distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="b24fc7949af502601774f907ebed1998f9adf411ec8df1123a1fc3f334b63102" + +pre_check() { + # https://github.com/beetbox/beets/issues/5770 + touch test/rsrc/full.mp3 +} 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 + vcompletion extra/_beet zsh beet }