summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-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"