summaryrefslogtreecommitdiffstats
path: root/network/yle-dl
diff options
context:
space:
mode:
author Markus Rinne <markus.ka.rinne@gmail.com>2022-09-01 15:55:14 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-17 09:00:14 +0700
commite8afe3cc6b10912613ca2814db58b51e55ae0025 (patch)
tree78d693cef0b836102f012131e52f0190ac545208 /network/yle-dl
parentca20c501ff2158d55907d7e230ea8de1447bc8ca (diff)
downloadslackbuilds-e8afe3cc6b10912613ca2814db58b51e55ae0025.tar.gz
slackbuilds-e8afe3cc6b10912613ca2814db58b51e55ae0025.tar.xz
network/yle-dl: Updated for version 20220830.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yle-dl')
-rw-r--r--network/yle-dl/yle-dl.SlackBuild6
-rw-r--r--network/yle-dl/yle-dl.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/network/yle-dl/yle-dl.SlackBuild b/network/yle-dl/yle-dl.SlackBuild
index b554afb35c..8cace37a7f 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
diff --git a/network/yle-dl/yle-dl.info b/network/yle-dl/yle-dl.info
index 1e612e19e5..76738a028b 100644
--- a/network/yle-dl/yle-dl.info
+++ b/network/yle-dl/yle-dl.info
@@ -1,10 +1,10 @@
PRGNAM="yle-dl"
-VERSION="20220704"
+VERSION="20220830"
HOMEPAGE="https://aajanki.github.io/yle-dl/"
-DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20220704/yle-dl-20220704.tar.gz"
-MD5SUM="c44a3152e7460e2ec10e6c75b1990775"
+DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20220830/yle-dl-20220830.tar.gz"
+MD5SUM="f006aae173c80ebd885e48fb998aeed0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml python3-attrs python3-configargparse"
+REQUIRES="lxml python3-attrs python3-build python3-configargparse python3-flit_core"
MAINTAINER="Markus Rinne"
EMAIL="markus.ka.rinne@gmail.com"