diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2023-09-04 06:13:40 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-09 10:14:19 +0700 |
commit | 6aaf9bff99a1faefe6669545598489ec3d424014 (patch) | |
tree | d2276a8ff975954a7e6d4da327a3173b6353851c /libraries | |
parent | 827640606a5c26b9a4bda4db26b5f75536ad192d (diff) |
libraries/pylast: Updated for version 5.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/pylast/pylast.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/pylast/pylast.info | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/libraries/pylast/pylast.SlackBuild b/libraries/pylast/pylast.SlackBuild index 0654eee836800..3f3f1c001ebe0 100644 --- a/libraries/pylast/pylast.SlackBuild +++ b/libraries/pylast/pylast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pylast -# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pylast -VERSION=${VERSION:-5.1.0} +VERSION=${VERSION:-5.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,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 @@ -62,6 +59,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="" @@ -78,9 +78,9 @@ cd $PRGNAM-$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 diff --git a/libraries/pylast/pylast.info b/libraries/pylast/pylast.info index 0dc5f32d0f668..2b7e6e8abb159 100644 --- a/libraries/pylast/pylast.info +++ b/libraries/pylast/pylast.info @@ -1,8 +1,8 @@ PRGNAM="pylast" -VERSION="5.1.0" +VERSION="5.2.0" HOMEPAGE="https://github.com/pylast/pylast" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.1.0.tar.gz" -MD5SUM="4682873efce8ca68e93d5d39d91f5681" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.2.0.tar.gz" +MD5SUM="3c4675ffe7beef16269ac808e022ace1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-httpx python3-hatch_vcs" |