diff options
Diffstat (limited to 'multimedia/beets/beets.SlackBuild')
-rw-r--r-- | multimedia/beets/beets.SlackBuild | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild index b1146c27e5..eb5b0a7428 100644 --- a/multimedia/beets/beets.SlackBuild +++ b/multimedia/beets/beets.SlackBuild @@ -28,10 +28,12 @@ # 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.2.0} +VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,14 +70,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# 2.2.0 github tagged source still builds as 2.1.0 so let's fix that -sed -i 's/2\.1\.0/2.2.0/' pyproject.toml - -# 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 -make -C docs man - python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl @@ -85,10 +79,10 @@ 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 {} \+ +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 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -96,8 +90,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.rst LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION -# remove _build and _static dirs we just copied above -rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/_{build,static} cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |