python/python3-kodipydent: Fix pip check warning

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jeremy Hansen 2024-01-16 17:13:17 -08:00 committed by Willy Sudiarto Raharjo
parent fe997dc4b3
commit 4d83bf1020
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for python3-kodipydent
# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com
# Copyright 2023-2024 Jeremy Hansen jebrhansen+SBo@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-kodipydent
VERSION=${VERSION:-0.3.1}
SRCNAM=${SRCNAM:-kodipydent}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -76,6 +76,10 @@ 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 {} \;
# Fix pip check warning
# Update dependency name to newer alternate and remove version requirement
sed -i 's/beekeeper.*/beekeeper-alt/' requirements.txt
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \