development/mutagen: Updated for version 1.47.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2023-09-07 14:45:09 -06:00 committed by Willy Sudiarto Raharjo
parent f282330ea9
commit dcef4b4980
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for mutagen.
# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2016 Dugan Chen (thedoogster [at] gmail [dot] [com])
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mutagen
SRCNAM=$(echo ${PRGNAM}-release)
VERSION=${VERSION:-1.46.0}
VERSION=${VERSION:-1.47.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -44,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -65,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@ -81,9 +81,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl

View file

@ -1,8 +1,8 @@
PRGNAM="mutagen"
VERSION="1.46.0"
VERSION="1.47.0"
HOMEPAGE="https://github.com/quodlibet/mutagen"
DOWNLOAD="https://github.com/quodlibet/mutagen/archive/release-1.46.0/mutagen-release-1.46.0.tar.gz"
MD5SUM="3d362789825eba37068993fcb7108708"
DOWNLOAD="https://github.com/quodlibet/mutagen/archive/release-1.47.0/mutagen-release-1.47.0.tar.gz"
MD5SUM="b4a74aed4edce5414e147b86d5e517e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-wheel"