summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/youtube-dl/setup.patch6
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild10
-rw-r--r--network/youtube-dl/youtube-dl.info6
3 files changed, 9 insertions, 13 deletions
diff --git a/network/youtube-dl/setup.patch b/network/youtube-dl/setup.patch
index 3d35bf5abb..57f4fc5031 100644
--- a/network/youtube-dl/setup.patch
+++ b/network/youtube-dl/setup.patch
@@ -1,5 +1,5 @@
---- youtube-dl-2018.06.25/setup.py.orig 2018-06-30 08:56:35.007072725 +0200
-+++ youtube-dl-2018.06.25/setup.py 2018-06-30 08:56:54.365073186 +0200
+--- youtube-dl-2021.04.26/setup.py.orig 2021-05-02 08:56:35.007072725 +0200
++++ youtube-dl-2021.04.26/setup.py 2021-05-02 08:56:54.365073186 +0200
@@ -59,10 +59,10 @@
params = py2exe_params
else:
@@ -8,7 +8,7 @@
- ('etc/fish/completions', ['youtube-dl.fish']),
- ('share/doc/youtube_dl', ['README.txt']),
- ('share/man/man1', ['youtube-dl.1'])
-+ ('/etc/bash_completion.d', ['youtube-dl.bash-completion']),
++ ('/usr/share/bash-completion/completions', ['youtube-dl.bash-completion']),
+ ('/etc/fish/completions', ['youtube-dl.fish']),
+ ('doc/youtube_dl', ['README.txt']),
+ ('man/man1', ['youtube-dl.1'])
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index 161b33d8ec..45581b2947 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2021.02.22}
+VERSION=${VERSION:-2021.04.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +74,8 @@ find -L . \
# setup.py patch
patch -p1 < $CWD/setup.patch
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info
index fbfcde50a9..d9de717e97 100644
--- a/network/youtube-dl/youtube-dl.info
+++ b/network/youtube-dl/youtube-dl.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-dl"
-VERSION="2021.02.22"
+VERSION="2021.04.26"
HOMEPAGE="http://www.yt-dl.org/"
-DOWNLOAD="https://yt-dl.org/downloads/2021.02.22/youtube-dl-2021.02.22.tar.gz"
-MD5SUM="a9136b338055166a233a753e149095f6"
+DOWNLOAD="https://www.yt-dl.org/downloads/latest/youtube-dl-2021.04.26.tar.gz"
+MD5SUM="dfc60fbac7e59130c7791e2ebc90801d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""