aboutsummaryrefslogtreecommitdiff
path: root/network/yle-dl/yle-dl.SlackBuild
diff options
context:
space:
mode:
authorMarkus Rinne <markus.ka.rinne@gmail.com>2022-09-01 15:55:14 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-17 09:00:14 +0700
commite8afe3cc6b10912613ca2814db58b51e55ae0025 (patch)
tree78d693cef0b836102f012131e52f0190ac545208 /network/yle-dl/yle-dl.SlackBuild
parentca20c501ff2158d55907d7e230ea8de1447bc8ca (diff)
network/yle-dl: Updated for version 20220830.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yle-dl/yle-dl.SlackBuild')
-rw-r--r--network/yle-dl/yle-dl.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/yle-dl/yle-dl.SlackBuild b/network/yle-dl/yle-dl.SlackBuild
index b554afb35c646..8cace37a7fcff 100644
--- a/network/yle-dl/yle-dl.SlackBuild
+++ b/network/yle-dl/yle-dl.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yle-dl
-VERSION=${VERSION:-20220704}
+VERSION=${VERSION:-20220830}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +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 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+
+python3 -m installer --destdir "$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