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
1 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for python3-kodipydent # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-kodipydent PRGNAM=python3-kodipydent
VERSION=${VERSION:-0.3.1} VERSION=${VERSION:-0.3.1}
SRCNAM=${SRCNAM:-kodipydent} SRCNAM=${SRCNAM:-kodipydent}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -76,6 +76,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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 {} \;
# 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 python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \