network/Electrum-DASH: Use python3/qt5.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2022-02-27 16:57:20 +00:00 committed by Robby Workman
parent 322e00a252
commit 78042f2df7

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Electrum-DASH
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -79,9 +79,9 @@ 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 {} \;
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
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