aboutsummaryrefslogtreecommitdiff
path: root/network/yle-dl
diff options
context:
space:
mode:
authorMarkus Rinne <markus.ka.rinne@gmail.com>2021-02-17 17:50:44 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-19 23:29:06 +0700
commita3f717f64b76e0fd673c7f652b40aa8394b90edf (patch)
treefa58b9d26ee3bd26b4ff4401a2c1a248d590d019 /network/yle-dl
parent127a1086c0dde4deb00c52189704cc847209ba77 (diff)
network/yle-dl: Updated for version 20210212.
yle-dl is changed to use Python 3 instead of Python 2 because the new version only supports Python 3. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yle-dl')
-rw-r--r--network/yle-dl/README3
-rw-r--r--network/yle-dl/yle-dl.SlackBuild4
-rw-r--r--network/yle-dl/yle-dl.info8
3 files changed, 9 insertions, 6 deletions
diff --git a/network/yle-dl/README b/network/yle-dl/README
index 170d0a6712481..9e7a4d78cce4c 100644
--- a/network/yle-dl/README
+++ b/network/yle-dl/README
@@ -1,2 +1,5 @@
yle-dl is a tool for downloading media files from the video streaming
services of the Finnish national broadcasting company Yle.
+
+Dependencies python-configargparse and python-requests need to be built with
+Python 3 support.
diff --git a/network/yle-dl/yle-dl.SlackBuild b/network/yle-dl/yle-dl.SlackBuild
index a896586185aaa..91299e4d50d56 100644
--- a/network/yle-dl/yle-dl.SlackBuild
+++ b/network/yle-dl/yle-dl.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yle-dl
-VERSION=${VERSION:-20201022}
+VERSION=${VERSION:-20210212}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,7 @@ 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 {} \;
-python 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 \
| 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 ecf2c0fec6708..4445a4ab55f1a 100644
--- a/network/yle-dl/yle-dl.info
+++ b/network/yle-dl/yle-dl.info
@@ -1,10 +1,10 @@
PRGNAM="yle-dl"
-VERSION="20201022"
+VERSION="20210212"
HOMEPAGE="https://aajanki.github.io/yle-dl/"
-DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20201022/yle-dl-20201022.tar.gz"
-MD5SUM="580855d3dac77e7dfe8a8f25b0c4c033"
+DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20210212/yle-dl-20210212.tar.gz"
+MD5SUM="afe636dc51baa133fa79c17c231c99e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="attrs ffmpeg lxml python-configargparse python-future python-requests"
+REQUIRES="ffmpeg lxml python3 python3-attrs python-configargparse python-requests"
MAINTAINER="Markus Rinne"
EMAIL="markus.ka.rinne@gmail.com"