libraries/pylast: Updated for version 5.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2022-11-04 00:26:36 +00:00 committed by Willy Sudiarto Raharjo
parent 545118a60b
commit 7a41961442
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View File

@ -23,10 +23,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20221029 46and2: Updated version, build process changed.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pylast
VERSION=${VERSION:-5.0.0}
VERSION=${VERSION:-5.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,7 +82,8 @@ 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 {} \;
python3 setup.py install --root=$PKG
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,10 +1,10 @@
PRGNAM="pylast"
VERSION="5.0.0"
VERSION="5.1.0"
HOMEPAGE="https://github.com/pylast/pylast"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.0.0.tar.gz"
MD5SUM="0357d928765d1fbc95675038f7ea8c42"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.1.0.tar.gz"
MD5SUM="4682873efce8ca68e93d5d39d91f5681"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-httpx"
REQUIRES="python3-httpx python3-hatch_vcs"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"