From 13f9ad0588a6f988c564923dc65a93927da9d951 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 22 Nov 2024 09:18:28 -0500 Subject: [PATCH] beets: update to 2.2.0. --- srcpkgs/beets/template | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/srcpkgs/beets/template b/srcpkgs/beets/template index f45ef6487d9..e0eb91a2469 100644 --- a/srcpkgs/beets/template +++ b/srcpkgs/beets/template @@ -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 " 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 }