diff options
Diffstat (limited to 'multimedia/beets/beets.SlackBuild')
-rw-r--r-- | multimedia/beets/beets.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild index fc701e5293..eb5b0a7428 100644 --- a/multimedia/beets/beets.SlackBuild +++ b/multimedia/beets/beets.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for beets -# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -25,11 +25,15 @@ # 20221016 46and2: Added bash/zsh completions. # 20221103 46and2: Rebuilt for python3-mediafile and python3-confuse. +# 20250412 46and2: Stick with github tagged source for 2.2.0 as there +# are issues with pypi sdist. The extra and docs dirs are not +# included. +# 20250508 46and2: Back to pypi tarball as 2.3.0 has the fixes for the above. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=beets -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,21 +73,14 @@ find -L . \ python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl -# temp build man pages as missing from source with 2.1.0 -# switch to github from pypi for now as well -# https://github.com/beetbox/beets/issues/5513 -cd docs -make man -cd .. - mkdir -p $PKG/usr/share/bash-completion/completions install -m644 $CWD/beet $PKG/usr/share/bash-completion/completions/ mkdir -p $PKG/usr/share/zsh/site-functions install -m644 extra/_beet $PKG/usr/share/zsh/site-functions/ -install -D -m644 docs/_build/man/beet.1 $PKG/usr/man/man1/beet.1 -install -D -m644 docs/_build/man/beetsconfig.5 $PKG/usr/man/man5/beetsconfig.5 +install -D -m644 man/beet.1 $PKG/usr/man/man1/beet.1 +install -D -m644 man/beetsconfig.5 $PKG/usr/man/man5/beetsconfig.5 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |