python/python3-kodipydent: Fix pip check warning
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fe997dc4b3
commit
4d83bf1020
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue